Website Scripts

WebSite scripts download free PHP scripts. Software php scripts for creating your website

How to open two tabs by clicking on a link

открыть две ссылки по клику

<a href="http:/google.com" data-href2="https://script-money.cc/">Click</a> <script> var els = document.querySelectorAll("a"); for(var i = 0; i < els.length;i++) els[i].addEventListener("click",function(){if(this.getAttribute("data-href2"))window.open(this.getAttribute("data-href2"));},false) </script> <a href=//yandex.ru onclick=window.open('//google.com')>ссылка</a>

Read More »

Generating the title of a page in PHP

вывести содержимое title

output the content of the title 1 option <script language=javascript> window.top.document.title=”TEXT”</script> <title>{title}</title> option 2 <?php############# generating a headerfunction title($pagename,$all){global $SITE;##### …

Read More »