retrositelover
Programmer
- Oct 20, 2004
- 35
Hi,
I have a problem with a script I wanted to modify - might be interesting for others, so I post it here:
The original script is from - I wanted to use it in order to target to 5 frames (I called them 'surfareas', but they are Iframes), or (in another version of my homepage) to let Firefox open windows that work like frames. Every content page would have built in the new script, so that the visitors e.g. could decide in which instance they would like to open links from the current page (very comfortable if you have many links, and much more flexible than with conventional frames).
Actually, I'm not a good Javascript-coder, as you'll see when looking at my attempt to make the script work: -
there are 3 problems I can't solve:
- the script only works with new windows, but not with frames that are already open (very bad)
- I would like to be able to check 2 boxes, so that 2 frames would be targeted at the same time (or
- I would like to use radio buttons. for each radio button having another name, it seems not to be possible to limit the user's choice to only one checked radio button.
thanks in advance for any tip - all the best
Joerg
I have a problem with a script I wanted to modify - might be interesting for others, so I post it here:
The original script is from - I wanted to use it in order to target to 5 frames (I called them 'surfareas', but they are Iframes), or (in another version of my homepage) to let Firefox open windows that work like frames. Every content page would have built in the new script, so that the visitors e.g. could decide in which instance they would like to open links from the current page (very comfortable if you have many links, and much more flexible than with conventional frames).
Actually, I'm not a good Javascript-coder, as you'll see when looking at my attempt to make the script work: -
there are 3 problems I can't solve:
- the script only works with new windows, but not with frames that are already open (very bad)
- I would like to be able to check 2 boxes, so that 2 frames would be targeted at the same time (or
- I would like to use radio buttons. for each radio button having another name, it seems not to be possible to limit the user's choice to only one checked radio button.
thanks in advance for any tip - all the best
Joerg