This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
contact_widgets [2019/06/27 19:37] brittany [Adding a contact widget to your external Site] |
contact_widgets [2022/03/12 00:05] (current) kevin old revision restored (2020/05/28 19:49) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | #redirect https://support.realgeeks.com/hc/en-us/articles/360043677113 | ||
======Purpose======= | ======Purpose======= | ||
Line 23: | Line 24: | ||
</script> | </script> | ||
- | The line, **_rgq.push(['_setSecure', true]);**, needs to be added only if your site uses SSL (has https in the site url). | + | The line, **_rgq.push(['_popupContact']);_rgq.push(['_resize',500,800])**, needs to be added only if your site uses SSL (has https in the site url). |
Now, you can use the following javascript trigger anywhere on your page to open the contact form: | Now, you can use the following javascript trigger anywhere on your page to open the contact form: | ||
<code javascript> | <code javascript> | ||
- | _rgq.push(['_popupContact']); | + | _rgq.push(['_popupContact']);_rgq.push(['_resize',500,800]); |
</code> | </code> | ||
Line 35: | Line 36: | ||
<button onclick="_rgq.push(['_popupContact']);_rgq.push(['_resize',500,800])">Contact Us</button> | <button onclick="_rgq.push(['_popupContact']);_rgq.push(['_resize',500,800])">Contact Us</button> | ||
</code> | </code> | ||
+ | |||
+ | |||
====Demo==== | ====Demo==== | ||
Line 53: | Line 56: | ||
</html> | </html> | ||
+ | |||
+ | To learn how to add the contact us popup as a button on your real geeks site, click [[contentpopup|here]]. |