Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:22

newbie with iframe


Poster: DaSlavick
Dated: Thursday October 3 2002 - 11:14:01 BST

:?: :?: :?:
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?


Poster: saladpuncher
Dated: Thursday October 3 2002 - 21:57:45 BST

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>


Poster: DaSlavick
Dated: Friday October 4 2002 - 10:58:21 BST

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