Jump to content

Hellusius

Members
  • Posts

    55
  • Joined

  • Last visited

    Never

Everything posted by Hellusius

  1. Hellusius

    select

    not sure if this is this is allowed, but its sure as heck is not work [code]<select name="background" onChange="document.bgcolor.color=value"> <optgroup label="Background Chooser">   <option name="color" value="5577AA">Default</option>   <option name="color" value="7799DD">Lightblue</option>   <option name="color" value="335588">Darkblue</option>   <option name="color" value="5577AA">Black</option> </optgroup> </select>[/code] any suggestions, on how I could do it, or what I did wrong
  2. Thanks for the header, forgot those, btw how can I put a 0 before it if it lower than 10, do I need a make an if/then/else for it or is there a shorter way?
  3. I made a little date script as you can see: [code]<script language="JavaScript"> <!-- script var date=new Date(); var day=date.getday(); var month=date.getMonth()+1; var year=date.getFullYear(); document.write("The Date is:"+Day+" - "+month+" - "+year+"); // script --> </script> [/code] The problem is, that it doesn't show, and I don't see what I did wrong either.
  4. I am still wondering how I can save the background color the visitor picked, is there a way?
  5. also seems you want to be seen alot with all those meta's you used, I think its a bit exagarated don't you think. you don't always have to be on the top of a search machine you know ;)
  6. I think you will need to do that with javascript, can't think of anything that html would do agianst pop ups
  7. Hellusius

    Class issue

    I tried making a class to add for a news table, this is the code [code].newsfacts { background-color=#2299FF h1 { font-size: 8pt; color:#AA5522; align="left"} h2 { font-size: 4pt color:#DD9955; align="center"} }[/code] I did as html <table class"newsfact"><tr><td> <h1>title</h1> <h2>description</h2> </td</tr></table> but it does not work, the background color did not work either, who can help me out here
  8. he can do right mouse click and then save as, thats about the same and you don't need any coding for it
  9. I got it working now with the following code [code]<input type="radio" name="bgcolor" onClick="document.bgColor='5577AA'">Normal</a><br> <input type="radio" name="bgcolor" onClick="document.bgColor='7799DD'">Light</a><br> <input type="radio" name="bgcolor" onClick="document.bgColor='335588'">Dark</a><br>[/code] But now would I like to save it so it keeps having that background through all pages as well, is that a possiblity?
  10. The akward thing is, that it does not change my background of the page  ???
  11. The link in which they gave an example can be found [url=http://"http://www.javascriptkit.com/javatutors/event2.shtml"]here[/url]
  12. I try to modify the background color when the usser clicks on a radiobutton, frankly nothing happens so far. [code] <form><br> <input type="radio" name="bgcolor" onClick="document.bgcolor= class="Normal" checked>Normal</a><br> <input type="radio" name="bgcolor" onClick="document.bgcolor= class="Light">Light</a><br> <input type="radio" name="bgcolor" onClick="document.bgcolor= class="Dark">Dark</a><br> </form> [/code] I put in the little CSS code which looks like this [code] <style type="text/css"> .dark {background-color: #335588}; .Light {background-color: #7799CC}; .Normal {background-color: #5577AA}; </style> [/code] ant suggestion why it doesn't work, cause I have seen it been done before
  13. No one that could possibly help me out here?
  14. any suggestions? *desperate :(
  15. Hellusius

    a:active

    this is where I redirect [code] <html> <head> <title>WarcraftIII test site</title> <link href="Stylesheet.css" rel="stylesheet" type="text/css" /> </head> <meta> <body> --Codes--[/code] and the CSS file looks like this [code]body { font family: arial; background-color:#1111DD; color:#000000; } a:link { color: #1099FF; background-color: transparent } a:visited { color: #2277EE; background-color: transparent } a:hover { color: #FF2200; background-color: transparent } a:active { color: green } #NewsTitle { color:#222266 } #NewsText  { color:#DDAA55 }[/code] Its just odd, cause it works on the rest of the page but not in the header.php (the file in where the redirect is located)
  16. I made a little error that pops up when someone tries to acces a link but it does not seemt to work the script looks like this [code]<!--scripts--!> <script language="JavaScript"> <!-- function tempfunc() { alert("Error, acces denied <br /> "The page is not yet fully done, therefor this page can not be viewed"); } // --> </script> <!--scripts end--!>[/code] and the link is done like this [code]<a href="index.php" onClick="tempfunc()">Altred melee</a>[/code] Suggestions?
  17. It now looks like this btw [code]    <?php $page= array("index.php, underC.php"); if (in_array("index.php", $page, true)) { include ("Newsfact_01"); } elseif (in_array("underC.php", $page, true)) { Include ("underC.php"); } ?>[/code] The only problem I am experiencing, is that none of the pages are loaded in the table am I doign something wrong?
  18. well I don't know on what other way to do it :(
  19. not one bit actually, sorry :o
  20. Hellusius

    a:active

    so any suggestions on what could cause this?
  21. I tried checking a link with a little php script and yes I am quite a noob with php cause I only read a tutorial, but here goes anyway. [code] <?php $page= array("index.php, underC.php"); if ($page=="index.php") include ("Newsfact_01"); elseif ($page=="underC.php") Include ("underC.php");[/code] I don't actually know if that works, but I want to check like what site is loaded and then load the information from a page in the table
  22. Hellusius

    a:active

    oddd, in the rest of the website it works, but just not the header part in which I directed towards to the stylesheet. very odd
  23. Hellusius

    a:active

    The a:active I used doesn't seem to have effect on the firefox browser I use. Here is the CSS/stylesheet part I made for it [code]a:link { color: #1099FF; background-color: transparent } a:visited { color: #2277EE; background-color: transparent } a:hover { color: #FF2200 ; background-color: transparent } a:active { color: #22FF00 ; background-color: transparent  }[/code] suggestions, or is there anything special I need to do, to have it work on all webbrowsers?
  24. Hellusius

    error

    well I don't actually know how to add a collum, here is the phpadminpage [attachment deleted by admin]
×
×
  • Create New...

Important Information

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.