Page 1 of 1

Changing/Setting FRAMESET attributes using JS???

Posted: Fri Sep 08, 2006 2:03 pm
by alex.barylski
<frameset rows="80, *" onload="" framespacing="0" border="0">
<frame src="header.html" frameborder="0" scrolling="no" noresize="noresize"></frame>
<frameset cols="200, *">
<frame src="panel.html" frameborder="0" scrolling="no"></frame>
<frame src="body.html" frameborder="0"></frame>
</frameset>
</frameset>

The above code snippet details what I a currently have for HTML...

The boldified attributes are not valid XHTML Frameset, so I figure I would just set them at runtime using javascript in the first FRAMESET onload event.

Anyone know how to change FRAMSET attributes inside the context of the above snippet...I don't think setting parent.framespacing=0 will work inside any of the SRC's

Anyone???

Posted: Fri Sep 08, 2006 2:30 pm
by feyd
Read. The. DOM.

Posted: Fri Sep 08, 2006 2:58 pm
by alex.barylski
I have read the DOM. Countless times. But with all the browser proprietarity...it becomes less than trivial.

I've figured it out, but it's not ideal... :P