Posts

Showing posts from February, 2011

20 Things I Learned About Browsers and the Web

20 Things I Learned About Browsers and the Web

JavaScript Pop-Ups

Hi! In this post I want to show you two methods for opening pop-up windows using the wonderful and powerful scripting language called JavaScript. Example 1 Here is the simplest form of pop-up window . Click the link below to see the window in action. Open a new window Example 2 This is a slightly more sophisticated pop-up. Firstly, it opens in the centre of the screen. Secondly, it re-focuses (pops-up) even when the window is minimised. Try it and see! Open a centred popup window Acknowledgement: The JavaScript itself has been taken from: javascript-array.com . So, perhaps I can now write a piece of text and add some vocabulary glosses. So, a glossary can be very useful in a text.