Results 1 to 4 of 4

Thread: How do I add rounded corners to the Image Magnify v1.11?

  1. #1
    Join Date
    Oct 2012
    Posts
    180
    Thanks
    22
    Thanked 1 Time in 1 Post

    Default How do I add rounded corners to the Image Magnify v1.11?

    I've made a thicker border and would like to add rounded corners to it. The question is how?

    Code:
    var $clone=$target.clone().css({position:'absolute', left:0, top:0, visibility:'hidden', border:'6px solid #999999', cursor:'pointer'}).appendTo(document.body)
    This is the magnifier I am referring to:

    http://www.dynamicdrive.com/dynamici...agemagnify.htm

    Thanks!
    Last edited by qwikad.com; 07-20-2014 at 11:07 AM.

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,363
    Thanks
    1
    Thanked 243 Times in 238 Posts

    Default

    Hi there qwikad.com,

    add this to your stylesheet...
    Code:
    
    .magnify {
        border-radius:10px;  /*adjust value to suit */
     }

    coothead

  3. The Following User Says Thank You to coothead For This Useful Post:

    qwikad.com (07-20-2014)

  4. #3
    Join Date
    Oct 2012
    Posts
    180
    Thanks
    22
    Thanked 1 Time in 1 Post

    Default

    Yeah, it's working. Don't I look like the smartest kid on the block? LOL. Thanks coothead.

  5. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,363
    Thanks
    1
    Thanked 243 Times in 238 Posts

    Default

    Hi there qwikad.com,

    no problem, you're very welcome.

    Don't knock yourself.

    Sometimes you just can't see the wood for the trees.

    coothead

Similar Threads

  1. Rounded Corners on Images?
    By teap0ts in forum Looking for such a script or service
    Replies: 1
    Last Post: 04-23-2011, 04:14 PM
  2. CSS Rounded Corners
    By toughstuff.htm in forum CSS
    Replies: 2
    Last Post: 11-26-2010, 08:38 PM
  3. [CSS]border with rounded corners
    By toploads in forum Submit a DHTML or CSS code
    Replies: 2
    Last Post: 11-19-2007, 04:26 PM
  4. Rounded Corners
    By xkyogre in forum CSS
    Replies: 4
    Last Post: 07-02-2007, 06:16 PM
  5. Rounded Corners
    By Cheng in forum CSS
    Replies: 5
    Last Post: 08-18-2006, 05:12 PM

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
  •