
September 19th, 2001, 05:48 AM
|
|
Caffeine - Nicotine - Sugar
|
|
Join Date: May 2001
Location: Germany, Cologne
Posts: 60
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
With a very simple work-around:
- create a frameset with 2 frames. Make one frame either very thin or set it to 0 pixel.
- put the content you want to stay into the 1st frame
- put a dummy file (empty file) into the second frame
- in the first frame, when the user clicks the button, the script will load the site into the 2nd frame (the dummy). The scripting part here is only 4 lines:
Code:
function invokeScript(url)
{
parent.frames[1].location = url;
}
|