iframe style of no frameboarder (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets and Accessibility



Message


lu lu -> iframe style of no frameboarder (11/18/2006 16:26:43)

Hi Again!

I have a parent window that toggles between two iframes via a JS function in the parent window, would it be possible to set the frameboarder in the parent to nothing when its toggled to iframe2?
I still want the frame boarder with iframe1.

This is what i'm working with:

function pageTurn() {
window.frames.myIframe.location.href = 'contribute2.asp';
document.getElementById("pobk").innerHTML = "<a href='javascript:pageTurn2()'>Back</a>";
}



html....

<iframe id='myIframe' name='myIframe' scrolling='yes' src='contribute.asp' width='360'>


Thanks! any ideas how i can apply a style to myIframe from a JS function




jaybee -> RE: iframe style of no frameboarder (11/20/2006 9:39:10)

Apply an inline style. You've already got html in there.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875