madpeter
12-28-2004, 02:18 AM
how do i get the pop it menu to target a iframe?
ddadmin
12-28-2004, 11:02 PM
Assuming your iframe has an ID of "myiframe", try altering one of the menu items so it reads:
linkset[0]='<div class="menuitems"><a href="javascript:document.getElementById('myiframe').src='http://www.dynamicdrive.com'">Dynamic Drive</a></div>'
In other words, the code:
javascript:document.getElementById('myiframe').src='http://www.dynamicdrive.com'
should be used as the href portion of the menu link.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.