spykemitchell
09-11-2003, 01:32 PM
I am having problems in getting the document.write function to display a block of HTML properly.
This is a document.write property i have got to work.
document.write("<center><br><u>HIM Uk Street Team</u><br><br><font size=2 face=verdana color=#ffffff>Featured Members:<br><br>")
This Functions Perfectly.
I want the following to work but it doesn't seem to.
document.write("<br><br><font size=2 face=verdana color=#df9d24><a href="who.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>Who Are We?</a><br><br><a href="what.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>What Do We Do?</a><br><br><a href="help.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>How Can You Help?</a><br><br><a href="team.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>Who Is On The Team?</a>")
I think it is because of the amount of " characters and ' characters. All i want to include is links with the onmouseover function in them in the document.write brackets but each time i get the error message ") expected." What can i do? I use style sheets so if you know how to do Onmouseover status bar effects with style sheets that would help.
Thanks,
Spyke.
This is a document.write property i have got to work.
document.write("<center><br><u>HIM Uk Street Team</u><br><br><font size=2 face=verdana color=#ffffff>Featured Members:<br><br>")
This Functions Perfectly.
I want the following to work but it doesn't seem to.
document.write("<br><br><font size=2 face=verdana color=#df9d24><a href="who.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>Who Are We?</a><br><br><a href="what.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>What Do We Do?</a><br><br><a href="help.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>How Can You Help?</a><br><br><a href="team.htm" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true"><font size=2 face=verdana color=#df9d24>Who Is On The Team?</a>")
I think it is because of the amount of " characters and ' characters. All i want to include is links with the onmouseover function in them in the document.write brackets but each time i get the error message ") expected." What can i do? I use style sheets so if you know how to do Onmouseover status bar effects with style sheets that would help.
Thanks,
Spyke.