Sortable Page view

Hi Guys

Ive been working on the page view changing it from tables to

    , ive
    got
    it all working no problem, however the only thing I cant seem to get
    working
    is the rollover highlight and the colapsing/expanding of the page views.

    My list code is output like this… I understand the javascript SiteMap,
    but
    im not quite sure what I need to alter in order to get it working?
    Further
    more, the JavaScript doesn’t error out either! Any advice on where to
    look
    for possible problems would be great

    Thanks

    Tim P.

  1. Pages
    Status
    Modify
  2. toggle childrenpage-icon Home Page
    Published
    add 
child remove page

  3. This e-mail has been scanned for all viruses by Star. The
    service is powered by MessageLabs. For more information on a proactive
    anti-virus service working around the clock, around the globe, visit:

Scratch that! ive done it!

It was down to the inheritence from RuledTable();

Cheers

Tim

FYI -

initialize: function(element_id) {
var table = $(element_id);
var rows = table.getElementsByTagName(‘li’);
for (var i = 0; i < rows.length; i++) {
this.setupRow(rows[i]);
}
},

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs