Title: JavaScript Help
Last modified: August 18, 2016

---

# JavaScript Help

 *  [idbehold](https://wordpress.org/support/users/idbehold/)
 * (@idbehold)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-help/)
 * I was wondering if someone could do this for me, because I suck with js, if you
   take a look [here](http://www.workingbath.com/) you will notice that each image
   has a shadow. I was wondering if someone could make me a js that would do this:
 * Search each post for <img> tags,
    then format it like this: <div class=”shadow
   right” style=”width: [IMAGE HEIGHT + 9]px”><img src=”something.jpg”></div>

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-help/#post-183783)
 * You don’t need javascript to do that. There are many different effects created
   with CSS shadow filters and things. Here are some sites for more help on this:
 * [Mandarian Design](http://www.mandarindesign.com/) and [css experiments](http://www.cameraontheroad.com/index.php?p=153).
 *  Thread Starter [idbehold](https://wordpress.org/support/users/idbehold/)
 * (@idbehold)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-help/#post-183794)
 * According to [A List Apart](http://alistapart.com/articles/cssdropshadows/) you
   cannot do the dropshadow effect without extra divs, ergo I want a js that will
   automatically add the extra divs to the img tags.
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-help/#post-183886)
 * According to the two sites I listed above, it’s done all the time and javascript
   is not needed to add DIVs to anything. I’ve done it plenty of times, using borders(
   silver or grey border on right and bottom), double layers of DIVS with background
   images using the z-index, using the various MSIE and other browser filters to
   create a shadow or drop shadow, and many other techniques and NEVER used javascript
   to create the shadow effect.
 * There are many ways of doing the same thing, I like keeping things simple.
 *  [iand](https://wordpress.org/support/users/iand/)
 * (@iand)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-help/#post-183892)
 * The link in this thread will take you to a page where there are all the instructions,
   as well as links to some css, images and a modifed quicktags file that add the
   drop shadow divs.
    [http://wordpress.org/support/topic.php?id=30079#post-169994](http://wordpress.org/support/topic.php?id=30079#post-169994)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘JavaScript Help’ is closed to new replies.

 * 4 replies
 * 3 participants
 * Last reply from: [iand](https://wordpress.org/support/users/iand/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-help/#post-183892)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
