Re: JQuery implementation
Quote:
Originally Posted by
behzad
I came across this site which has a lot of useful code. Is JQuery something that is safe to use on xara or can be use without the worries of it not working on desktop or mobile usage?
Also where would one place the JQuery code in xara?
Would it be better to just use code that has only Html and CSS and forget JQuery code?
Also on the same topic, where to place JS code in xara?
jQuery is perfectly safe. Xara uses it in a lots of their carousels.
On a bare site, you can add a Placeholder or object with a Name: UsesJQuery.
For the jQuery code itself, probably in the Site, Page or Placeholder Code head. The last one has to be in the right stacking order in the layer.
Code is always between <script> tags.
Acorn
Re: JQuery implementation
Thank you Acorn, when I get a chance I will play around with it. I would give and arm and a leg for a tutorial :) Ok just a leg should be enough. If anyone wants to make a video, here is one sample that I like to learn. Oh bless you anyone?
https://codepen.io/ashrobbins/pen/LbIef?q=accordian&limit=all&type=type-pens
1 Attachment(s)
Re: JQuery implementation
Quote:
Originally Posted by
behzad
This doesn't need jQuery, pure CSS: Attachment 118966
Acorn
Re: JQuery implementation
Re: JQuery implementation