开发者

Simplemodal - How to implement it?

开发者 https://www.devze.com 2023-01-25 17:17 出处:网络
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)

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:

  1. That your script tags are in this order: JQuery, SimpleModal, JS file that contains the modal-open binding
  2. 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消