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
Last revision Both sides next revision
contact_widgets [2019/06/27 19:39]
brittany [Adding a contact widget to your external Site]
contact_widgets [2022/03/12 00:03]
kevin
Line 1: Line 1:
 +
 ======Purpose======= ======Purpose=======
  
Line 36: Line 37:
 </​code>​ </​code>​
  
-So the full code including the extra would be:  
  
-  <script type="​text/​javascript">​ 
-    var _rgq = _rgq || []; 
-    _rgq.push(['​_setSecure',​ true]); 
-    _rgq.push(['​_setDomain','​WWW.YOURSITEHERE.COM'​]);​ 
-    (function() { 
-       var rg = document.createElement('​script'​);​ rg.type = '​text/​javascript';​ rg.async = true; 
-       ​rg.src = '//​widgets.realgeeks.com/​static/​js/​rg.min.js';​ 
-       var s = document.getElementsByTagName('​script'​)[0];​ s.parentNode.insertBefore(rg,​ s); 
-     })(); 
-  </​script>​ 
-<code html> 
-<button onclick="​_rgq.push(['​_popupContact'​]);​_rgq.push(['​_resize',​500,​800])">​Contact Us</​button>​ 
-</​code>​ 
  
 ====Demo==== ====Demo====
Line 61: Line 48:
         (function() {         (function() {
            var rg = document.createElement('​script'​);​ rg.type = '​text/​javascript';​ rg.async = true;            var rg = document.createElement('​script'​);​ rg.type = '​text/​javascript';​ rg.async = true;
-           ​rg.src = 'http://​widgets.realgeeks.com/​static/​js/​rg.js';​+           ​rg.src = 'https://​widgets.realgeeks.com/​static/​js/​rg.js';​
            var s = document.getElementsByTagName('​script'​)[0];​ s.parentNode.insertBefore(rg,​ s);            var s = document.getElementsByTagName('​script'​)[0];​ s.parentNode.insertBefore(rg,​ s);
          })();          })();
Line 69: Line 56:
 </​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