Jump to content


Photo
- - - - -

jQuery Easy Accordion is not working

jQuery Accordion

Best Answer meyson , 17 January 2013 - 01:28 PM

I solved it.
The post sholud be closed.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 meyson

meyson

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 17 January 2013 - 01:17 PM

Hi, 
I want to insert a jQuery Easy Accordion Plugin (ORIGIN: 

Please Login or Register to see this Hidden Content

) into my PageLines page (

Please Login or Register to see this Hidden Content

wiezijnwe/ ), but it doesnt work. 

What I did:

1.created file accordionslider.js in directory ..

Please Login or Register to see this Hidden Content

 with the following code:
$(document).ready(function () {
$('#accordion-container').easyAccordion({ 
autoStart: true, 
slideInterval: 3000
});
});

2. put the file jquery.easyAccordion.js in the same directory (the file is downloaded from the site)

3. put the following code in the PageLines>Site Options>Custom code>Headerscripts Code:

 

<script type="text/javascript" src="

Please Login or Register to see this Hidden Content

"></script>

 

<script type="text/javascript" src="

Please Login or Register to see this Hidden Content

"></script>
<script type="text/javascript" src="

Please Login or Register to see this Hidden Content

"></script>


4.put the following html on my new page:
<div id="accordion-container">
<dl>
<dt>Title slide</dt>
<dd>You can put here any kind of content (divs, text, images, etc.)…</dd>
<dt>One more</dt>
<dd>You can put here any kind of content (divs, text, images, etc.)…</dd>
<dt>Another slide</dt>
<dd>You can put here any kind of content (divs, text, images, etc.)…</dd>
</dl>
</div>

I see the text, as it is, but no slider...

What did i do wrong?



#2 meyson

meyson

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 17 January 2013 - 01:28 PM   Best Answer

I solved it.
The post sholud be closed.


  • Danny likes this

#3 Danny

Danny

    Is Awesome!

  • Moderators
  • 17580 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 17 January 2013 - 01:29 PM

Thank for informing us the issue has been resolved, we appreciate it.