[thelist] creating a style block in a .js include ??

Scott Blanchard octigonuser at hotmail.com
Wed Feb 18 09:11:51 CST 2004


Inside a .js file can I create a style block?

document.write('<style type="text/css">.editHandle{')

if(document.cookie='handles=off')
	{
		document.write('display:block;')
	}
else
	{
		document.write('display:none;')
	}

document.write('}.editHandleOff{display:none;}</style>')

_________________________________________________________________
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/



More information about the thelist mailing list