Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
jongoodhue is on a distinguished road
 
Posts: 9
Join Date: Feb 2012
Default Onlick new window in table HELP! - 08-24-2012, 07:56 AM

Try to get this onclick event to work inside my table. Can somebody help?!

http://jongoodhue.freeiz.com/allin/allin.html

Code for table

<style type="text/css">
table.sample {
border-width: 1px;
border-spacing: 2px;
border-style: groove;
border-color: gray;
border-collapse: collapse;font-size:20px;

}
table.sample th {
border-width: 1px;
padding: 4px;
border-style: groove;
border-color: white;font-size:20px;
-moz-border-radius: ;
}
table.sample td {
border-width: 1px;
padding: 4px;
border-style: groove;
border-color: white;
font-size:20px;

-moz-border-radius: ;
}
</style>
<table class="sample" cols="2" rows="12" width="500">
<font style="color:white;face:arial;"><tr><td>
1. Choke<td><a href="#" onClick="window.open('http://jongoodhue.freeiz.com/allin/choke.html','mywindow','width=300,height=500,toolb ar=no,location=no,directories=no,statu s=no,menubar=no,scrollbars=yes,copyhistory=no,resi zable=yes')">Lyrics</a></td></tr><tr><td>
2. In The Moment<td>Lyrics</td></tr><tr><td>
3. Down Again Blues<td>Lyrics</td></tr><tr><td>
4. Stripped Away<td>Lyrics</td></tr><tr><td>
5. Wings Of Your Lover<td>Lyrics</td></tr><tr><td>
6. Eating Me Alive (DOWNLOAD ONLY)<td>Lyrics</td></tr>
</table></font>
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 4,063
Join Date: Jul 2011
Location: UK
Default 08-24-2012, 11:43 AM

You have no URL here
Quote:
<a href="#"
Just a hash tag.
Reply With Quote
(#3 (permalink))
Old
Junior Member
jongoodhue is on a distinguished road
 
Posts: 9
Join Date: Feb 2012
Default 08-24-2012, 05:23 PM

no good. It works fine in IE (which Im shocked) but thats it. There were some weird spaced in the words but I fixed that, still no good.
Reply With Quote
(#4 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 4,063
Join Date: Jul 2011
Location: UK
Default 08-24-2012, 05:31 PM

What about checking html markup? http://validator.w3.org/
Whatever errors you find, recheck with the "Clean up Markup with HTML-Tidy" ticked. Atleast then you have a standard for web browsers - Sort of a starting point
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com