Changing/Setting FRAMESET attributes using JS???

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Changing/Setting FRAMESET attributes using JS???

Post 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???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Read. The. DOM.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post 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
Post Reply