PDA

View Full Version : Resolved How do I add rounded corners to the Image Magnify v1.11?



qwikad.com
07-20-2014, 04:10 AM
I've made a thicker border and would like to add rounded corners to it. The question is how?


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/dynamicindex4/imagemagnify.htm

Thanks!

coothead
07-20-2014, 07:20 AM
Hi there qwikad.com,


add this to your stylesheet...


.magnify {
border-radius:10px; /*adjust value to suit */
}


coothead

qwikad.com
07-20-2014, 11:05 AM
Yeah, it's working. Don't I look like the smartest kid on the block? LOL. Thanks coothead.

coothead
07-20-2014, 11:25 AM
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