Hi Everybody,
I have a problem. I dynamically load a website into an iframe. But once the iframe is filled the next time I target it, it opens the website in a new window.
When I put a second iframe on that page and once it filled the first one it targeted the second one it worked. That is why I need the name of the iframe to grow by 1 everytime it is loaded.
For example: iframe1, iframe2, iframe3
Any help is greatly appreciated.
dynamically create iframe name
Moderator: General Moderators
-
rexexdesign
- Forum Newbie
- Posts: 5
- Joined: Thu Nov 02, 2006 10:29 am
-
rexexdesign
- Forum Newbie
- Posts: 5
- Joined: Thu Nov 02, 2006 10:29 am
reason why
I am working on a flash site and it has dynamic content loading in. So the button code always changes... Flash is able to always trigger that iframe if its a static link, but since it is dynamic, it works once and then after that (the frame is filled) it opens a new window instead.
The only way I found it working is, when the name of the iframe changes. It is important that the entire page does not reload. Only the name of the iframe changes.
So lets say it is a php file and every time the iframe is loaded it the name is one higher (iframe1, iframe2) I could accomadate that in flash.
THANK YOU
The only way I found it working is, when the name of the iframe changes. It is important that the entire page does not reload. Only the name of the iframe changes.
So lets say it is a php file and every time the iframe is loaded it the name is one higher (iframe1, iframe2) I could accomadate that in flash.
THANK YOU
-
rexexdesign
- Forum Newbie
- Posts: 5
- Joined: Thu Nov 02, 2006 10:29 am