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 [2022/03/12 00:05]
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 33: Line 34:
  
 <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 53:
     </​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.txt ยท Last modified: 2022/03/12 00:05 by kevin