PDA

View Full Version : iframe with a foreign site


mitti
2006.04.26, 10:45 AM
Hello! I hope someone could help me with some information. I would try to explain my problem so good I can.

I make a widget with a search on it. It functions like the wikipedia widget, only that the result will be shown in an iframe. So now my problem. Can I make that the links from the result page open in a new window instead on the widget iframe selbst? And something else.

I would like the div where the iframe ist not to scroll, the iframe (result page) neither. But thank to extern images the content up and down scrolling. Can I find the heigth of the reult page (it is always different) in order to give the iframe a heigth that the scrollbar understands?

I do not know if I may question is understandable. Thank you all for your help

Taxxodium
2006.04.26, 11:03 AM
use widget.openURL and it will launch Safari (or your default browser).

mitti
2006.04.27, 02:34 AM
Thank you for your replay, but the problem is, that when I have the page in an iframe it opens the links in the same iframe and that is what I want to fix. I want the links to open in a extra window.

Tim_
2006.05.07, 10:41 AM
target=_blank ?

also how did you get iFrames to work in widgets? i couldnt :(