Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

Thickbox from jsparty


Reply


1024 Views

Avatar
Mo

Community Member, 509 Posts

17 June 2009 at 2:01am

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