Welcome Guest Search | Active Topics | Members

custom new window Options
rogem002
Posted: Friday, February 04, 2005 9:38:22 PM

Rank: Martian Estate Agent

Joined: 9/14/2003
Posts: 3,278
Location: United Kingdom
im looking for a script that when a text link is clicked will come up in a custom window for example i would like the window to to 300 by 400. is there any script that can do this???
Steviepunk
Posted: Friday, February 04, 2005 11:46:11 PM

Rank: Admin

Joined: 8/26/2002
Posts: 3,218
Location: United Kingdom
A javascript window.open command will do that

window.open('URL','WINDOWNAME','toolbar=0,scrollbars=0,location=0,width=300,height=400,resizable=0')



rogem002
Posted: Saturday, October 08, 2005 2:25:13 PM

Rank: Martian Estate Agent

Joined: 9/14/2003
Posts: 3,278
Location: United Kingdom
I just made a cool little Javascript baised on your code

<html>
<head>
</head>
<body>
<a href="#" onclick="window.open('http://www.google.com','001','toolbar=0,scrollbars=0,location=0,resizable=0')">YourLinkText</a>
</body>
</html>
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.