Jump to content

window.open


frozentree

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...