Title: Javascript stops lightbox
Last modified: August 21, 2016

---

# Javascript stops lightbox

 *  [samwatts](https://wordpress.org/support/users/samwatts/)
 * (@samwatts)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/javascript-stops-lightbox/)
 * I have a JavaScript that I have recently added to my webpage along with an image.
   When the JavaScript is not there my image loads and when clicked opens in a lightbox.
   When the JavaScript is there it stops the image from opening in a lightbox and
   opens in the same window but on a big white background separate from the webpage.
 * I am using the this coding for my image:
    [style_image width=”” height=”” image
   =”” align=”” alt=”” url=”” border=”” lightbox=”yes” fade=””] I have a feeling
   it may not be working as my JavaScript is a form that also opens in a lightbox
   therefore it will stop my image lightbox from working?
 * I hope somebody can help!

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/javascript-stops-lightbox/#post-4204199)
 * First, identify which lightbox plugin you are using and then post in that plugin’s
   dedicated forum via its page in the [Plugin Repository](http://wordpress.org/plugins/).

Viewing 1 replies (of 1 total)

The topic ‘Javascript stops lightbox’ is closed to new replies.

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [link](https://wordpress.org/support/topic-tag/link/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/javascript-stops-lightbox/#post-4204199)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
