Sunday, December 20, 2009

Blusher For Olive Skin

How to open a popup window from the blog

How to open a popup window from the blog

http://iolecal.blogspot.com/ 2009/04/come-aprire-una-finestra-popup-dal-blog.html

E 'can open a popup window by Blogger and display it in an image or text by clicking on a button or a link in blog.

For example, clicking on this link opens a popup with the content of the post within the area enclosed by the board:


Let's see the javascript code to insert into the template of the blog and the syntax to display the popup.

First line you must enter this code:



where

id is the id of the div whose content must be displayed in the popup while the two numeric values \u200b\u200b
400 and 300
represent the size of the popup window. If the two dimensions are not specified the default is 800x600.
What is the id of a div and what is it?? In my post, the html of the div with the border is as follows:

id = "popup"
style = "border: 3px double rgb (247, 155, 173); margin: 0pt auto ; padding: 15px; width: 260px; height: 200px; text-align: center; ">

Photo by:
Amsis
link to see the popup with the content div. openPopup function may be associated with the event onclick

a link in an image but also
. In this case, the syntax is:

0 comments:

Post a Comment