Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Image Slider (jquery) in Confluence

Miko Makela
Contributor
July 19, 2012

Hi,


I'm trying to integrate a jquery image slider ( http://tympanus.net/codrops/2011/09/05/slicebox-3d-image-slider/) on a confluence page but without success. So basically, I put all the .css and .js in attachement and link to that in my Confluence page html code.

Is it possible to make it work in Confluence? does jquery work in Confluence?

thanks in advance!

2 answers

0 votes
Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2012

You may also want to check out Image Slider for Confluence, a new Confluence plugin I've built for this year's Codegeist Add-on competition.

Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2012

Thanks Leroy!

Leroy Elendt
Contributor
July 25, 2012

congratulation for winning a price :)

0 votes
Leroy Elendt
Contributor
July 19, 2012

Yes jQuery works in confluence.

You have to add something like this before the <div id="sb">:

<script type="text/javascript">
AJS.toInit(function (){
AJS.$( "#sb" ).slicebox();
});
</script>
Btw you dont need to attach the jQuery library because it comes with confluence
I hope this helps :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events