ruks Posted May 25, 2010 Share Posted May 25, 2010 Hi, I found this code - http://leparlement.org/filterTable and applied to my website - http://www.callnorthwest.org.uk/services/job.php The box appears and all but doesn't filter - no yellow hilight like shown in the example here is my code <table class="filterable" width="100%" border="1"> <thead><br /> <tr> <th width="41%"><span style="width: 42%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Title</span></span></th> <th width="22%"><span style="width: 25%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Company</span></span></th> <th width="18%"><span style="width: 16%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Date Posted</span></span></th> <th width="19%"><span style="width: 22%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Closing Date</span></a></span></th></tr></thead> <tbody> <tr> <td style="font-size: 12px; color: #999999"><a title="" style="color: #5e4084" href="http://www.jdwilliamsgroup.jobs/" onclick="window.open(this.getAttribute('href'),'');return false;">Sales Team Manager</a></td> <td style="font-size: 12px; color: #5e4084">JD Williams </td> <td style="font-size: 12px; color: #5e4084">18/05/2010</td> <td style="font-size: 12px; color: #5e4084">28/05/2010</td></tr> <tr> <td style="font-size: 12px; color: #999999"><a title="" style="color: #5e4084" href="http://www.jdwilliamsgroup.jobs/" onclick="window.open(this.getAttribute('href'),'');return false;">Equiries Avisor (Call Centre Agents)</a></td> <td style="font-size: 12px; color: #5e4084">JD Williams </td> <td style="font-size: 12px; color: #5e4084">18/05/2010</td> <td style="font-size: 12px; color: #5e4084">8/06/2010</td></tr></tbody></table><br /> It use to work but now it stop and im not sure hope anyone can help thanks Quote Link to comment Share on other sites More sharing options...
andrewgauger Posted May 25, 2010 Share Posted May 25, 2010 Try moving the : <script type="text/javascript" src="filterTable.js"></script> To the <head> Quote Link to comment Share on other sites More sharing options...
ruks Posted May 26, 2010 Author Share Posted May 26, 2010 I have done that but still don't work - the weired part is that it use to work before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="verify-v1" content="bIdVWe5QRe9G+yfjsnRSHE1LXSGzCipGHQ/S1pBzsSw=" > <meta name="description" content="The Leading Support Organisation for North West Contact Centres"> <meta name="keywords" content="CallNorthWest, Call North West, Call Centre, Contact Centre, Call Centre Support, Contact Centre Support, Call Centre Help, Contact Centre Help, Call Centre North West, Contact Centre North West, Call Centre Events, Contact Centre Events, CallNorthWest Awards, Membership, Online Forum"> <title>Untitled Document</title> <style> .highlighted { background: yellow; } th{cursor: pointer; } .text { font-family: Arial, Helvetica, sans-serif; color: #5e4084; font-weight: bold; } #payment {display: none;} --> </style> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#check51').click(function(){ checkedValue = this.value; if (checkedValue == 'on'){ $('#payment').fadeIn('slow'); } else { $('#payment').hide(); } }); }); </script> <script type="text/javascript" src="filterTable.js"></script> <script type="text/javascript" src="sortable.js"></script> </head> Quote Link to comment Share on other sites More sharing options...
andrewgauger Posted May 26, 2010 Share Posted May 26, 2010 Chrome barks at: document.images.slide.src=imageholder[whichimage].src Check into this. If you have one JavaScript error, it often brings down all of your JavaScript. Quote Link to comment Share on other sites More sharing options...
ruks Posted May 27, 2010 Author Share Posted May 27, 2010 Chrome barks at: document.images.slide.src=imageholder[whichimage].src Check into this. If you have one JavaScript error, it often brings down all of your JavaScript. Im confused what im doing with the above code!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.