Changeset 2931635
- Timestamp:
- 06/28/2023 05:27:41 AM (3 years ago)
- Location:
- developress-sticky-footer-bar/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
developress_sticky_footer_bar.php (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
developress-sticky-footer-bar/trunk/README.txt
r2931268 r2931635 4 4 Requires at least: 6.0 5 5 Tested up to: 6.2.2 6 Stable tag: 2.0. 86 Stable tag: 2.0.9 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
developress-sticky-footer-bar/trunk/developress_sticky_footer_bar.php
r2931269 r2931635 10 10 * 11 11 * @link developress.it/roberto_paolucci 12 * @since 2.0. 812 * @since 2.0.9 13 13 * @package Developress_sticky_footer_bar 14 14 * … … 17 17 * Plugin URI: developress.it/plugin/developress_sticky_footer_bar 18 18 * Description: Plugin per la gestione di una footer bar 19 * Version: 2.0. 819 * Version: 2.0.9 20 20 * Author: Roberto Paolucci - DeveloPress.it 21 21 * Author URI: developress.it/roberto_paolucci … … 118 118 } 119 119 120 120 .thankyou-rightside { 121 background-color:#ffffff !important; 122 } 123 .icon-headset-developress { 124 color:#009704; 125 } 126 127 .icon-tab-big { 128 color:#009704; 129 font-size:21px; 130 margin-right:20px; 131 } 121 132 </style> 122 133 … … 140 151 </a> 141 152 142 <a style="background-color:#fff; border:1px solid #e3000f; padding:5px 20px 7px 20px; color:#e3000f;font-weight:700; border-radius:5px;margin-right:5px;" class="link-info-box" href="https://developress.it/open-a-ticket/" target="_blank">143 Open a Support Ticket <i class="fas fa-solid fa-book"></i>144 </a>145 153 146 154 <a style="background-color:#fff; border:1px solid #9d00ca; padding:5px 20px 7px 20px; color:#9d00ca;font-weight:700; border-radius:5px;margin-right:5px;" class="link-info-box" href="https://wordpress.org/support/plugin/developress-sticky-footer-bar/" target="_blank"> … … 207 215 <a href="#" class="tab-label" onclick="openTab(event, 'tab4')"><i class="fas fa-code"></i> Custom CSS</a> 208 216 <a href="#" class="tab-label" onclick="openTab(event, 'tab5')"><i class="far fa-check-circle"></i> Last Check</a> 209 <a href="#" class="tab-label" onclick="openTab(event, 'tab6')"><i class="fas fa-ad"></i> Promo</a> 217 <a href="#" class="tab-label icon-headset-developress" onclick="openTab(event, 'tab7')"><i class="fas fa-headset "></i> Support</a> 218 <a href="#" class="tab-label" onclick="openTab(event, 'tab6')"><i class="fas fa-ad"></i> Promo</a> 219 210 220 211 221 <?php … … 215 225 216 226 <div id="tab1" class="tab-content"> 217 <h2>Check to activate the stiky bar</h2> 227 <h2><i class="fas fa-toggle-on icon-tab-big"></i> Check to activate the stiky bar</h2> 228 <p> 229 When you have completed all the configurations, add the check mark in the box below to activate the footer bar. 230 </p> 218 231 <table> 219 232 … … 232 245 233 246 <div id="tab2" class="tab-content"> 234 <h2>Background and color</h2> 247 <h2><i class="fas fa-paint-brush icon-tab-big"></i> Background and color</h2> 248 <p> 249 Use the color pickers to assign a background color to the footer bar and the texts within it 250 </p> 251 235 252 <table> 236 253 <tr> … … 252 269 253 270 <div id="tab3" class="tab-content"> 254 <h2> Display on all devices?</h2>271 <h2><i class="fas fa-laptop-code icon-tab-big"></i> Display on all devices?</h2> 255 272 <p> 256 273 Choose on which type of device to show the footer bar … … 273 290 274 291 <div id="tab4" class="tab-content"> 275 <h2>Custom CSS</h2> 292 <h2><i class="fas fa-code icon-tab-big"></i> Custom CSS</h2> 293 <p> 294 If you have basic knowledge of HTML and CSS, you can add styling rules inside the box below. For example you can add a different color and size to the icons 295 </p> 296 276 297 <table> 277 298 <tr> … … 288 309 289 310 <div id="tab5" class="tab-content"> 290 <h2> Did you forget about…?</h2>311 <h2><i class="far fa-check-circle icon-tab-big"></i> Did you forget about…?</h2> 291 312 <table> 292 313 … … 296 317 <p>I remind you to assign the menu you want to display in the footer bar to the <strong>"Stikybar" position</strong> directly in <strong>Appearance > Menu</strong></p> 297 318 <p>If in doubt read the official <a href="https://developress.it/developress-plugin/developress-sticky-footer-bar/documentation/" target="_blank" rel="noopener">documentation, click here to read</a>.</p> 298 <p>or write me an email at: <a href="mailto:[email protected]">[email protected]</a></p> 319 <p>or write me an email at: <a href="mailto:[email protected]">[email protected]</a> or use the contact form in the tab "Support" of this page. 320 321 </p> 299 322 300 323 </td> … … 306 329 307 330 <div id="tab6" class="tab-content"> 308 <h2> Does your site have a Web Analytics system?</h2>331 <h2><i class="fas fa-ad icon-tab-big"></i> Does your site have a Web Analytics system?</h2> 309 332 <p> 310 333 How do you monitor your website traffic and events? For example: are you tracking the number of visits, the number of filled forms and the number of calls that come from the pages of your site? … … 330 353 </table> 331 354 </div> 355 356 <div id="tab7" class="tab-content"> 357 <h2><i class="fas fa-headset icon-tab-big"></i> Contact me </h2> 358 <p> 359 For plugin support, customization requests, or bug reports, use this form 360 </p> 361 <table> 362 363 <tr> 364 365 <td> 366 367 368 <iframe 369 id="JotFormIFrame-231775466350056" 370 title="Modulo" 371 onload="window.parent.scrollTo(0,0)" 372 allowtransparency="true" 373 allowfullscreen="true" 374 allow="geolocation; microphone; camera" 375 src="https://form.jotform.com/231775466350056" 376 frameborder="0" 377 style="min-width:100%;width:700px;height:539px;border:none;" 378 scrolling="no" 379 > 380 </iframe> 381 <script type="text/javascript"> 382 var ifr = document.getElementById("JotFormIFrame-231775466350056"); 383 if (ifr) { 384 var src = ifr.src; 385 var iframeParams = []; 386 if (window.location.href && window.location.href.indexOf("?") > -1) { 387 iframeParams = iframeParams.concat(window.location.href.substr(window.location.href.indexOf("?") + 1).split('&')); 388 } 389 if (src && src.indexOf("?") > -1) { 390 iframeParams = iframeParams.concat(src.substr(src.indexOf("?") + 1).split("&")); 391 src = src.substr(0, src.indexOf("?")) 392 } 393 iframeParams.push("isIframeEmbed=1"); 394 ifr.src = src + "?" + iframeParams.join('&'); 395 } 396 window.handleIFrameMessage = function(e) { 397 if (typeof e.data === 'object') { return; } 398 var args = e.data.split(":"); 399 if (args.length > 2) { iframe = document.getElementById("JotFormIFrame-" + args[(args.length - 1)]); } else { iframe = document.getElementById("JotFormIFrame"); } 400 if (!iframe) { return; } 401 switch (args[0]) { 402 case "scrollIntoView": 403 iframe.scrollIntoView(); 404 break; 405 case "setHeight": 406 iframe.style.height = args[1] + "px"; 407 if (!isNaN(args[1]) && parseInt(iframe.style.minHeight) > parseInt(args[1])) { 408 iframe.style.minHeight = args[1] + "px"; 409 } 410 break; 411 case "collapseErrorPage": 412 if (iframe.clientHeight > window.innerHeight) { 413 iframe.style.height = window.innerHeight + "px"; 414 } 415 break; 416 case "reloadPage": 417 window.location.reload(); 418 break; 419 case "loadScript": 420 if( !window.isPermitted(e.origin, ['jotform.com', 'jotform.pro']) ) { break; } 421 var src = args[1]; 422 if (args.length > 3) { 423 src = args[1] + ':' + args[2]; 424 } 425 var script = document.createElement('script'); 426 script.src = src; 427 script.type = 'text/javascript'; 428 document.body.appendChild(script); 429 break; 430 case "exitFullscreen": 431 if (window.document.exitFullscreen) window.document.exitFullscreen(); 432 else if (window.document.mozCancelFullScreen) window.document.mozCancelFullScreen(); 433 else if (window.document.mozCancelFullscreen) window.document.mozCancelFullScreen(); 434 else if (window.document.webkitExitFullscreen) window.document.webkitExitFullscreen(); 435 else if (window.document.msExitFullscreen) window.document.msExitFullscreen(); 436 break; 437 } 438 var isJotForm = (e.origin.indexOf("jotform") > -1) ? true : false; 439 if(isJotForm && "contentWindow" in iframe && "postMessage" in iframe.contentWindow) { 440 var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)}; 441 iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*"); 442 } 443 }; 444 window.isPermitted = function(originUrl, whitelisted_domains) { 445 var url = document.createElement('a'); 446 url.href = originUrl; 447 var hostname = url.hostname; 448 var result = false; 449 if( typeof hostname !== 'undefined' ) { 450 whitelisted_domains.forEach(function(element) { 451 if( hostname.slice((-1 * element.length - 1)) === '.'.concat(element) || hostname === element ) { 452 result = true; 453 } 454 }); 455 return result; 456 } 457 }; 458 if (window.addEventListener) { 459 window.addEventListener("message", handleIFrameMessage, false); 460 } else if (window.attachEvent) { 461 window.attachEvent("onmessage", handleIFrameMessage); 462 } 463 </script> 464 465 </td> 466 </tr> 467 468 </table> 469 </div> 332 470 333 471 <script>
Note: See TracChangeset
for help on using the changeset viewer.