Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Creating comment from admin - disable JQueryRotate in that particular comment

2»

Comments

  • @peregrine said:
    marthajane77

    when inserting image - just use class .norotate

    <img class="norotate" alt="image" src="https://us.v-cdn.net/5018160/uploads/userpics/797/n19R2RA82NXE7.jpg">

    and change the rotate90

    var value = 0
    $( 'div.Message img:not(".norotate")' ).live( "click", function() { 
                value +=90;
                $(this).rotate({ animateTo:value})
            });
    

    worked for me.

    Hi @peregrine,

    Really basic silly question, but what is the best way for me to add a link to the image in that code (target blank)?
    I've tried, but the image is still rotating.
    I've amended the ImageUpload rotate90.js file. The link to my test is here: http://www.rrcuk.com/index.php?p=/discussion/80/test
    I shall message you with login details to the forum.

    I'm sure I'm missing something painfully obvious, and am sorry if this is the case.

    Thanks,
    Lisa.

  • I've amended the ImageUpload rotate90.js file

    no, you haven't :)

    it is still executing the old code.

    you can see in firebug - that you have not correctly installed the new rotate90.js.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    marthajane77hgtonight
  • I'm such a dumb*ss!

    How do I install it correctly? I've ftp'd the file across as a replacement but it's not making any difference.

  • Ignore me, it's done it now! I republished all of the js files related to rotate90.

    Thank you all! Again, very very much appreciated!

    Until the next time........ :)

    peregrinehgtonight
  • Awesome!

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    marthajane77
Sign In or Register to comment.