JavaScript doesnt work Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

    JavaScript doesnt work

    avatar
    LilJur
    Forumember


    Male Posts : 212
    Reputation : 8
    Language : xml, css, html, hex, english and dutch

    JavaScript doesnt work Empty JavaScript doesnt work

    Post by LilJur February 15th 2010, 8:17 pm

    I know that ForuMotion is JavaScript/JQuery supported since i used JavaScript before.
    But since a while it doesnt work anymore.
    Lately i tried installing a tab system... didnt work...
    Now i created some hovers with Javascript, they dont work either...
    Its about my navigation bar...

    This is what i putted in my template:
    Code:

    <script language="JavaScript" type="text/javascript">

    // 'document.images' geeft aan dat browser dit script aan kan

    if (document.images) {

      // de plaatjes pre-laden
      afbeelding01Uit = new Image();
      afbeelding01Uit.src = "http://i959.photobucket.com/albums/ae78/LilJur/Forum/home.png";
      afbeelding01Aan = new Image();
      afbeelding01Aan.src = "http://i959.photobucket.com/albums/ae78/LilJur/Forum/Home-hover.png";
     
     
      afbeelding02Uit = new Image();
      afbeelding02Uit.src = "http://i959.photobucket.com/albums/ae78/LilJur/Forum/UCP.png";
      afbeelding02Aan = new Image();
      afbeelding02Aan.src = "http://i959.photobucket.com/albums/ae78/LilJur/Forum/UCP-hover.png";

      afbeelding03Uit = new Image();
      afbeelding03Uit.src = "http://i959.photobucket.com/albums/ae78/LilJur/Forum/Register.png";
      afbeelding03Aan = new Image();
      afbeelding03Aan.src = "http://i959.photobucket.com/albums/ae78/LilJur/Forum/Registerhover.png";
      }
     


    // de daadwerkelijke functies
    function afbeeldingAan(Naam) {
      if (document.images) {
        tekstAanNaam = eval(Naam + "Aan.src");
        document.images[Naam].src = tekstAanNaam;
      }
    }

    function afbeeldingUit(Naam) {
      if (document.images) {
        tekstUitNaam = eval(Naam + "Uit.src");
        document.images[Naam].src = tekstUitNaam;
      }
    }

    </script>

    Also, i create my templates in dreamweaver, since its easier.
    When i test it in my browser, they do work...

    link to my forum if that would help right here
    Please, don't register, the forum is still under construction as you can see...

    If there is an other way, like CSS, tell me ( i tried some things in CSS but didnt work)