Javascript for Safari
Hello everyone, I have question. I'm designing a web page that I want to open at a certain size I want it to be 800 pixels wide. I'm using Adobe GoLive 6.0 and I'm COMPLETELY new to Javascript. Can you tell me EXACTLY what to coe and where. I'm using HTML.
Thanks for your time. If I get a fast enough reply, you'll save my ass!!!!!
Thanks for your time. If I get a fast enough reply, you'll save my ass!!!!!

Comments
javascript:win=window.open('bookmarks://','','toolbar=0,location=0,directories=0,status=1, menubar=0,scrollbars=1,resizable=1,top=0,left=0'); win.resizeTo(800,600);
Good luck
p.s. There's no space in javascript
Originally posted by Dale Sorel
I think you can use something like this:
Code:
javascript:win=window.open('bookmarks://','','toolbar=0,location=0,directories=0,status=1, menubar=0,scrollbars=1,resizable=1,top=0,left=0'); win.resizeTo(800,600);
Good luck
p.s. There's no space in javascript
That's great, but where in my HTML do I put that code?
Thanks
<html>
<head>
<title> Bleh </title>
</head>
<body>
<a href="#" onclick="window.open('some url','windowname','parameters');">
Click here to continue
</a>
</body>
</html>
You would obviously replace 'some url' with http://etc, and parameters could look like this:-
width=800,height=600,top=0,left=0