View Full Version : Shadow- how?
lastid
9 Mar 2007, 2:58 PM
This is my first post, so I want to thank Jack for his amazing work.
My question is: how to create shadow for an element.
For example I have some images, now I want to add shadow to them.
How I can do that.
Thanks in advance.
lastid
10 Mar 2007, 3:20 PM
Hello
Nobody wants to help me?
plz
tryanDLS
10 Mar 2007, 3:42 PM
Please don't complain b/c you don't get an answer to your question fast enough - this is a free support forum and questions are answered by the community a) when they have time and b) have an answer to give.
The functionality to create a shadow is not documented yet, so you'll have to take a look at the source. It should be fairly simple to create on any element. BasicDialog uses the functionality - you can see how to set up the object, by reading that code. Also, if you look at shadow.js, you'll see there are some other configurations options besides the default.
TommyMaintz
10 Mar 2007, 6:04 PM
In particular, look at the Ext.Layer object. I think it even has documentation already.
Layer is like a normal Ext Element object but it supports a shim and shadow.
So that should make it fairly easy.
ps. I agree with tryanDLS
lastid
11 Mar 2007, 4:22 AM
Thanks alot.
Appreciate your help.
p.s: I didnt complain though, just impatient, sorry about that.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.