Forum Moderators: open
Does anybody have any idea how i can stop this from happening?
thanks, joe.
<a href="javascript:window.open('[YourURL]','[YourWindowName]','[WindowOption1],[WindowOption2],etc...');"
Common window options are:
width=(in pixels, e.g. 350)
height=(in pixels)
toolbar=(yes/no)
directories=(yes/no)
location=(yes/no)
menubar=(yes/no)
resizeable=(yes/no)
scrollbars=(yes/no)
status=(yes/no)
<a href="" OnClick="window.close()">Close Window</a>
The height and width can be set to whatever you like and you can make them non-resizable if you wish. Play around with the code to suit what you want. This will not work though for your main window....As far as I know that cannot be changed.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<a href="javascript:window.open('[file:///Macintosh%20HD/Desktop%20Folder/testing/frameset_kitch.html]','[website]','[width=(829)]','[height=(573)]','[toolbar=(no)]');"
</body>
</html>
thats how the page looks at the moment, but the javascript code still isn't working. It's telling me that its 'missing a closing bracket or a quote'. Being a complete beginner at using javascrpit coding, im not sure what to do to make this page work.
please help. thanks, joe.