Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qTip drop shadows
11th February, 12:43
Post: #1
qTip drop shadows
Hi all,

I have created the shadow for this tooltip by using the callback function, but this does not give the exact look and feel of the normal shadow.

I would like to know to know is there any other way to acheive this shadow.

Thanks
Babu Pca
Find all posts by this user
Quote this message in a reply
11th February, 14:15
Post: #2
RE: I have created the shadow for the qTip
baabupca, what shadow are you referring to?

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
12th February, 09:54
Post: #3
RE: I have created the shadow for the qTip
(11th February 14:15)Craig Wrote:  baabupca, what shadow are you referring to?

Hi,
I have used the following jquery.shadow.js plugin for applying the shadow
$(selector).dropshadow();
Find all posts by this user
Quote this message in a reply
12th February, 15:00
Post: #4
RE: I have created the shadow for the qTip
Ah using another jQuery plugin, I see. That sounds like it could slow down the page a lot. You could try a trick I picked up over from phpied.com using CSS:

CSS Code
.shadow {
  /* offset left, top, thickness, color with alpha */
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  /* IE */
  filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray');
  /* slightly different syntax for IE8 */
  -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray')";
}


Granted, the shadows aren't as nice in IE as those WebKit and Mozilla browsers, and it's supported could be limited. Still it falls back nicely in older browsers since it uses CSs, and has minimal performance effect.

For more details and filters, checkout the full article: http://www.phpied.com/css-performance-ui...er-images/

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
26th February, 06:28
Post: #5
RE: qTip drop shadows
Thanks for this. I want to find a css-way for rounded corner without some pictures.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)