Link to website
If you look at the drop down menu under Special Ed. Staff, you'll notice a broken image. Everything is correct in the code. I can copy menu_data.js from the webserver and place it in my test website on my local machine and everything will look fine. I want to add more images to the menu bar, but when I tried to yesterday, all the images exept the down arrow on the main bar did not show up. All the images are in *.gif format and are stored in the same folder as menu_data.js.[/url]
images not showing up in submenus
- cw_wd_riot
- Advanced
- Posts: 11
- Joined: Mon Sep 29, 2003 1:33 pm
- Location: Henderson, KY
- cw_wd_riot
- Advanced
- Posts: 11
- Joined: Mon Sep 29, 2003 1:33 pm
- Location: Henderson, KY
I read the install file and copied the HTML code from the install file into the code for my top shared border's code directly after the <body> tag. If I look at just the top shared border's code in IE6.0, the menu looks fine. When I go to the actual homepage of the website, the menu is gone and I have an error.
Line: 16
Char: 1770
Error: Object expected
Code: 0
URL: http://www.henderson.k12.ky.us/instruct ... /index.htm
I remember that I had this error when I first implemented the menu sometime last month, and somewhere on the message board I saw a discussion about js calls, where someone had posted another HTML code for the js calls. I used those and everthing worked good, except for the images in the menu. Now that I've put the HTML code for the js calls that are in the INSTALL.txt file, the menu doesn't work again.
I downloaded the menu again from the website just to make sure everything is new and the same version. Now, I'm on RC18.[/url]
Line: 16
Char: 1770
Error: Object expected
Code: 0
URL: http://www.henderson.k12.ky.us/instruct ... /index.htm
I remember that I had this error when I first implemented the menu sometime last month, and somewhere on the message board I saw a discussion about js calls, where someone had posted another HTML code for the js calls. I used those and everthing worked good, except for the images in the menu. Now that I've put the HTML code for the js calls that are in the INSTALL.txt file, the menu doesn't work again.
I downloaded the menu again from the website just to make sure everything is new and the same version. Now, I'm on RC18.[/url]
Change your menu references to this:
You might also want to add the full path to the above files. Once you start going inside sub directories, the above locations will fail
-- Andy
Code: Select all
<SCRIPT language=JavaScript src="_borders/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=_borders/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=_borders/mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="_borders/menu_data.js" type=text/javascript></SCRIPT>
-- Andy
- cw_wd_riot
- Advanced
- Posts: 11
- Joined: Mon Sep 29, 2003 1:33 pm
- Location: Henderson, KY
Thank you very much for clearing that up for me. I had read about the relative and absolute addressing problems others had, but I wasn't sure where to put the absolute address into the HTML code.
And you're going to love this....
Now that I can see the menu again. The images still aren't showing up...
Do I need to put the path for the images in menu_data.js? I.E. image=http://www.xxx.com/xxx/xxx/image.gif
Jon
And you're going to love this....
Now that I can see the menu again. The images still aren't showing up...
Do I need to put the path for the images in menu_data.js? I.E. image=http://www.xxx.com/xxx/xxx/image.gif
Jon
- cw_wd_riot
- Advanced
- Posts: 11
- Joined: Mon Sep 29, 2003 1:33 pm
- Location: Henderson, KY