I have ever visited some websites. When I click the link, it automatically pop up additional webpage. Does anyone know the HTML code for additional popup homepage?
What is the HTML code for additional popup homepage?
in the %26lt;a href... tab after the link type in.... target="_blank"%26gt;
that should help you,,,
have fun
hope i helped...if not..e-mail me at saif_dragoneer@yahoo.com
Reply:saif is correct. You want to use the target "_blank"
Reply:%26lt;a href=# onClick= javascript:window.open('a.htm', 'MapUs', 'width=1024,height=768, toolbar=0, scrollbars=1,resizable=1, status=1, top=1, left=1');
Or you could do %26lt;a href=# onClick=Whatever();%26gt;
And put this on page:
%26lt;script language = "JavaScript"%26gt;
function Whatever()
{
window.open('a.htm,'MapUs','width=1024...
}
%26lt;/script%26gt;
The guys talking about target=_blank is correct, but that just simply opens a totally new webpage.
The purpose of my post is in case you want it to look like a TRUE popup windows (yes those annoying popups). My version will prevent the buttons, address bars, status bar (bottom page), etc from displaying. Note on my example, see how I got toolbar=1 and other things = 1 or a zero? 1 means turn on, 0 means turn off. So you can play around with that, changing the 1's to 0's / vice versa and see how the final product looks.
The top=1 and left=1 is the position of the windows, so top=1 means very top of page, and left=1 means very left of page, so the popup will appear on top left corner.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment