Click to See Complete Forum and Search --> : disabling frames using javascript


umesh chandak
12-25-2005, 01:04 PM
Hi,

In my web page i have three frames .But when I click a button in my bottom frames I want to disable remaining two frames . In others two frames i have some anchor link .
By disabling frame i mean that i should not be able to display anything to that frame .
Plz help me out .

Thanks in advance .


-umesh

webstuff
12-25-2005, 01:32 PM
The frames wont change UNLESS you say so in a link or by use of javascript, they will remain static and not change UNLESS YOU tell the browser to in a script or in a clickable link.

If your frams are changing when they shouldnt be, you need to check your coding.

konithomimo
12-25-2005, 02:28 PM
As webstuff said, a frames contents will not change unless you tell it to in a script. If you don't want to see the frames at all though then you can just set their display to none, which will make them seem to disappear.