PDA

View Full Version : address box



viktor
04-14-2005, 04:01 PM
I was looking for a script that I could use so visitors could enter any website url and that site would be opened in a frame. I was able t find similar script but it keeps opening sites in new window.

Anyone got any info on this?

jscheuer1
04-14-2005, 05:29 PM
It is the target of the script that is in question. How to change that depends upon how the script targets these url's. If it is by the target='framename' method, just change framename to the desired frame's name, if it uses the window.open() method, I believe the syntax is:
window.open('url','name','optional parameters')Try just changing name to the name of the frame desired and lose the optional parameters, if any, as they may distort the target frame. That may still not work because window.open() is meant to open a new window but, it is worth a try. Recognize either of those? If it uses some other method, I'd need to see the code.