Trying to add a Modal to my homepage


#1

Hello all,
I am adding a modal javascript plugin on my homepage. I am using Prohibition. I have added the HTML to the Homepage in the editor. I added the CSS to the slider CSS which is on the homepage. The javascript is in the main.js file. The Modal shows up on the homepage and it is styled, but it will not open. Do I need to make any changes or make a connection with parsley to make it work?

Thanks


#2

You may need to wrap your javascript in an on dom ready http://stackoverflow.com/questions/799981/document-ready-equivalent-without-jquery

What javascript framework are you using (if any)

Also, provide a link of the page you are working on.


#3

Turn out I had not saved my javascript correctly. It is working now. Thank you.