Shadowbox not working after sorting

Shadowbox not working after sorting

osinhoosinho Posts: 3Questions: 1Answers: 0
edited May 2010 in KeyTable
Hi everybody,

Firstly, thank you guys for this great script. It's truly awesome.

Here is my problem though:

I have a table with 8 columns containing order information of my customers. The sorting and everything works splendidly.
I have a link on a word (the name of the customer) in the first column opening a new php page in a shadowbox (http://www.shadowbox-js.com/) which works fine. The problem is, that after I sort the table this link will open up in the same browser window instead of the shadow box.

Does anybody know how to change that?

Unfortunately I cannot send a link since the information in the table is quite sensitive.

Thanks already for any kind of help or suggestions!

Osinho

Replies

  • allanallan Posts: 54,881Questions: 1Answers: 8,601 Site admin
    Have a look at the FAQ entitled "My events don't work on the second page": http://datatables.net/faqs . That should do the trick for you :-)

    Allan
  • rdeazardeaza Posts: 1Questions: 0Answers: 0
    var option = {
    resizeLgImages: true,
    handleOversize: 'none',
    displayNav: true,
    handleUnsupported : 'remove',
    keysClose: ['c', 27],
    autoplayMovies: true,
    displayNav: true,
    continuous: false,
    modal: false,
    animSequence: "wh",
    player: "html, SWF, FLV, IMAGE",
    counterType: "skip",
    };

    Shadowbox.init(option);

    jQuery(".sb").live( 'click', function(e) {
    Shadowbox.open(this);
    e.preventDefault();
    });
    ....
    ....
    link
This discussion has been closed.