![]() |
Why am I such a noob?
I have no idea why this line of code isn't working--
http://vanishingpoint.b1.jcink.com/i...p?showtopic=14 (not advertising here lol) I want to give .tableborder the id topictext for that page but it doesn't seem to be working I can't edit the html template because it's a sad free forum host l0l anywho this is the line of code that doesn't work if it works the entire .tableborder shouldnt show because I had it set to display:none in my css Code:
$("div.tableborder").hasClass("postlinksbar").attr("id","topictext");Code:
<script type="text/javascript"> |
first of all you have an error on line 593 - you didnt capitilize the A
Code:
$("table").removeAttr("cellpadding").removeAttr("cellspacing").removeattr("border"); |
Code:
$("div.tableborder").hasClass("postlinksbar").attr("id","topictext");this line basically says find the div that has a class ov tableborder and also has a class of postlinksbar. in your html postlinksbar is inside of a div with a class of tableborder so if you wan to set the id of that div to "topictext" then : Code:
$("div.tableborder > .postlinksbar").attr("id","topictext"); |
| All times are GMT +1. The time now is 01:15 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.