frozentree Posted April 17, 2006 Share Posted April 17, 2006 hai guys ........here again. this time i hv a question 2 ask u. this command---> window.open() .... can it create frameset? or do i have to make a frameset page first n name it frameset.htm? after tat i will do like this.. theFrame=' <html> <frameset rows="50%,50%"> <frame src="frameset.htm"> <frameset rows> <frame src="exit.htm">' theLeaf= window.open('frameset.htm','', 'height=200') document.write(theFrame) document.close()i dont think window.open can have frameset embeded in. what u guys think? any opinion??thanks!!! Link to comment Share on other sites More sharing options...
aspnetguy Posted April 17, 2006 Share Posted April 17, 2006 You can create a blank page (call it blank.html) then when you open new windows you can use window.open to open blank.html then write the extra html code to the window. Link to comment Share on other sites More sharing options...
Chocolate570 Posted April 17, 2006 Share Posted April 17, 2006 Try this instead. theFrame=' <html><frameset rows="50%,50%"><frame src="frameset.htm"><frameset rows><frame src="exit.htm">'theLeaf= window.open('frameset.htm','', 'height=200')theLeaf.document.write(theFrame)document.close() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now