blade
GEEK 2.0
im trying to have javascript in my header, so i dont have to re-type the attributes on every page i want a pop-up, so far this is what i have, but its not working..
code to put in header..
code to put on any page..
code to put in header..
<SCRIPT LANGUAGE="JavaScript">
function openwindow()
{
window.open('','','width=620,height=800,resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no');
}
</SCRIPT>
code to put on any page..
<a href="javascript:openwindow()" onClick="window.open('http://www.website.com','Shipping Terms')">Shipping Terms</a>