Log in

View Full Version : redirecting all hyperlinks?



shraga18
04-24-2008, 04:56 PM
Hi everyone.

1. I have a page which consists of two iframes. The first one displays an external site, and I'm looking for a way that any link clicked on that iframe will open in the second iframe. Is there any script which can be included in the iframe which will make all links open in iframe 2? Failing that, can anyone think of a way to do this?

2. Is there any script which allows one to DRAG a link between iframes?

TIA!

boogyman
04-24-2008, 05:30 PM
you cannot edit links inside the iframe, because the link is actually coming from another page. you would need to make the link point to the "second" iframe on the original page, not through the iframe

shraga18
04-24-2008, 05:36 PM
Right, I realized that, which is why I stressed that iframe1 is showing an external site, whose code I can't change. I was hoping that there was some script which tells the iframe to send ALL link-clicks to a different frame...

boogyman
04-24-2008, 05:42 PM
There might be in the future, but presently there is no setting to take the links from 1 iframe and redirect them to another without changing the link itself

shraga18
04-24-2008, 06:00 PM
There might be in the future, but presently there is no setting to take the links from 1 iframe and redirect them to another without changing the link itself

:-( sorry to hear that. Still hoping for a knight in shining armor :-)

Any insight on issue no 2, dragging a link between iframes?

TIA