georgeafi
11-21-2003, 11:50 PM
Ok, I have a drop down menu and I want to target it to an Iframe. But I don't know what to do to have the links taget the Iframe. If I edit anything where you put the name of the pages and urls the drop down menu doesn't work. So there must be somewhere at the top that you would put the name of the frame but I can't get it to work. Here is the code for the drop down menu. I just need to know how to make then target the Iframe. Thanks
<-----------------------Drop Down Menu Code----------------->
/***********************************************************************************
* (c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/
var NoOffFirstLineMenus=9; // Number of first level items
var LowBgColor='000000'; // Background color when mouse is not over
var LowSubBgColor='000000'; // Background color when mouse is not over on subs
var HighBgColor='202020'; // Background color when mouse is over
var HighSubBgColor='303030'; // Background color when mouse is over on subs
var FontLowColor='707070'; // Font color when mouse is not over
var FontSubLowColor='707070'; // Font color subs when mouse is not over
var FontHighColor='707070'; // Font color when mouse is over
var FontSubHighColor='707070'; // Font color subs when mouse is over
var BorderColor='303030'; // Border color
var BorderSubColor='303030'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="arial,comic sans ms,technical" // Font family menu items
var FontSize=9; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='center'; // Item text position 'left', 'center' or 'right'
var MenuCentered='center'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=162; // Menu offset x coordinate
var StartLeft=0; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navig'; // Frame where first level appears
var SecLineFrame='space'; // Frame where sub levels appear
var DocTargetFrame='space'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=1; // Keep selected path highligthed
var Arrws=['images/tri.gif',5,10,'',10,5,'images/trileft.gif',5,10]; // Arrow source, width and height
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
// For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg"
Menu1=new Array("Home","home.html","",0,20,83);
Menu1_1=new Array("General","blank.htm","",0,20,100);
Menu2=new Array("News","","",2);
Menu2_1=new Array("Site News","sitenews.html","",0,20,100);
Menu2_1_1=new Array("CNN","http://www.cnn.com","",0,20,150);
Menu2_1_2=new Array("ABCNews","http://www.abcnews.com","",0);
Menu2_1_3=new Array("MSNBC","http://www.msnbc.com","",0);
Menu2_1_4=new Array("CBSNews","http://www.cbsnews.com","",0);
Menu2_1_5=new Array("Canadian News","http://news.bbc.co.uk","",2);
Menu2_1_5_1=new Array("","http://www.vancouversun.com","",0,20,100);
Menu2_1_5_2=new Array("CTV News","http://www.ctvnews.com","",0);
Menu2_2=new Array("AFI News","afinews.html","",0);
Menu2_2_1=new Array("TechWeb","http://www.techweb.com","",0,20,200);
Menu2_2_2=new Array("News.com","http://www.news.com","",0);
Menu2_2_3=new Array("Wired News","http://www.wired.com","",0);
Menu3=new Array("Band","","",6);
Menu3_1=new Array("Bio","bio.html","",0,20,100);
Menu3_2=new Array("Members","","",4);
Menu3_2_1=new Array("Adam Carson","adam.html","",0,20,100);
Menu3_2_2=new Array("Davey Havok","davey.html","",0);
Menu3_2_3=new Array("Hunter Burgan","hunter.html","",0);
Menu3_2_4=new Array("Jade Puget","jade.html","",0);
Menu3_3=new Array("Interviews","interviews.html","",0);
Menu3_4=new Array("History","history.html","",0);
Menu3_5=new Array("FAQ","faq.html","",0);
Menu3_6=new Array("Open Letter","openletter.html","",0);
Menu4=new Array("Music","","",5);
Menu4_1=new Array("Tour","tour.html","",0,20,100);
Menu4_2=new Array("Albums","albums.html","",0);
Menu4_3=new Array("EPs","eps.html","",0); Menu4_4=new Array("Vinyl","vinyl.html","",0);
Menu4_5=new Array("Special","other.html","",0);
Menu5=new Array("Pictures","","",5);
Menu5_1=new Array("STS Era","stsera.html","",0,20,100);
Menu5_2=new Array("AOD Era","aodera.html","",0);
Menu5_3=new Array("Early Pics","earlypics.html","",0);
Menu5_4=new Array("Logos","logos.html","",0);
Menu5_5=new Array("Live Pics","","",4);
Menu5_5_1=new Array("St. Louis","stlouis.html","",0,20,100);
Menu5_5_2=new Array("Las Vegas","lasvegas.html","",0);
Menu5_5_3=new Array("Low Lands","lowlands.html","",0);
Menu5_5_4=new Array("Other Pics","otherpics.html","",0);
Menu6=new Array("Downloads","","",3);
Menu6_1=new Array("Videos","videos.html","",0,20,100);
Menu6_2=new Array("Songs","songs.html","",0,20,100);
Menu6_3=new Array("Wallpapers","wallpapers.html","",0,20,100);
Menu7=new Array("Interact","","",2);
Menu7_1=new Array("Messageboard","forum.html","",0,20,100);
Menu7_2=new Array("Guestbook","http://www.miseriacantare.com/guestbook","",0,20,100);
Menu8=new Array("Extras","","",3);
Menu8_1=new Array("Art","art.html","",0,20,100);
Menu8_2=new Array("Contests","contests.html","",0,20,100);
Menu8_3=new Array("Webmaster","webmaster.html","",0,20,100);
Menu9=new Array("Links","","",2);
Menu9_1=new Array("Links","links.html","",0,20,100);
Menu9_2=new Array("Link to me","linkback.html","",0,20,100);
<-----------------------Drop Down Menu Code----------------->
/***********************************************************************************
* (c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/
var NoOffFirstLineMenus=9; // Number of first level items
var LowBgColor='000000'; // Background color when mouse is not over
var LowSubBgColor='000000'; // Background color when mouse is not over on subs
var HighBgColor='202020'; // Background color when mouse is over
var HighSubBgColor='303030'; // Background color when mouse is over on subs
var FontLowColor='707070'; // Font color when mouse is not over
var FontSubLowColor='707070'; // Font color subs when mouse is not over
var FontHighColor='707070'; // Font color when mouse is over
var FontSubHighColor='707070'; // Font color subs when mouse is over
var BorderColor='303030'; // Border color
var BorderSubColor='303030'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="arial,comic sans ms,technical" // Font family menu items
var FontSize=9; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='center'; // Item text position 'left', 'center' or 'right'
var MenuCentered='center'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=162; // Menu offset x coordinate
var StartLeft=0; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navig'; // Frame where first level appears
var SecLineFrame='space'; // Frame where sub levels appear
var DocTargetFrame='space'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=1; // Keep selected path highligthed
var Arrws=['images/tri.gif',5,10,'',10,5,'images/trileft.gif',5,10]; // Arrow source, width and height
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
// For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg"
Menu1=new Array("Home","home.html","",0,20,83);
Menu1_1=new Array("General","blank.htm","",0,20,100);
Menu2=new Array("News","","",2);
Menu2_1=new Array("Site News","sitenews.html","",0,20,100);
Menu2_1_1=new Array("CNN","http://www.cnn.com","",0,20,150);
Menu2_1_2=new Array("ABCNews","http://www.abcnews.com","",0);
Menu2_1_3=new Array("MSNBC","http://www.msnbc.com","",0);
Menu2_1_4=new Array("CBSNews","http://www.cbsnews.com","",0);
Menu2_1_5=new Array("Canadian News","http://news.bbc.co.uk","",2);
Menu2_1_5_1=new Array("","http://www.vancouversun.com","",0,20,100);
Menu2_1_5_2=new Array("CTV News","http://www.ctvnews.com","",0);
Menu2_2=new Array("AFI News","afinews.html","",0);
Menu2_2_1=new Array("TechWeb","http://www.techweb.com","",0,20,200);
Menu2_2_2=new Array("News.com","http://www.news.com","",0);
Menu2_2_3=new Array("Wired News","http://www.wired.com","",0);
Menu3=new Array("Band","","",6);
Menu3_1=new Array("Bio","bio.html","",0,20,100);
Menu3_2=new Array("Members","","",4);
Menu3_2_1=new Array("Adam Carson","adam.html","",0,20,100);
Menu3_2_2=new Array("Davey Havok","davey.html","",0);
Menu3_2_3=new Array("Hunter Burgan","hunter.html","",0);
Menu3_2_4=new Array("Jade Puget","jade.html","",0);
Menu3_3=new Array("Interviews","interviews.html","",0);
Menu3_4=new Array("History","history.html","",0);
Menu3_5=new Array("FAQ","faq.html","",0);
Menu3_6=new Array("Open Letter","openletter.html","",0);
Menu4=new Array("Music","","",5);
Menu4_1=new Array("Tour","tour.html","",0,20,100);
Menu4_2=new Array("Albums","albums.html","",0);
Menu4_3=new Array("EPs","eps.html","",0); Menu4_4=new Array("Vinyl","vinyl.html","",0);
Menu4_5=new Array("Special","other.html","",0);
Menu5=new Array("Pictures","","",5);
Menu5_1=new Array("STS Era","stsera.html","",0,20,100);
Menu5_2=new Array("AOD Era","aodera.html","",0);
Menu5_3=new Array("Early Pics","earlypics.html","",0);
Menu5_4=new Array("Logos","logos.html","",0);
Menu5_5=new Array("Live Pics","","",4);
Menu5_5_1=new Array("St. Louis","stlouis.html","",0,20,100);
Menu5_5_2=new Array("Las Vegas","lasvegas.html","",0);
Menu5_5_3=new Array("Low Lands","lowlands.html","",0);
Menu5_5_4=new Array("Other Pics","otherpics.html","",0);
Menu6=new Array("Downloads","","",3);
Menu6_1=new Array("Videos","videos.html","",0,20,100);
Menu6_2=new Array("Songs","songs.html","",0,20,100);
Menu6_3=new Array("Wallpapers","wallpapers.html","",0,20,100);
Menu7=new Array("Interact","","",2);
Menu7_1=new Array("Messageboard","forum.html","",0,20,100);
Menu7_2=new Array("Guestbook","http://www.miseriacantare.com/guestbook","",0,20,100);
Menu8=new Array("Extras","","",3);
Menu8_1=new Array("Art","art.html","",0,20,100);
Menu8_2=new Array("Contests","contests.html","",0,20,100);
Menu8_3=new Array("Webmaster","webmaster.html","",0,20,100);
Menu9=new Array("Links","","",2);
Menu9_1=new Array("Links","links.html","",0,20,100);
Menu9_2=new Array("Link to me","linkback.html","",0,20,100);