|
Well, it almost takes no time at all : ) and it would take a lot of
time to reflect 10.000 images :P I think its worth the time, but this plugin might not be necessary if you only have a couple of static images.... Andy Matthews wrote: I wonder... Is this REALLY something that needs a plugin? It's obviously done already, but just do it in Photoshop or the Gimp or something. You're already loading the image, why waste browser processing time/speed with something that could be static.My opinion is that if it doesn't increase functionality or do something for you that would take forever manually, why bother with a plugin? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of George Adamson Sent: Saturday, October 14, 2006 4:51 AM To: [email protected] Subject: Re: [jQuery] [ANN] JReflection Had a play with this. It adds a reflection below image elements. The effect crops up in numerous other plugins so it is nice to have this wrapped in a plugin of its own. Took a moment to figure it out because I applied it to elements at first and got nothing. Re-read/figured that you apply it to elements that contain elements. Works well after that! probably worth making it work directly on img elements too eg $("#myImage").Reflection(). A couple of other points: - How do you pass the options in? Other plugins do it like this: .Reflection(options) - Wrapping the image in a div is an accepted way of doing this but it does interfere with any positioning etc that the image may have on it. I've not seen a really good solution for this that tackles both positioned and non-positioned images. Would it be practical to leave the image as it is and place the reflection in a positioned div just below the image? (You may then need to make space for the reflection otherwise it will cover elements below the image. Extending the bottom margin of the image is a possiblity in some scenarios.) - It assumes a vertical reflection. An option for horiz reflection would be great but I realise you may then need extra options for left and right (then perhaps separate width & opacity options for the horiz reflection and then top and bottom too) - IE can reflect other elements. Can the canvas element reflect other elements too (text etc) ? - The defaults hash may clash with other plugins because it is global (just needs "var" in front of it) George Rey Bango-2 wrote: |
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
