<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Ralph Whitbeck - Blog - Simple Shadow</title>
    <link>http://ralphwhitbeck.com/</link>
    <description />
    <language>en-us</language>
    <copyright>Ralph Whitbeck</copyright>
    <lastBuildDate>Wed, 27 Aug 2008 02:08:01 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>ralph.whitbeck@gmail.com</managingEditor>
    <webMaster>ralph.whitbeck@gmail.com</webMaster>
    <item>
      <trackback:ping>http://ralphwhitbeck.com/Trackback.aspx?guid=04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6</trackback:ping>
      <pingback:server>http://ralphwhitbeck.com/pingback.aspx</pingback:server>
      <pingback:target>http://ralphwhitbeck.com/PermaLink,guid,04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6.aspx</pingback:target>
      <dc:creator>Ralph Whitbeck</dc:creator>
      <wfw:comment>http://ralphwhitbeck.com/CommentView,guid,04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6.aspx</wfw:comment>
      <wfw:commentRss>http://ralphwhitbeck.com/SyndicationService.asmx/GetEntryCommentsRss?guid=04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <b>UPDATE:</b> Simple Shadow has been set
up on Google Code. <a href="http://code.google.com/p/jquerysimpleshadow/">You can
get the latest here</a>.<br /><br />
We've been researching and trying out javascript shadow solutions for quite sometime.
Our designers are really liking to add subtle dropshadows to elements in their designs. <a href="http://ui.jquery.com/">jQuery
UI</a> had a shadow plugin and it looked promising. I even submitted some bug reports
to help it along. But it's been officially removed from the project for the time being.<br /><br />
We've been using <a href="http://www.ruzee.com/blog/shadedborder/">RUZEE.shadedborder</a> to
handle our shadow needs. It works but adds a lot of undesired div tags to make the
gradient color. But the biggest problem was it was really slow and caused IE to crash
when I had six items on a page RUZZEEIFIED.<br /><br />
I finally gave in and decided to write my own shadow plugin to handle my specific
needs which were to display a shadow of 10px width on the right and bottom sides.
I needed it to be easy as well so it uses graphics to accomplish the shadow.<br /><br />
This will work on any element that has a width and height specified in css. It requires
three image files that are included in the complete zip file below. <a href="http://ralphwhitbeck.com/simpleshadow/test-doc.html">See
demo</a>.<br /><br />
Here is the code to make the shadow:<br /><br /><code class="javascript">$(document).ready(function() { $("div").shadow(); });</code><br /><b><br />
Download</b><br /><br /><b>UPDATE:</b> Simple Shadow has been set up on Google Code. <a href="http://code.google.com/p/jquerysimpleshadow/">You
can get the latest here</a>.<br /><br /><p></p><img width="0" height="0" src="http://ralphwhitbeck.com/aggbug.ashx?id=04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6" /></body>
      <title>jQuery Plugin - Simple Shadow</title>
      <guid isPermaLink="false">http://ralphwhitbeck.com/PermaLink,guid,04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6.aspx</guid>
      <link>http://ralphwhitbeck.com/2008/08/27/jQueryPluginSimpleShadow.aspx</link>
      <pubDate>Wed, 27 Aug 2008 02:08:01 GMT</pubDate>
      <description>&lt;b&gt;UPDATE:&lt;/b&gt; Simple Shadow has been set up on Google Code. &lt;a href="http://code.google.com/p/jquerysimpleshadow/"&gt;You
can get the latest here&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
We've been researching and trying out javascript shadow solutions for quite sometime.
Our designers are really liking to add subtle dropshadows to elements in their designs. &lt;a href="http://ui.jquery.com/"&gt;jQuery
UI&lt;/a&gt; had a shadow plugin and it looked promising. I even submitted some bug reports
to help it along. But it's been officially removed from the project for the time being.&lt;br&gt;
&lt;br&gt;
We've been using &lt;a href="http://www.ruzee.com/blog/shadedborder/"&gt;RUZEE.shadedborder&lt;/a&gt; to
handle our shadow needs. It works but adds a lot of undesired div tags to make the
gradient color. But the biggest problem was it was really slow and caused IE to crash
when I had six items on a page RUZZEEIFIED.&lt;br&gt;
&lt;br&gt;
I finally gave in and decided to write my own shadow plugin to handle my specific
needs which were to display a shadow of 10px width on the right and bottom sides.
I needed it to be easy as well so it uses graphics to accomplish the shadow.&lt;br&gt;
&lt;br&gt;
This will work on any element that has a width and height specified in css. It requires
three image files that are included in the complete zip file below. &lt;a href="http://ralphwhitbeck.com/simpleshadow/test-doc.html"&gt;See
demo&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
Here is the code to make the shadow:&lt;br&gt;
&lt;br&gt;
&lt;code class="javascript"&gt;$(document).ready(function() { $("div").shadow(); });&lt;/code&gt;
&lt;br&gt;
&lt;b&gt;
&lt;br&gt;
Download&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;UPDATE:&lt;/b&gt; Simple Shadow has been set up on Google Code. &lt;a href="http://code.google.com/p/jquerysimpleshadow/"&gt;You
can get the latest here&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://ralphwhitbeck.com/aggbug.ashx?id=04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6" /&gt;</description>
      <comments>http://ralphwhitbeck.com/CommentView,guid,04326ce0-3d4c-4bcd-9d9b-a0f8564ad7b6.aspx</comments>
      <category>How-to;Programming;Simple Shadow;Technology</category>
    </item>
  </channel>
</rss>