PDA

View Full Version : omni slide question? using iframe ?



ParK
04-06-2007, 06:50 PM
how can i run iframe in omni slide(right menu) ?

thank you ...

script link (http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm)

in these lines..

menu[1] = {
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
fontsize:'100%', // express as percentage with the % sign
linkheight:22 , // linked horizontal cells height
hdingwidth:210 , // heading - non linked horizontal cells width
// Finished configuration. Use default values for all other settings for this particular menu (menu[1]) ///

menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Menu"], //create header
["Dynamic Drive", "http://www.dynamicdrive.com", ""],
["What's New", "http://www.dynamicdrive.com/new.htm",""],
["What's Hot", "http://www.dynamicdrive.com/hot.htm", ""],
["Message Forum", "http://www.dynamicdrive.com/forums", ""],
["Submit Script", "http://www.dynamicdrive.com/submitscript.htm", ""],
["Link to Us", "http://www.dynamicdrive.com/link.htm", ""],

jscheuer1
04-07-2007, 02:39 PM
If you mean "How can I target an iframe using Omni Slide?", then you give your iframe a name and include it in the Omni Slide code as the target:


<iframe name="bob"></iframe>


["Dynamic Drive", "http://www.dynamicdrive.com", "bob"]

or:


menu[1] = {
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
fontsize:'100%', // express as percentage with the % sign
linkheight:22 , // linked horizontal cells height
hdingwidth:210 , // heading - non linked horizontal cells width
linktarget:'bob', // Default link target

to make all links target the 'bob' iframe.

mburt
04-07-2007, 03:08 PM
No, I think the OP wants the menu in an iframe.
All you have to do is place the menu file as "myfile.htm" (or whatever you want) and use an iframe like this:

<iframe src="myfile.htm">

//EDIT: after looking at the script, somehow, I doubt that will work very will. Ignore my post, as we wait for the OP to clarify.