Jump to content
xisto Community

electriic ink

Members
  • Content Count

    1,319
  • Joined

  • Last visited

Everything posted by electriic ink

  1. Thanks electron but after some researching it appears that innerHTML is an IE thing. Is there any function which cross-browser compatible? Thanks....
  2. Say I have a link and some text. How would I make it so that when I clicked on the link, that text changed?
  3. Thank you serverph Lol, I tried <div align="center"> <body align="center"> and all sorts of stuff with css There were a few errors after I added the doctypes and stuff in but I don't think they were to do with that. They all looked to be careless mistakes. Strangely the text only centres itself in IE however I think the centering of the news items look quite nice
  4. I'm developing a new layout and so far, in my opinion, everything's going fine except for one thing. That's the way in which the whole layout is aligned. In IE6, the entire thing aligns beautifully in the centre whereas in firefox, it aligns leftwards. To get around this so far I'm using this java script: <script type="text/javascript"> if (screen.width > 880 && navigator.appName !== "Microsoft Internet Explorer") { window.resizeTo(880,window.screen.availHeight); } </script> As you can imagine, people won't be too happy about having their browser resized on every pageload. Here's the html code so far: <html> <head> <style type="text/css"> a.longnav{ color: #000000; } a.longnav:hover{ background-color: #FFFFFF; color: red; } a.navobject { color: #000000; } a.navobject:hover { color: red; } body { text-align: center; margin-top: 0px; margin-bottom: 0px; vertical-align: center; } div { text-align: center; } div.long_nav:hover { background-color: #FFFFFF; } h2.content { font-family: "Visitor TT2 BRK", Arial; text-align: center; text-transform: uppercase; } img { border : 0px; } img.header { margin-bottom: 0px; top: 0px; } p.content { color: #000000; font-face: Verdana; font-size: 11pt; height: 500px; } table.bulk { border: 1px solid rgb(0,0,0); } table.nav_object { background-image: url(images/5/nav.png); border: 1px border-color: #000000; text-align: center; width: 800px; } td.content { vertical-align: top; width: 597px; } td.long_nav { background-color: #EEEEEE; color: blue; font-family: Arial; font-size: 10pt; text-align: center; vertical-align: top; width: 94px; } td.nav_object { font-family: Arial; font-size: 10pt; margin-top: 0px; text-align:center; width: 100px; } </style> <script type="text/javascript"> if (screen.width > 880 && navigator.appName !== "Microsoft Internet Explorer") { window.resizeTo(880,window.screen.availHeight); } </script> </head> <body align="center"> <div style="background-color: black; width: 801px; text-align: center" align="center"> <a href="/"> <img class="header" src="images/5/header.png" alt=""> </a> <table class="nav_object" align="center"> <tr> <td class="nav_object"> <a class="navobject" href="#"> HOME </a> </td> <td class="nav_object" > <a class="navobject" href="#"> GAMES </a> </td> <td class="nav_object" > <a class="navobject" href="#"> TOONS </a> </td> <td class="nav_object"> <a class="navobject" href="#"> QUIZZES </a> </td> <td class="nav_object"> <a class="navobject" href="#"> PROXIES </a> </td> <td class="nav_object" > <a class="navobject" href="#"> VOTE</a> </td> <td class="nav_object" > <a class="navobject" href="#"> AFFILIATES</a> </td> <td class="nav_object"> <a class="navobject" href="#"> CONTACT</a> </td> </tr> </table> </div> <table class="bulk"> <tr> <td class="long_nav"> <b> Navigation </b> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> <div width="100px" class="long_nav"> <a href="index.html" class="longnav"> Home </a> <br> </div> </td> <td class="content"> <h2 class="content"> CONTENT </h2> <p class="content"> Lorem ipsum solar dot emit </p> </td> <td class="long_nav"> <b> Extras </b> </td> </tr> </table> </body></html> Can you help?
  5. I'm hardly uber-king in graphics programs but after a few minutes playing around in paint shop pro I came up with this: So if you're a professional in photoshop, then that may take you ~10 minutes to perfect? The only time I can truly be sure of whether that picture has been photoshopped is when SONY admit it on their website. Don't forget SONY have been making controllers for decades. Surely they wouldn't sack the ace speller they hired before, after he proved his skill that often? edit: Actually, it is Photoshop. Open up the image in notepad and the first line is: Good for a laugh tho * saves to trick people on msn *
  6. As before, when your weren't in suspension, you will be charged one credit a day until you reach -30 credits, at which time your account will be terminated and unrecoverable (unless you made back-ups on your HDD).
  7. Whoa, whoa, whoa, whoa 500 times! Hmm are you sure you don't mean five times? Presumeably, this image depicts actual statistics regarding page load times with cFos and just on a normal modem operating under XP So the stats for greenpeace.org are as follows: cFos = 5.5s XP = 19.6s And for amazon.com: cFos = 8.3s XP = 39.2s Now for the maths: ????[/tab] 19.6/5.5 = 3.6 [tab] 39.2/8.3 = 4.7 3.6 and 4.7 times faster is not quite 500 more like 5. In fact the first one doesn't look like 5 at all. Oh well, there go my dreams of a 28MB/s modem
  8. If you are prepared to do it, then I see absolutely no reason why you shouldn't. If you need any help feel free to contact a staff member....
  9. It would be : <?php $fp = fopen ("test.txt", "a"); fputs ($fp, "ok \nnewline");?> So yeah, basically, you just add \n but the one things I've found is that the \n must be in " NOT '
  10. ** IN THIS POST I AM PLAYING DEVIL'S ADVOCATE SO THESE ARE NOT NECCESSARILY MY VIEWPOINTS AND THOUGHTS AND FEELINGS ** The referral idea is in theory good but proxies would be an issue. Xman registers multiple accounts all under different IPs with the help of a proxy and the PC at school. He does this 10 times [5*10 = 50] and earns a nice, easy bonus. This would be even easier to exploit than the competition unless, like the transfer system, you need to acquire 30 credits before you can claim your bonus. And as for the competition: Who? - Who would run it? Only OpaQue has complete access over the credit system so he would have to take some part in the running of it. We all know how busy he is. If a member were to run it, they wouldn't be happy sacrificing their valuable credits each week. If we made members pay a fee for the competition, then they'll soon realise it's somewhat like a lottery, give 10 and get back 1. Proxies - Although your average Dow Jones may not know what a proxy is, some people do and they're everywhere on the net and easy to use. All Hackzor would have to do is register a "control" account with which he'd set up a hosting account. Then, just before every competition he'd register a new account under a proxy, become really "helpful" under he wins his 10 credits, transfer them over to the control. Etcetera, etcetera. If members were running it, Hackzor wouldn't even need to worry about the proxy because members cannot check IPs, so a moderator would need to have some input in the competition. Will It Work? - Are you sure the competition will be succesful in achieving one of the stated aims of increased activity? Members may be really helpful for the first few months but after they've won their prize they may "relax." That looks likely in my opinion. The Novelty Value - When Plenoptic kindly organized the end-of-year competition in 2005, everyone entered because it was novel and new and "wow they've never done this before" kinda thing. Repeating over and over again every week and month makes the entire thing tiresome and dull. Saving it for later makes it more exciting. So OpaQue and another moderator would ideally be required in the running of it and they may not neccessarily be available at the required time. Furthermore, it may become boring if repeated that often The major thing is, however, the abuse of the idea and before you say that people won't abuse the competition, ask older members about the edit button and they'll tell you they will
  11. StarDivision had the original license for the software: http://www.openoffice.org/about/index.html Well the program has a "word", a "powerpoint", an "access", an "excel", a drawing program and an advanced calculator. One of the things I find annoying about it though is that it doesn't have a "publisher", the nearest thing is "draw". Everything you could ever want to know about is available on their website. The program is really good if you like free things or are a low-budget student: http://www.openoffice.org/
  12. To add what other people have said, you must be able to find about an hour or so between now and when you leave. In that time you could pick a random topic say tips for story writing and google it. This website comes up: http://www.write101.com/shortstory.htm If you paraphrase the information from there, even if not all of it you will earn a good few credits if presented well and if there's enough content. Alternatively, I think you can buy credits off OpaQue. I've forgotten what the rates are and if he'll still allow you to do so but it doesn't hurt to ask. If I were to give you credits, then there would be not much point in having the system. It's there to encourage you to make good posting for good hosting.
  13. Thank you. It works now It turns out that the actual name of the form was About so the code About.Show() works.
  14. Thank you for expressing an interest in helping. The code I have used is as follows: Private Sub AboutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutToolStripMenuItem.Click AboutBox1.Show() End Sub Which isn't dissimilar to what you gave me. This is a screenshot of what the screen looks like after I type the code: I can't think want the problem is as an online tutorial told me to do exactly the same thing as you have.
  15. I've seen it used more as a tool teenagers use to deface images of people they hate It sounds quite good for a free program. Might be quite useful for "lesser" graphics. I still prefer Paint Shop Pro, far more features and it's only 85 quid.
  16. I've just finished downloading Visual Basic 2005 Express Edition and I love it. I've improvised upon their beginners tutorial about creating a browser except I want to create an About Box to go with it. I've done the box itself (it's called AboutBox1) I just need the code to display it when you click Help --> About. So far I've got: Private Sub AboutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutToolStripMenuItem.Click ' NEEDS TO GO HERE End Sub I've tried AboutBox1.Show() , Show.AboutBox1() , Show(AboutBox1) and AxCommonDialog1.ShowAbout() Thanks in advance.
  17. Sorry for the late reply. I've just been busy and I've downloaded supercool VB 2005 Express Edition and tweaking with that. I've created a web browser Well I've changed the code a bit. See if this works: if (isset($_POST['submit'])) { $content = $_POST['content']; $fopen = fopen($file, 'w'); $fwrite = fwrite($fopen, $content); if ($fwrite == FALSE) { $error_msg .= ' <b> Error writing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> '; } else { $done .= ' Announcement saved '; } fclose($fopen); } if ($_REQUEST['do'] == 'delete') { $fopen_b = fopen ($file, 'w'); $fwrite_b = fwrite ($fopen_b, ' '); if ($fwrite_b == FALSE) { $error_msg .= ' <b> Error clearing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> '; } else { $done .= ' Announcements cleared. '; } fclose($fopen_; } ?> <form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>"> <span style="font-size _linenums:11'><?php$file = ' ';if (isset($_POST['submit'])) {$content = $_POST['content'];$fopen = fopen($file, 'w');$fwrite = fwrite($fopen, $content);if ($fwrite == FALSE) {$error_msg .= ' <b> Error writing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> ';} else {$done .= ' Announcement saved ';}fclose($fopen);}if ($_REQUEST['do'] == 'delete') {$fopen_b = fopen ($file, 'w');$fwrite_b = fwrite ($fopen_b, ' ');if ($fwrite_b == FALSE) {$error_msg .= ' <b> Error clearing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> ';} else {$done .= ' Announcements cleared. ';}fclose($fopen_;}?><form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>"><span style="font-size: 11pt"> Announcements: </span> <br><textarea style="border-width: 1px; background-color: blue; color: white" name="content"> <?php echo file_get_contents($file); ?> </textarea> <br><input type="submit" value="Change Announcements" name="submit"> <input type="button" onClick="window.location='<?php echo $_SERVER['PHP_SELF'];?>?do=delete';" value="Clear All Announcements"></form><p> <?phpif (isset($error_msg)) {echo ' <span style="color: red"> ERROR: </span> ' . $error_msg . ' <br>';}if (isset($done)) {echo ' <span style="color: green"> ' . $done . ' </span>';}?> If that doesn't then I can't see what it is. It works perfectly when I test it out here: http://forums.xisto.com/no_longer_exists/
  18. How To Install An OpenOffice Dictionary Manually Introduction The Tutorial What's OpenOffice? Introduction Before you all rant at me and tell me that there is a wizard to install dictionaries for you, it can sometimes not work. I know this because on my copy of OpenOffice Writer, it doesn't. This tutorial is very easy to follow and it's for those whose wizard is broking, just like mine or people who like to be difficult and do things the hard way The Tutorial Open the directory in which you installed OpenOffice. For people operating under Windows, this is by default in C:\Program Files\OpenOffice.org %VERSION NUMBER% From there, go to \share\dict\ooo\ [hr=shade] If you have not already downloaded the dictionary files then you should download and unzip them manually from[/hr] http://www.openoffice.org/lingucomponent/download_dictionary.html On that page, look under the heading, List of Dictionaries for Manual Installation [hr=shade].[/hr] Copy the dictionary files into the aforementioned directory, making a mental note of its filename. Open the dictionary.lst file in that directory with a text-editor like notepad and follow the instructions from there. If you cannot see them, here they are in English: Save the file. Either: Save all work. Press Ctrl + Alt + Del and select Task Manager. Click the Processes tab and terminate soffice.bin and soffice.exe. Or: Restart your computer. Upon reopening of OpenOffice, your dictionaries will be installed. What's OpenOffice? OpenOffice is a free 80MB office suite available online for download at openoffice.org.
  19. I can write that for you now Hopefully, it should all work okay: if (isset($_POST['submit'])) { $content = $_POST['content']; $fopen = fopen($file, 'w'); $fwrite = fwrite($fopen, $content); if ($fwrite == FALSE) { $error_msg .= ' <b> Error writing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> '; } else { $done .= ' Announcement saved '; } fclose($fopen); } if ($_REQUEST['do'] == 'delete') { $fopen_b = fopen ($file, 'w'); $fwrite_b = fwrite ($fopen_b, ''); if ($fwrite_b == FALSE) { $error_msg .= ' <b> Error clearing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> '; } else { $done .= ' Announcements cleared. '; } fclose($fopen_; } ?> <form method="post" action="<?php=$_SERVER['PHP_SELF'];?>"> <span style="font-size _linenums:11'><?php $file = ''; if (isset($_POST['submit'])) { $content = $_POST['content']; $fopen = fopen($file, 'w'); $fwrite = fwrite($fopen, $content); if ($fwrite == FALSE) { $error_msg .= ' <b> Error writing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> '; } else { $done .= ' Announcement saved '; } fclose($fopen); } if ($_REQUEST['do'] == 'delete') { $fopen_b = fopen ($file, 'w'); $fwrite_b = fwrite ($fopen_b, ''); if ($fwrite_b == FALSE) { $error_msg .= ' <b> Error clearing file. Check that both the file and its directory permissions are set to <i>0777</i> or <i>777</i> </b> '; } else { $done .= ' Announcements cleared. '; } fclose($fopen_; } ?><form method="post" action="<?php=$_SERVER['PHP_SELF'];?>"> <span style="font-size: 11pt"> Announcements: </span> <textarea style="border: 1px" name="content"> <?php=file_get_contents($file); ?> </textarea> <input type="submit" value="Change Announcements" name="submit"> <input type="button" onClick="window.location='<?php=$_SERVER['PHP_SELF'];?>?do=delete';"></form> <p> <?php if (isset($error_msg)) { echo ' <span style="color: red"> ERROR: </span> ' . $error_msg . ' <br>'; } if (isset($done)) { echo ' <span style="color: green"> ' . $done . ' </span>'; } ?> There are probably some errors there somewhere. If you find them, tell me and I'll fix them. You need to: Create a small text file and change its permissions to 0777 Copy the absolute path of the file (ie. /home/you/public_html/dir/dir/file.txt) between the two apostrophes where it says $file = ''; If the script does not work after doing those to things, you should set the directory's permissions to 0777 although that should not be neccessary.
  20. That's actually really small but clever. Kudos to you. You could add an option to save the generated password as a .txt file so you open it in notepad. * Saves To Desktop * If you don't mind me asking, what program did you use to create that application and could you recommend any good tutorials for it?
  21. It may sound like a stupid suggestion, but have you tried asking on their official support thread? http://forums.oscommerce.com/topic/50221-contribution-individual-product-shipping-prices/
  22. Fantastic job. All beginner's and Xisto how-to guides are always greatly appreciated! /~* Pinned /~* Moved To Questions And Queries (source link left in) Thank you
  23. Yay I've got a 60: However, if a skip my concert and help my dumped friend out, I get a 70 and, according to this, may be taken advantage of. Cool test....
  24. Answer To Question 1: The password file, which if I am not mistaken is called .htpasswd has been encrypted using a method of encoding. There is one particular tool online which can do this for you. Just follow these steps and see if it works. Back up your files first. Delete the current contents of the .htpasswd file. Go here and enter your desired username and password into the text boxes under point one. You can ignore steps two and three. Click submit and scroll down to step two. Copy the text in the textbox into your .htpasswd file. Save.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.