dropshadow

JQuery - drop shadow plugin. Custom color

Hello, I'm using Jquery plugin DropShadow: web site And I want to set drop shadow color manually. Color is specified in the usual manner, with a color name or hex value. The color parameter does not apply with transparent images. From documentation, so, here is my code: { ... color: "black", swap: false } I...

PHP - Check to see if an image has a drop shadow added?

Hello, I'm wondering if there's a decent way or any of some sort to check an image to see if there is a drop shadow added. Doing this with php, if possible. Just curious if there's any clever way of going about this, possibly. Thanks, Shawn ...

iphone drow shadow on circle

I have a simple circle drawn in my sub classed uiview as below. How do I add a slight drowshadow on the bottom of the circe? - (void)drawRect:(CGRect)rect { CGContextRef ctx = UIGraphicsGetCurrentContext(); UIGraphicsPushContext(ctx); CGContextSetRGBFillColor(ctx, 1.0f, 1.0f, 1.0f, 1.0f); // white color CGContex...

Problem with css footer

I'm having a problem with a webpage. I'm using the min-height property to place the footer at the bottom of the page (if content is not long enough) and after the content (if content is longer than the window). There are plenty of tutorials that describe this method and I too did it this way. html, body { height: 100%; } .container { ...

Add drop shadow to PNG using Cocoa

I have some PNGs with transparent backgrounds that I would like to add shadows to programatically. I've seen examples of adding shadows to square objects, but haven't seen any with complex shapes. So the two steps I think I'd have to do would be: Isolate the PNG shape Draw a shape behind the PNG that is blurred, faded, and offset. I...

Win32: How to make drop shadow honor non-rectangular Layered window?

i've created a layered window by adding the the WS_EX_LAYERED extended style: wndClass.ExStyle = wndClass.ExStyle || WS_EX_LAYERED; The window will use black as the chroma key color value. i've left a large surround of black to make the problem obvious: After the window is constructed, i tell it to use black as a chroma-key color...

Win32: How to draw outside my window?

Looking at a Windows tooltips class hint window, i see that it draws its drop-shadow outside the hint window's actual rectangle. Using SpyXX - i can get the tooltip's window rect, and class styles: Rectangle: (440, 229)-(544, 249), 104x20 Restored Rect: (440, 229)-(544, 249), 104x20 Client Rect: (0, 0)-(104, 20), 104x20 You'...

UIView with rounded rectangle and drop shadow: shadow appears above rectangle

I've got a uiview subclass where I'm trying to draw a rounded rectangle with a drop shadow. Though it draws both elements, I can see shadow through the rounded rectangle fill. I'm new to CG so I'm probably missing something simple (though it doesn't seem to be the alpha of the fill which is set to 1). Here's the draw rect code. - (vo...

WPF DropShadow Disappears

Wpf dropshadow disappears. Here is how to reproduce. Type the following in xaml pad. <Page.Resources> <DropShadowEffect x:Key="shadow" Opacity="1" ShadowDepth="1" Color="Blue" BlurRadius="30"/> </Page.Resources> <Grid> <Button HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0"...

HTML/CSS: How does Google create this drop shadow over their maps?

Question: How does Google create the dropshadow next to the vertical scrollbar over the Google Map? Linked below is a screenshot depicting exactly what I'm talking about. http://img291.imageshack.us/img291/2214/googlemaps.png This seems to be regardless of browser (IE, Firefox, Chrome) and platform (Windows, Mac, Linux). ...

Cross-browser drop shadows and rounded corners using mootools

I've seen a number of drop-shadow/rounded corner scripts out there that either use a canvas element to implement a shadow (ie liquidcanvas) or append a parent-element that wraps a div and emulates border-radius with a ton of DOM junk. Many of these scripts have been ported to jQuery, but I can't seem to find one that works using mootool...

Drop Shadow Center Column Website web page

How can I add a drop shadow effect to a website that has one center column? Some examples of what I mean: lala.com mint.com ...

How to create a window with DropDownShadow like Sticky Notes in Win 7?

Hello, How can I create a Win32 window like Sticky Note in Windows 7 which has no border but has drop down shadow effect? I have tried to create a Win32 window without borders (remove ~WS_BORDER), but the drop down effect shadow is gone. Any idea? Best regards, Zach@Shine ...

WPF TabControl & TabItems with DropShadows

Hi Guys, I'm looking for a way to control DropShadow (DS) effects on the TabControl and TabItems in Blend 3. I want a DS effect on the selected TabItem and TabControl and then a different DS effect on the unselected TabItems. There is an image here to show what I mean: http://www.funkadeelia.com/imageHosting/TabControl_example.jpg Ba...

Mimic CALayer shadow properties found in iPhone OS 3.2 for OS 3.1

The CALayer shadow properties like shadowOffset, shadowRadius, shadowColor are not available in iPhone OS versions below 3.2 and I'm wondering how I could mimic that functionality for use with 3.1 and below. I want to use this to be able to add drop shadows to UIViews in a clean way so that the shadows are drawn at layer level somehow, ...

WPF drop shadow

Currently I'm making something in WPF that has a border that contains a grid and other controls. The problem I'm facing is that whenever I set the Border.Effect property to a drop shadow effect every control contained in the border now has a drop shadow. Is there a way to set the shadow just to the border and not every control containe...

How to create drop shadows programmatically?

In one iPhone app, I'd like to add drop shadows to a few icons dynamically (the angle of the shadow is not fixed). Is there any built-in API for this purpose? If not, how can this be done? Thanks! ...

Jquery add drop shadow to layover

I am using this layover plugin to display content: http://jquery.com/demo/grey/ I know there must be a simple way to add a drop shadow border to the layover, similar to: http://fancybox.net/ but I can't figure out what the best method would be. Any suggestions? ...

Title for section in UITableView - remove text shadow ?

I have a grouped UITableView with black background color. Thus the gray section headers with the white drop shadows are unreadable. Next thing to know, the section height varies depending on language and section. How to solve this the most easy way ? If I implement viewForHeaderInSection I also need to implement heightForHeaderInSectio...

Using WPF hardware accelerated drop shadow in ASP.NET server-side?

I'd like to run drop shadow on Bitmap class in ASP.NET and I'd be really happy if GPU could do that. Any chance of this happening? Update: I'd like to do that on server side. It doesn't really have to be ASP.NET app, it could be console app or windows service. ...