Thread: javascript help
View Single Post
Old 08-04-2002, 03:11 PM  
Hind
So Fucking Banned
 
Join Date: Jul 2002
Posts: 384
Sure i can, use this in the HEAD tag of the window as a javascript:

********
function sendMe(url)
{
exit=false;
width = self.screen.availWidth;
height = self.screen.availHeight;
window.open(url,"windows_name","width="+width+",he ight="+height+",top=0,left=0,directories=yes,locat ion=yes,menubar=yes,scrollbars=yes,status=yes,tool bar=yes,resizable=yes,maximize=null,outerHeight=0, outerWidth=0");
window.close();
}
********

and this in the button as link:
a href="javascript:void(0)" onClick="sendMe('http://www.blabla.com/')"


let me know if worked for you.
Hind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote