Hi,
I need to drop a shadow for the ddl block on my home page and am using Jquery eye candy. I am not able to understand how to make it work as I am adding the code as was shown in the demo page with the id for that block. The code am adding is $("#block-ddblock-1").dropShadow(); Even after this am not getting the desired result. Please let me know if am wrong some where or need a patch for the same.

http://www.network8events.com/dypsa/ this is the home page where i want to drop the shadow.

Thanks.

Comments

JaredAM’s picture

What exactly are you trying to shadow? The block or the images in the block?

The dropshadow plugin only shadows those things with a background color. You could set the background color for #block-ddblock-1 to red, yellow, black or whatever, but not white.

Vinay Punyamurthy’s picture

Status: Active » Closed (fixed)
Peel’s picture

I'm having the same problem of dropshadows not showing up on my page. I'm using the following code in the configuration screen:
$('.quotes-quote p').dropShadow({left: 2, top: 2, opacity: 0.5, blur: 4});

My intent is to give a shadow to the text with the following html:
<div class="quotes-quote"><p> Some text with a shadow"</p></div>

I've checked the source from the browser and jquery.dropshadow.min.js is loaded and there are no errors on the page.

Peel’s picture

Priority: Critical » Normal
Status: Closed (fixed) » Active
Peel’s picture

After downloading and examining some sites that had it working, I figured it out on my own.

Here's the mistake I made, in case anyone else is having this problem. I mistakenly used this function call:

$(document).ready(function()

When I should have used this:

window.onload = function()

That made all the difference.

Vinay Punyamurthy’s picture

Status: Active » Closed (fixed)