User Tools

Site Tools


contact_widgets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
contact_widgets [2018/02/15 19:56]
brittany [Adding a contact widget to your external Site]
contact_widgets [2019/06/27 19:41] (current)
brittany [Demo]
Line 23: Line 23:
   </​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 33: Line 33:
  
 <code html> <code html>
-<button onclick="​_rgq.push(['​_popupContact'​])">​Contact Us</​button>​+<button onclick="​_rgq.push(['​_popupContact'​]);​_rgq.push(['​_resize',​500,​800])">​Contact Us</​button>​
 </​code>​ </​code>​
 +
 +
  
 ====Demo==== ====Demo====
Line 50: Line 52:
     </​script>​     </​script>​
 </​code>​ </​code>​
-<button onclick="​_rgq.push(['​_popupContact'​])">​Contact Us</​button>​+<button onclick="​_rgq.push(['​_popupContact'​]);​_rgq.push(['​_resize',​500,​800])">​Contact Us</​button>​
 </​html>​ </​html>​
  
 +
 +To learn how to add the contact us popup as a button on your real geeks site, click [[contentpopup|here]].
contact_widgets.1518724611.txt.gz ยท Last modified: 2018/02/15 19:56 by brittany