WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Drag-To-Share eXtended] JS loads but drag doesn't do anything (4 posts)

  1. masterbassie
    Member
    Posted 4 years ago #

    i checked firebug for JS problems but the files loaded fine. however when i drag nothing happens - ie just a normal drag occurs. the image automatically gets dtse-img but i had to manually wrap the image in ui-draggable.

    I'm hoping the plugin doesn't automatically give classes to photos within the post. Mainly because that caused some problems for me with the other drag plugins "drag-to-share" and "WP-Drag2Share". i want to be able to choose which photos should be draggable.

    any ideas?

    http://wordpress.org/extend/plugins/wp-dragtoshare-extended/

  2. syntaxTerr0r
    Member
    Posted 4 years ago #

    Hey Masterbassie,

    I'm sorry but the plugin add the dragging feature to every images in a post.

    In the next version i'll add an option to let you choose what to do : All images draggable versus chosen images throught shortcodes.

    Stay tuned !

  3. syntaxTerr0r
    Member
    Posted 4 years ago #

    The manual mode has been added to the plugin today, please check it out :)

  4. ashbryant
    Member
    Posted 4 years ago #

    can anyone tell me how to get LinkedIn working as a option. I have made the icon, CSS & js to make it appear and work when you drag on to it, but the passing of the page data seems to not work. Can anyone help?

    I located this line in the comments...

    http://www.linkedin.com/shareArticle?mini=true&url=PERMALINK&title=TITLE&source=BLOGNAME&summary=EXCERPT

    And I found what I think is the JS that is used to pass the info across, I copied it and edited it to suit, but it's not working, so I must either be missing something or I have done it wrong (I expect the latter :)

    else if (id.indexOf("linkedin") != -1) {
    window.location.href = "http://www.linkedin.com/shareArticle?mini=true&url=" + currentUrl + "&source=Travel-Mailer&summary=" + dtsv.title;
    }

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic