View Full Version : Shadow- how?
lastid
03-09-2007, 05: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
03-10-2007, 06:20 PM
Hello
Nobody wants to help me?
plz
tryanDLS
03-10-2007, 06: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
03-10-2007, 09: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
03-11-2007, 08:22 AM
Thanks alot.
Appreciate your help.
p.s: I didnt complain though, just impatient, sorry about that.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.