Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

JS Drop Down Failing on Certain asp Page

ddlevels menu failing on only one page of site



3:42 pm on Jul 26, 2011 (gmt 0)

5+ Year Member

During the final tweaking and testing of the restyling of my employers website, I have found that for some reason, on one page of the site, two JS drop down menus are having a rather odd failure. Well, actually the menus are still working, but upon mouseover of the menu, the rest of the page shows a (well two) "page cannot be found" errors. This problem is only happening on this particular page, and the page goes back to normal on mouse-out of the menu. I am at a total loss as I am not the original coder of the website and I have no knowledge of the scripting used. If someone could please take a look at the page and tell me what the problem is, it would be greatly appreciated.

I had planned on placing the code in the post, but I am given an error that the post is too long, so here is the URL.

[stonewallcable.com ]


4:09 pm on Jul 26, 2011 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

Line 119 of ddlevelsmenu.js is setting the height of an iframe, which has a src of blank.htm, which apparently doesn't exist. This is the where the problem occurs. I would work back from there to determine why it's showing this iframe.


5:45 pm on Jul 26, 2011 (gmt 0)

5+ Year Member

Thanks so much for finding that for me!

I found the reference to the iframe, aparently when on a secure page you need to alter the code a bit (per a note left in the code). I tried what the note instructed to do, but it did not work. However, I noticed that the reason for the iframe was to prevent the menu from being hidden by certain objects. Being as I didnt have to worry about that in the first place, I just changed the enableshim for the iframe to false and that fixed the problem.

Thanks again for the help.