PDA

View Full Version : omnislide , help with targeting iframe plz



d02an
03-11-2007, 01:44 AM
1) Script Title: omnislide

2) Script URL (on DD): http://users.igl.net/d02an/cr8erz/mainpage/new.html

3) Describe problem: Just want to know where in the 'menuitems' part of the script i can put the correct code to direct the menu to open the links in the iframe of the page its on. :confused:

This for instance is the code :-

menuItems:[
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Main"], //create header
["Blah", "http://www.loisimages.com", "_new"],

my iframe is called 'mainpanel' and theres no cross linking , i know that the '_new' is the target tag but not sure how to change it so that the link for Blah will open the loisimages.com site in the iframe mainpanel ????

one day i might learn all this scripting stuff properly :D
until that time i ask those with much more knowledge than me to help lol

Dan

thetestingsite
03-11-2007, 03:48 AM
Change "_new" to your iframe name (mainpanel). That should work.

Hope this helps.

d02an
03-11-2007, 11:22 PM
ok now i feel like a complete idiot for whats a simple fix , i was sure i had tried that already but obviously not ,thx for just keeping it simple for stupid ole me :)