Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2018
    Location
    London
    Posts
    29

    Default installing jQuery pin it button to images

    Hi All,

    Would like to ask how you can add jQuery pin it button to images on your website such as (Pinterest) so people can share your content via social media


    Any help would be appreciated

    Best Regards
    Paul777

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    18,127

    Default Re: installing jQuery pin it button to images

    Never understood Pinterest Paul so I'm afraid I can't assist you.
    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)


  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,863

    Lightbulb Re: installing jQuery pin it button to images

    Quote Originally Posted by paul777 View Post
    Hi All,
    Would like to ask how you can add jQuery pin it button to images on your website such as (Pinterest) so people can share your content via social media
    Any help would be appreciated
    Best Regards Paul777
    Paul, is https://www.jqueryscript.net/social-...es-imgPin.html any use?

    There are a lot of steps and contextual knowledge needed:
    • Download the Pinme.js plugin.
    • Ensure required files are added to the Xara payload.
    • Invoke jQuery.
    • Invoke jQuery Pinme plugin and Pinme CSS.
    • Add a name to all required images.
    • Write jQuery to wrap a DIV container class.
    • Write specific Pinme jQuery code.
    • Test, and test again.


    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  4. #4
    Join Date
    Jan 2018
    Location
    London
    Posts
    29

    Default Re: installing jQuery pin it button to images

    Hi Acorn,

    Thank you for your reply. I will have a look at the link. Is it a difficult procedure to do. I am not an expert in all this jquery,css stuff.

    Paul777

  5. #5
    Join Date
    Jan 2018
    Location
    London
    Posts
    29

    Default Re: installing jQuery pin it button to images

    Hi Egg Bramhill

    Thanks for your reply. All the best

    Paul777

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,863

    Info Re: installing jQuery pin it button to images

    Paul, if the detail I included doesn't give you a hint...

    ...here is a one-liner that handles all the images on your page:

    Add
    Code:
    javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());
    Sample page: Pin It.xar

    I don't have a Pinterest account so that is as far as I can go.
    If it works, come back and advise.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  7. #7
    Join Date
    Jan 2018
    Location
    London
    Posts
    29

    Default Re: installing jQuery pin it button to images

    Thank you Acorn

    Paull777

 

 

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
  •