Results 1 to 4 of 4

Thread: tab data highlighter needed

  1. #1
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default tab data highlighter needed

    I need to add some type of mouse over highlighter to my tabular data chart.
    I came across http://cssglobe.com/lab/tablecloth/, but it conflicts terribly with other tables in page.
    Its exactly what Im looking for though. Anyone come across anything like this that us a little more table friendly? Thanks for any suggestions.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Not tested, but this should work:

    If you go into tablecloth.js and around line 37, replace
    Code:
    var tables = document.getElementsByTagName("table");
    with
    Code:
    var tables = document.getElementsById("your-id");
    Then, give your table an id. That should get you what you're after.

  3. #3
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default didnt work

    thanks, but that didnt work. It also seems to conflict with onLoad="preloadImages();"

    I deleted the preload just to see if it would work but it didnt. I hope theres another script out there or an easier way to integrate this.

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    There are some tips in the comments of that CSSGlobe article on Tablecloth. You might want to look at that.

    Otherwise, I wrote some crude jQuery to do this the other day. It'll require work to inish. It's posted in this forum somewhere. Search for it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •