Commits

Alexander Nordlund committed ce7bb3c

More trickery.

Comments (0)

Files changed (1)

     <head>
         <title>dwegui hg</title>
     <script type="text/javascript">
-
         function HandleOver(name)
         {
             document.getElementById(name).src="imgs/"+name+"Hot.png";
-            
         }
         function HandleOut(name)
         {
         }
         function setTitle()
         {
-        document.title = document.getElementById("mytitle").innerHTML.substring(this.lastIndexOf("\"));
+	document.title = document.getElementById("mytitle").innerHTML.substring(document.getElementById("mytitle").innerHTML.lastIndexOf("\\")+1);
         }
 
     </script>
     <script src="magicks.js" type="text/javascript"></script>
     </head>
     <body>
-        <p id="mytitle">[filepath]</p>
-        <p onclick="setTitle()">Hello [state] </p>
+        <p id="mytitle" style="display:none;">[filepath]</p>
+        <p onclick="setTitle()">Hello</p>
         <img id="Play" src="imgs/PlayNormal.png">
         <img id="Eject" src="imgs/EjectNormal.png">
     </body>