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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1468 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