Author |
Topic |
|
janisrae
Practical
USA
28 Posts |
Posted - 26 Jan 2009 : 23:38:09
|
Hello,
I'm sure someone out there can answer this. It's probably a very simple solution to you who have been using Dynamic HTML Editor for awhile.
I'm trying to load outside url's into an iframe. When I create the iframe in a page, it appears that only one url can be added.
Is there a way to have links to multiple urls that open in the iframe on a page?
Thank you, [2 H:)] |
Janis Searcey Web Development Services . Hosting . Marketing |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 27 Jan 2009 : 08:34:04
|
Simply create a link and use the link property called "target" to specify where the linked page should be loaded |
Regards, Davide |
|
|
siemens
Master
Netherlands
139 Posts |
Posted - 27 Jan 2009 : 11:13:34
|
Davide, do you have a small example? |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 27 Jan 2009 : 16:04:32
|
When you create the link, fill in the "Target" property of the link with the name of the IFRAME |
Regards, Davide |
|
|
siemens
Master
Netherlands
139 Posts |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 28 Jan 2009 : 08:27:53
|
The thing you want can be made using javascript but it is not a good working mode in my opinion. Using some javascript standard functions you'll be able to obtain the "location" URI; you can then split the second part of the URI and load the iframe manually (using javascript)
The better way would be to use a server-side page like .asp or .php, read the value passed in the url then generate an iframe on the fly into the resulting page.
|
Regards, Davide |
|
|
siemens
Master
Netherlands
139 Posts |
Posted - 28 Jan 2009 : 10:38:12
|
Ok Davide, thanks for your answer, i will start investigating the javascript solution. Now I have a point in a new direction..
|
|
|
petran
Super User
Netherlands
345 Posts |
|
|
Topic |
|