Great Script -- A Question
![]() ![]() |
First i want to start off by saying you did a wonderful job on this script. I love how easy and organized it is. One question i have that sort of ties into this script is that i want to change the nav images to others that i have on my server. I can do it with all the others but when i try changing the 'dailies" img in this script it doesn't work. Please write back if you could help - Thanks |
![]() ![]() |
How have you changed the other images? If you already changed the images then you can remove line 107
videoDiv.innerHTML = '<img src="'+dailiesImg+'" height="38" width="64"><ul class="dropdown"></ul>'; or replace the line with: videoDiv.getElementsByTagName('a')[0].removeAttribute('href');
The difference between the 2 is that with removing the line, if you click "Video" it will still go to the NeoVision page. If you've replaced the image to say "Links" or something else then you wouldn't want it to link to that page, that's why you'd replace the line. |
![]() ![]() |
thanks for replying. What im trying to do is change the nav image of "dailies" to this
Basically my script that im trying to make is a cleaner interface. I want to implement your dropdown dailies but i have made my own nav images i would like to use. You can see all of them here http://foxgpt.freehostia.com/neo/ Im certain i would have to edit this line var dailiesImg =
|
![]() ![]() |
There are two lines in the script that can define dailiesImg. If you change the first one to var dailiesImg ="http://foxgpt.freehostia.com/neo/dalies.png";then the var at the beginning should be var menu_color = 'white'; You can change both just to be sure... or remove them and edit the line videoDiv.innerHTML = '<img src="'+dailiesImg+'" height="38" width="64"><ul class="dropdown"></ul>'; to read videoDiv.innerHTML = '<img src="http://foxgpt.freehostia.com/neo/dalies.png" height="38" width="64"><ul class="dropdown"></ul>'; |
![]() ![]() |
Thanks so much, i finally got it working :) |

