Welcome to Virtual Tutorial World Guest!



Craete a Pop-Up Window

 
Post new topic   Reply to topic    VTW Forum Index -> Javascript
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.





Tokens:


Posted:     Post subject:

Back to top
computergeek67
Administrator
Administrator


Joined: 31 Jul 2007
Posts: 144


Tokens: 147
Location: US

PostPosted: Sun Dec 16, 2007 12:46 pm    Post subject: Craete a Pop-Up Window Reply with quote

Ever wanted to make a flash or an image pop-up in a window with a specific width and height.
Well now you can, with a simple few lines of javascript.
Just add the following code to your page and change the variables that are in caps.

so here's the code :
Code:
<a href="java script:void(0)"
onclick="window.open('HYPERLINK OF CONTENT','miniwin','toolbar=0,location=0,directories=0,status=0,
menubar=0,scrollbars=0,resizable=0,width=XXX,height=XXX')">TEXT OF CONTENT</a>


and thats it.

-The Anizone



_________________



Come to me if you have any questions
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VTW Forum Index -> Javascript All times are GMT - 5 Hours
Page 1 of 1

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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Virtual Tutorial World ©2007-2008 computergeek67

Affiliates