It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Image Slider (jquery) in Confluence

Miko Makela Jul 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
Leroy Elendt Jul 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 :)
0 votes
Remo Siegwart Jul 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 Jul 25, 2012

Thanks Leroy!

Leroy Elendt Jul 25, 2012

congratulation for winning a price :)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

937 views 7 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you