PDA

View Full Version : Inline frames url problem @ Static Slide Menu 6.5



legends
11-13-2005, 04:19 AM
Good Evening; Would anyone know how to insert inline target url's into the Static Slide Menu 6.5? An example of the url i need to use is:

design.htm" target=iframe>

but the menu is not accepting it. The ssmitems.js script is posted below:

<!--

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
*/
YOffset=230; // no quotes!!
XOffset=0;
staticYOffset=30; // no quotes!!
slideSpeed=50 // no quotes!!
waitTime=250; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="#000000";
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=180; // Must be a multiple of 10! no quotes!!
menuCols=2;
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="#000000";
hdrBGColor="#664433";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="Verdana";
linkFontSize="2";
linkTarget="_top";
linkBGColor="#775544";
linkOverBGColor="#DDD1D1";
linkAlign="Left";
barBGColor="#664433";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="#000000";
barVAlign="center";
barWidth=20; // no quotes!!
barText="M E N U"; // <IMG> tag supported. Put exact html for an image to show.

///////////////////////////

// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
ssmItems[0]=["S E R V I C E S"] //create header
ssmItems[1]=["* Introduction", "http://introduction.htm",""]
ssmItems[2]=["* Web Design", "http://www.dynamicdrive.com/new.htm",""]
ssmItems[3]=["* Web Development", "http://www.dynamicdrive.com/hot.htm", ""]
ssmItems[4]=["* Marketing & Promotion", "http://www.codingforums.com", "_new"]
ssmItems[5]=["PORTFOLIO", "http://www.dynamicdrive.com/submitscript.htm", ""]
ssmItems[6]=["PRICES", "http://www.dynamicdrive.com/link.htm", ""]
ssmItems[7]=["FAQ", "http://www.dynamicdrive.com/faqs.htm", ""]
ssmItems[8]=["LINKS", "http://www.dynamicdrive.com/contact.htm", ""]
ssmItems[9]=["HOME", "http://www.dynamicdrive.com/contact.htm", ""]
buildMenu();

//-->

:o

jscheuer1
11-13-2005, 06:19 AM
ssmItems[2]=["* Web Design", "design.htm","iframe_name"]

Where iframe_name is the name of your iframe.

legends
11-13-2005, 03:14 PM
hi jscheuer1; thx for the reply - i tried the script but it still loads a new page and doesn't except the iframe target command :(

legends
11-13-2005, 03:26 PM
Sorry about that with a little research here i did get it to work - the problem was with the iframe name script i had :rolleyes: thx for the help - appreciate it ;)