Vertical scrolling/initialisation issues

Vertical scrolling/initialisation issues

theswollenfoxtheswollenfox Posts: 2Questions: 0Answers: 0
edited November 2010 in General
So here's the table i'm having problems with: http://theswollenfox.com/old-calendar-draft/

What I'm trying to do is implement vertical scrolling, but when I do so by adding the code to the Custom Commands section at the bottom of the page (I'm using WP-Table Reloaded). What happens though is the header for the two columns from the right disappear.

I was told the solution could be disabling DataTables in the options and manually loading DataTables with the initialisation code on the homepage. Problem is, I have no idea where to put that code. I don't know if I'm just so tired I can't think straight, or if I really just can't find it out, but I could use some help.

If anyone knows where to put the code (I'm using Wordpress 3.0 and WP-Table Reloaded, if that helps), I would GREATLY appreciate it. Or if anyone knows a different way to fix this bug, that would be awesome too.

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Part of the problem is caused by the 24px margin on the "#content table" element. And I think the rest of it can be solved by adding div.dataTables_scroll{ clear: both }.

    Hopefully that will help!

    Allan
  • theswollenfoxtheswollenfox Posts: 2Questions: 0Answers: 0
    I can't find "#content table" -- where can I see it (and how can I fix it)?

    And where am I supposed to add the div.dataTables_scroll{ clear: both } ?

    Thanks for your help!
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Unfortunatly you ow have a Javascript error on line 2223 old-calendar-draft, which makes it harder for me to find the thing I noted before :-). It's in your CSS files somewhere, and can readily be found by using Firebug when the Javascript error has been fixed. And to see the clear:both - just stick it into your CSS somewhere.

    Allan
This discussion has been closed.