Simplemodal - How to implement it?
Newbie here...easy question for you pro outthere
How to put a b开发者_运维技巧utton on a htmlpage that says E-mail here, and then the simplemodal contactform pop up (just like in the demo) Can't get it right with the link... :(
Regards /Pia
Posting your code (HTML and JS) would be helpful here as the examples are pretty clear for a simple situation like this, so it's hard to know what you're doing wrong.
Check the following:
- That your script tags are in this order: JQuery, SimpleModal, JS file that contains the modal-open binding
- That you are binding to the right div in your html with $('#id').modal() preferably - $('.class').modal() might work, but binding by id is best
Have you tried downloading the contact form demo and using the code in the index file as an example of how to do it?
精彩评论