newbie with iframe

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
DaSlavick
Beginner
Beginner
Posts: 2
Joined: Thu Oct 03, 2002 10:29 am

newbie with iframe

Post by DaSlavick »

:?: :?: :?:
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?
saladpuncher
Beginner
Beginner
Posts: 8
Joined: Sun May 19, 2002 8:23 pm

Post by saladpuncher »

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>
DaSlavick
Beginner
Beginner
Posts: 2
Joined: Thu Oct 03, 2002 10:29 am

Post by DaSlavick »

i got error: IframeId not defined.
i changed the id of the iframe exactly as the example.
so it have to work
not knowing what to do know
Post Reply