Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Thickbox from jsparty

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1007 Views
  • Mo
    Avatar
    Community Member
    508 Posts

    Thickbox from jsparty Link to this post

    Has anyone else used thickbox from the jsparty library?

    No matter what I do, I cannot get it to work. I have what I believe to be the correct requirements:

    Requirements::css("jsparty/jquery/plugins/thickbox/thickbox-code/thickbox.css");

    Requirements::javascript("jsparty/jquery/jquery-packed.js");
    Requirements::javascript("jsparty/jquery/plugins/thickbox/thickbox-code/thickbox-compressed.js");

    I then give my image links a class of thickbox, eg:

    <a title="$Name" class="expand2 thickbox" href="$Main.URL"></a>

    Anyone got any ideas? I feel like I am going crazy!

    Cheers,

    Mo

    1007 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.