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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:50

probleme with iframe


Poster: xenophil
Dated: Sunday March 20 2005 - 16:25:48 GMT

my iframe name is page (iframe name="page")

I want that When I click on the menu (milonic) that my web page displays in my iframe ( page)
i have test this already:

Code:
aI("text=Awards;url=javascript:openIFrame('tempiframe','http://xenophil.chez.tiscali.fr/sof2/alex_culer.JPG');")
aI("text=Awards;url=javascript:openIFrame('tempiframe','/sof2/alex_culer.JPG');")
aI("text=awards;url=/sof2/alex_culer.JPG;target=_page");

and there is a bug
can you help me please
Thank you in advance and if you don'tunderstand me I will ask has somebody best that me in English of rewrite this message :cry: :cry: :? 8)


Poster: Ruth
Dated: Sunday March 20 2005 - 20:27:29 GMT

I went to your link at the bottom, but I don't see an iframe. If you have named the iframe page, then the link in the menu file should be
Code:
aI("text=Awards;url=javascript:openIFrame('page','http://xenophil.chez.tiscali.fr/sof2/alex_culer.JPG');");


I went to your link below your name but once you enter I don't see an iframe on the page. Can you give a link to the page with the iframe, and the menu if the above doesn't work?

Ruth


Poster: xenophil
Dated: Tuesday March 22 2005 - 10:11:25 GMT

my webpage is : http://xenophil.chez.tiscali.fr/sof2/records.html
the iframe is in the middle center with a photo of sof2 (a video game)


[url]http://xenophil.chez.tiscali.fr/sof2/records.html
[/url]

i went display my record in my iframe

thanks 8)


Poster: Ruth
Dated: Tuesday March 22 2005 - 14:56:08 GMT

The menu needs the openIframe function call on the page
Code:
<script>
function openIFrame(iFrameId,winURL)
{
   ifId=gmobj(iFrameId)
   ifId.src=winURL
}
</script>


You then need to change the menu aI string to have page, not tempiframe, since you have named the iframe page.
Code:
url=javascript:openIFrame('page','http:// etc.


Also, you should include id=page along with the name=page in the iframe itself.
Code:
<IFRAME border=1 id=page name=page


Ruth


Poster: xenophil
Dated: Wednesday March 23 2005 - 13:38:57 GMT

tank you ruth the magician !!!

i'will test this week-end because i'm boarder in school

and i will put a reply when if it's not OK and too if it's OK

my english is not very good but i try to do something lol :D

bye 8)


Poster: Ruth
Dated: Wednesday March 23 2005 - 14:03:42 GMT

Your English is OK. :)

Ruth


Poster: xenophil
Dated: Friday March 25 2005 - 17:29:39 GMT

thank you thank you

IT' S OK :D :D :D :D


ruth you are the best
I'm very happy to have (milonic menu)
:D

bye ;)