Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2002
    Location
    Canada
    Posts
    1,563

    Default JQuery implementation

    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?

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,451

    Default Re: JQuery implementation

    Quote Originally Posted by behzad View Post
    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
    Acorn - My current Xara software: XDPX365, XDPX11 (32/64-bit), WD365 Premium, XPGD10, X3D7 and lots of licences back through time (to CC's Artworks)

  3. #3
    Join Date
    May 2002
    Location
    Canada
    Posts
    1,563

    Default 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

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,451

    Info Re: JQuery implementation

    Quote Originally Posted by behzad View Post
    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
    This doesn't need jQuery, pure CSS: CSS3 - Vertical Accordion.xar

    Acorn
    Acorn - My current Xara software: XDPX365, XDPX11 (32/64-bit), WD365 Premium, XPGD10, X3D7 and lots of licences back through time (to CC's Artworks)

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    17,900

    Default Re: JQuery implementation

    Sweet
    Egg
    Endangered Species
    HP xw9400 W/S / 2 x Dual Core AMD / RAM 16 GB / 240 GB Kingston SSD / 120 GB Kingston SSD / 500 GB HDD / ATI Radeon HD 5450 / Windows 10 / 64 Bit /
    Xara Designer Pro X (12 or 365)


  6. #6
    Join Date
    May 2002
    Location
    Canada
    Posts
    1,563

    Default Re: JQuery implementation

    Double sweet

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •