newbie with iframe
newbie with iframe
hi, i'm a very newbie.
I searched arround the forums for my answer, but not really satisfied
i want some help to target a iframe, called internal.
at the example page these code is placed on.
function openIFrame(iframeId, winURL){
ifId=gmobj(iFrameId)
ifId.src=winURL
}
my qeustion= where to put this? menu_array.js:
in the style?
addmenu?
put in here? ,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
or in html page where the menu shows up and the iframe is located
pleazz help me quick
greetzz DaSlavick
Ps: is it getting annoying?
-
- Beginner
- Posts: 8
- Joined: Sun May 19, 2002 8:23 pm
We placed it on the page the menu is appearing on. A quick and dirty example:
<body>
<script language="JavaScript" src="menu_array.js" type="text/javascript"></script>
<script language="JavaScript" src="mmenu.js" type="text/javascript"></script>
<script language="JavaScript">
function openIFrame(iframeId, winURL){
ifId=gmobj(iFrameId)
ifId.src=winURL
}
</script>
</body>
<body>
<script language="JavaScript" src="menu_array.js" type="text/javascript"></script>
<script language="JavaScript" src="mmenu.js" type="text/javascript"></script>
<script language="JavaScript">
function openIFrame(iframeId, winURL){
ifId=gmobj(iFrameId)
ifId.src=winURL
}
</script>
</body>