Welcome to WebmasterWorld Guest from 54.156.67.122

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)

New User

5+ Year Member

joined:Apr 20, 2009
posts: 25
votes: 0


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 July 26, 2011 (gmt 0)

Senior Member from US 

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

joined:Oct 17, 2005
posts:5007
votes: 21


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 July 26, 2011 (gmt 0)

New User

5+ Year Member

joined:Apr 20, 2009
posts: 25
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members