hello
i need some help with my iframe etc
this is what i want to do,
i have a drop down menu, and i all the links to link into this one iframe
i know this can probaly be done, and probaly quite easily
my only prob is my links are in a "jscript Script file" and i can edit the links in anyway or i get errors etc
im very know to making sites etc, everything i do i have to learn first etc
so anyway
heres my page code :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body leftmargin="40" bgcolor=DEDFE4>
<div style="position: absolute; left: 35px; top: 15px">
</div>
<div style="position: absolute; left: 35px; top: 115">
<img src="images\title1f.jpg" width="1200" height="100"><img src="images\menustrip.jpg" width="1200" height="99"></div>
<script type='text/javascript'>
function Go(){return}
</script>
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<div style="position: absolute; left: 286px; top: 215px">
<iframe id="main" name="main" frameborder="yes" scrolling="yes" width=895 height=497 src="news.htm"></iframe>
</div>
<div style="position: absolute; left: 35px; top: 214">
<img src="images\sidel1.jpg" width=250 height=500>
</div>
<div style="position: absolute; left: 1183px; top: 214">
<img src="images\sidel1.jpg" width=52 height=500>
</div>
<div style="position: absolute; left: 35px; top: 714">
<img src="images\bottompc.jpg" width=1200 height=54>
</div>
</body>
</html>
----------------------------------------------------
ok and here is the jscript file code:
var NoOffFirstLineMenus=5; // Number of first level items
var LowBgColor='DEDFE4'; // Background color when mouse is not over
var LowSubBgColor='DEDFE4'; // Background color when mouse is not over on subs
var HighBgColor='009933'; // Background color when mouse is over
var HighSubBgColor='009933'; // Background color when mouse is over on subs
var FontLowColor='black'; // Font color when mouse is not over
var FontSubLowColor='black'; // Font color subs when mouse is not over
var FontHighColor='DEDFE4'; // Font color when mouse is over
var FontSubHighColor='DEDFE4'; // Font color subs when mouse is over
var BorderColor='FB7D00'; // Border color
var BorderSubColor='FB7D00'; // 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='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // 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=189; // Menu offset x coordinate
var StartLeft=480; // 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=500; // 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=['tri.gif',5,10,'tridown.gif',10,5,'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","index.html","",0,20,138);
Menu2=new Array("Products","blank.htm","",2);
Menu2_1=new Array("Cooling","blank.htm","",5,20,150);
Menu2_1_1=new Array("Case Fans","cfans.htm","",0,20,150);
Menu2_1_2=new Array("Cpu Fans","cpuf.htm","",0);
Menu2_1_3=new Array("Video Card","vga.htm","",0);
Menu2_1_4=new Array("Hard Drive","hdd.htm","",0);
Menu2_1_5=new Array("Water Cooling","about:blank","",2);
Menu2_1_5_1=new Array("Cpu","wcpu.htm","",0,20,150);
Menu2_1_5_2=new Array("Vga","wvga.htm","",0);
Menu2_2=new Array("Lighting","blank.htm","",3);
Menu2_2_1=new Array("Cathodes","neon.htm","",0,20,200);
Menu2_2_2=new Array("plasma","pla.htm","",0);
Menu2_2_3=new Array("Other","other.htm","",0);
Menu3=new Array("Specials","blank.htm","",3);
Menu3_1=new Array("Cooling","none","",0,20,150);
Menu3_2=new Array("lighting","none","",0);
Menu3_3=new Array("Other","none","",0);
Menu4=new Array("Contact","blank.htm","",4);
Menu4_1=new Array("Email","none","",0,20,180);
Menu4_2=new Array("About","about.htm","",0);
Menu4_3=new Array("Other","other2.htm","",0);
Menu4_4=new Array("Links","aslinks.htm","",0);
Menu5=new Array("Members","javascript:top.location.href='bla nk.htm'","",1);
Menu5_1=new Array("Login","login.htm","",0,20,140);
-------------------------------------------
there is also another one called "menu_com"
anyway, as im new i really have no idea on what to do or where to start.
if you would like to take a good look at it for me, then i can email you the site in a zip.
please note none of the links are actually done yet, i only wrote n there for a reference:
so my questioon again: " i want to the have my menu links which are wriiten in the jscript file open up in the iframe."
thanks in advance
warren