Create a pop-up blogger
| | |
is to open a new browser window containing a page or specific content.
In short, are defined
all pop-up advertising windows that suddenly appear while we're browsing certain web sites or windows that open when you click on the appropriate link.
The programming language used to create these special windows is the famous JavaScript
.
After this brief introduction, we turn to what is the body of quet'articolo, the creation of a pop-up bloggers.
What we are going to create is something quite different from the various advertisements that suddenly appear. Our
fact, it will open only when one of our members have decided to click on a particular link.
Try clicking on this link
to understand what we're really talking about. Should open a small window size 300x300 containing the logo of the chamber of the blog. This is the well known appearance of a pop-up
.
The creation of a pop-up is not particularly difficult. Just follow some simple precautions. First, let us go in Layout / Edit HTML and execute, as a precaution, the backup
of our model.
Without the backup, we look for the string
and insert this code just before:
function openPopup (dividends, W, H) {if (W == undefined
finished making changes save the template.
We will then invoke the code that will allow us to integrate the pop-up on our blog.
Then we will see how to put one of these windows into the post or widget blogger.
Do not worry, it's a simple procedure. Just make use of this line of code:
We will then invoke the code that will allow us to integrate the pop-up on our blog. Then we will see how to put one of these windows into the post or widget blogger.
link
To define the content of this pop-up, simply create a
id = pop-up as in the example reported: background: # 000000;
text-align: center; ">
0 comments:
Post a Comment