very, very nice! exactly what I was looking for. thanks so much, Glen!
I'll take a look at implementing this tonight or tomorrow.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 16, 2007, at 1:38 AM, Glen Lipka wrote:
Maybe a more scalable
I guess the first one could have been done with a div that was
background-color: black; and then set the opacity to 0.5 or whatever. No
need for a png in that.
A very common use case is just the 3px feather fade. Its not very big, just
3px in width. I think the first one, if you dynamically
Heh ... I'm secretly working on a shadow plugin that does just this ...
although not a secret anymore. It would be a follow up to my gradient
plugin. No timeline on when I'll get it done though ... looks like I'll have
some time this week ... so maybe this week or maybe next month. :)
--
Brandon
Great minds...something something.
That gradient plugin is neat, but, my goodness, its like I exploded a bomb
packed with DIVs instead of shrapnel!. :)
Glen
On 7/16/07, Brandon Aaron [EMAIL PROTECTED] wrote:
Heh ... I'm secretly working on a shadow plugin that does just this ...
although not
yeah, but it gets the job done, and it's not like you have all those
DIVs in the HTML. Jonathan and I used the same technique for a fade
technique in the Learning jQuery book. Not sure why I didn't think of
doing something similar for this. I guess I was fixated on getting a
single png
Hah! Very true. It can produce a lot of divs. :)
--
Brandon Aaron
On 7/16/07, Glen Lipka [EMAIL PROTECTED] wrote:
Great minds...something something.
That gradient plugin is neat, but, my goodness, its like I exploded a bomb
packed with DIVs instead of shrapnel!. :)
Glen
On 7/16/07, Brandon
Starting to look at it now. I recently had to do some fancy png shadows. (
http://www.sparkt.com/testing.html)
I totally gave up on trying to make it a background. Luckily you usually
have a workaround.
Here is my plan, and Ill work on it now...
I am going to make 10 png files, 10x10 with
Brilliant! You totally rock, Glen! Way above and beyond (but please,
keep going. ;-) )
Can't wait to see the demo.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 15, 2007, at 11:31 PM, Glen Lipka wrote:
Starting to look at it now. I recently
http://www.commadot.com/jquery/shadows/
Ok, the first experiment was using a 1x1 image.
I didnt fix for IE6 yet, but it's in the ballpark...nothing special
happening.
Ok, so the bad part was when I tried to stretch a non-1x1 image with a
fade. The fade of the shadow scaled (of course), so that
Maybe a more scalable solution:
http://www.commadot.com/jquery/shadows/v2.htm
I made a box (just one to start, but obviously there could be several
different opacities.)
Technique is to stretch the box and move it around underneath. That way you
can create your own shadow effect.
One could
10 matches
Mail list logo