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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Thickbox from jsparty


Go to End


1277 Views

Avatar
Mo

Community Member, 541 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