View Full Version : Table is messed up


Bebe x Baby Luv
04-06-2003, 10:44 PM
What I'm trying to do is make a table with only a few buttons on it
Then have pop-up alerts links to the buttons so everything...pops up instead having everything just posted on a site

I have only the first button links to everything, its not working as you can probably see

<center><table border="1" bordercolor="#666666">
<tr>
<td align="center" font size="1" face="tahoma" colspan=6>------> annoying stuff <-------</td>
<tr>
<td align="center"><form><input type="button" style="font-family:tahoma" style="border style:solid" style="background:#000000" style="color:#777777" value="Basics" onClick='alert("Annoying people"); alert("Homework [when you got hockey, dance, soccer practice]"); alert("Liars"); alert("Braggers"); alert("Showoffs / Know it all's"); alert("Mean, snobby, I'm prettier then you, prissy, to-popular-for-you...kinda people"); alert("Plagiarists")'></form></td>
<td align="center"><form><input type="button" style="font-family:tahoma" style="border style:solid" style="background:#000000" style="color:#777777" value="WORDS" onClick='alert("TEXT GOES HERE"); alert("Your message here"); alert("Yovcssage here"); alert("Your mevcbe here")'></form></td>
<td align="center"><form><input type="button" style="font-family:tahoma" style="border style:solid" style="background:#000000" style="color:#777777" value="WORDS" onClick='alert("TEXT GOES HERE"); alert("Your message here"); alert("Yovcssage here"); alert("Your mevcbe here")'></form></td>
<td align="center"><form><input type="button" style="font-family:tahoma" style="border style:solid" style="background:#000000" style="color:#777777" value="WORDS" onClick='alert("TEXT GOES HERE"); alert("Your message here"); alert("Yovcssage here"); alert("Your mevcbe here")'></form></td>
<td align="center"><form><input type="button" style="font-family:tahoma" style="border style:solid" style="background:#000000" style="color:#777777" value="WORDS" onClick='alert("TEXT GOES HERE"); alert("Your message here"); alert("Yovcssage here"); alert("Your mevcbe here")'></form></td>
</tr>
</table></center>

epolady
04-07-2003, 08:19 AM
The javascript alerts don't like apostrophes, which is your problem at current. You can do one of two things

A. Get rid of words with apostrophes (i.e. I'm, you're).

B. Use &amp;#146; in place of an apostrophe (i.e. I&amp;#146;m will render I'm).

Hope this makes sense.

Bebe x Baby Luv
04-08-2003, 07:38 PM
oh no, its makes perfect sense

Thanks :)