Tuesday, November 8, 2011

How to create a pop-up for your blog/website


A pop-up is a graphical user interface ( GUI ) display area, usually a small window, that suddenly appears ("pops up") in the foreground of the visual interface. Pop-ups can be initiated by a single or double mouse click or rollover (sometimes called a mouseover), and also possibly by voice command or can simply be timed to occur. A pop-up window must be smaller than the background window or interface; otherwise, it's a replacement interface.
bascially,we use javascript to create pop-ups,pop-ups can be really usefull for you if you want more subscriber,so that you can place your subscribtion box as pop up,or you are selling some item,but at the same time,you may loose some of your readers as they are annoying aswell.
the coding for creating pop-ups is extremley simple,

check out below:

<body onload="window.open('table.html','popname','height=400 width=400')">

table.html-the name of your webpage

pop name-any name you want

height-height of pop up

width-width of pop up

just replace <body> tag from your webpage coding with the above coding..

HOW WAS THE POST!!!

0 comments:

Post a Comment