Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull Down Menu in Frames Problem

Status
Not open for further replies.

PuffyWulf7

Technical User
Apr 19, 2001
2
US
I installed a Pull Down Menu for my site. The pull down menu is on the top frame while the bottom is the one that the link goes to. It works fine when the frames is by itself...


However, when the frames is in another frames

<- click Fanart link

Then there's an error:

JavaScript Error:
file:/Hard%20Disk/Desktop%20Folder/SFX64.com/Fanart/frameslist.html, line 29:

top.arts has no properties.


Is it impossible to have a pull down menu for frames inside a frame? Does anyone have any suggestions on what I should do?
 
Nevermind. I found out the problem...

For other people who might have the same problem

instead of using...

top.[frame name].document.location.href=goURL;

you have to use this:

parent.[frame name].location.href=goURL

the &quot;document&quot; one only works if the page is by itself. The &quot;parent&quot; one can be used with a frame within a frame. :) I hope that helps everyone out here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top