codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:



Home » Javascript » Article

Javascript Growing window

Article by: farnoosh (12/11/2003)
Bookmark us now! Add to Favourites
Email a friend!Tell a friend
Summary: this is a neat pop up windows which glows from the center after clicking on a link and really catches the eyes of the visitors.
Viewed: 69060 times Rating (25 votes): 
 3.2 out of 5
 Rate this Article  Read Comments  Post Comments

Javascript Growing window

Online Demo

This is a neat pop up windows which grows from the center after clicking on a link and really catches the eyes of the visitors.

If you want to see the working growing window simply click here

Copy and paste the following code into your html head tag.

Select All Code


This script simply links to your growing window.

Select All Code


And finally here is the script for your .js file just copy and past it to the notepad and save it as a javascript file in the same directory where your page is.

Select All Code


Hope you enjoy it!!!




CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
Rate this article:     Poor Excellent
View highlighted Comments
User Comments on 'Javascript Growing window'
Posted by :  DefaultUserXP at 08:31 on Wednesday, May 19, 2004
Hello farnoosh. I just had to say hello & thanks 4 the Code. Come visit me on http://regedit.com

<Added>

The above link should be http://regedits.com
Posted by :  mahmood at 13:12 on Wednesday, March 02, 2005
salam farnosh man ham irani hasam i have problem about tab +javascript
Posted by :  bryanh at 09:54 on Sunday, May 13, 2007
Hello,

I need to know how to modify the js file so, that the parent window does not change as well. This is a great piece of code. I just have not been able to figure out how to click the link, have the new window open with the new href, but not modify the parent window. Im using this for a photogallery on my website and it works perfect for spawning my slideshows, but it keeps changing the parent window, which is a real issue.

Any ideas would be helpful. Thanks again for the code!

Bryan
Posted by :  xaprios at 04:35 on Friday, January 30, 2009
Hey it s not working. can u give me demo


To post comments you need to become a member. If you are already a member, please log in .

 



RELATED ARTICLES
Javascript - Enable and Disable form elements
by Jeff Anderson
This is a relatively little known and under-used feature of javascript which can be very useful in guiding a user through a form. Using the disabled tag, you can switch on and off elements in a form.
Check IsNumeric Function
by Jeff Anderson
A javascript validation function to check whether the details entered by a user are numeric.
Javascript Onload Event
by Jeff Anderson
Sometimes you need to perform an action immediatley after the page has loaded. That's when the onLoad Event Handler comes in handy
Form Validation Function
by Jeff Anderson
A javascript validation function that you can use to validate all types of forms.
JavaScript Field Is Empty Form Validation
by Jeff Anderson
This javascript function allows you to check whether a form field has been completed or not.
Javascript Get Selected Text
by Jeff Anderson
A cross-browser script to get text selected by the user
Check Email Validation Function
by Jeff Anderson
A javascript validation function to check whether the user has entered a valid email address in a form.
Multiple submit buttons on a single form
by Kiran Pai
This script shows you how to submit the contents of a form to different programs depending on which Submit button you press. Additionally it also shows how to call two different functions when you press the Submit button.
Validate Form and Disable Submit Button
by Marylou Marks
I have a form that validates info, but I also want to disable the submit button. The disable part worked before adding the form validating.
Javascript onUnload Event Handler
by Jeff Anderson
The onUnload Event Handler allows you to perform an action as the user leaves the page.








Recent Forum Threads
• C++
• Re: refresh parent after closing pop up window
• Dynamic Insertion
• Date and Time function around the world???
• Significant Factors
• Perl array access
• Re: huffman encoding and decoding in C++...
• Perl One Liner: Replace {(
• Re: html including php, accessing the functions


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009