PDA

View Full Version : send value in <a href=""> to iframe in new window??



january_9th
01-02-2008, 11:53 AM
Hello,

I'm building a website with swf-games.
I have list of links in HTML, like <a href="www.game.com/game1.swf">.
I'd like the games to open on display.htm, like <a href="url.swf" onclik="window.open('display.htm')">.
Display.htm has only an iframe inside the html.

How can i get the game-url from the link on the mainpage, inside the iframe of display.htm (child window)??

BYK
01-02-2008, 04:00 PM
You can pass them with GET parameters.

beeps
01-04-2008, 12:27 PM
Please unzip and try "list.html"
hope this will solve your purpuse.

1507