Following Javascript function is used to pop up new window when we click on any link:
PUT THIS FUNCTION IN JAVASCRIPT
function showevent ()
{
window.open("test.html", "nw",'titlebar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=120,left=200,width=600,height=400')
}
NOW ON LINK TAG. i.e. A TAG, ADD
<a href="javascript:showevent();" >OPEN WINDOW</a>
Whenever we will click on LINK, test.html page will open. Here any page instead of test.html can be used, which you want to POP UP.
No comments:
Post a Comment