All you need to make a pop-up in HTML is to copy the code given below and paste it where you want to give the link of pop-up.
<!-- TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=1024,height=768,left = 0,top = 0');");
}
// End -->
</script>
<!-- STEP TWO: Use the following link to open the new window -->
<A HREF="javascript:popUp('http://tamilkavithaigal2u.blogspot.com/')">Open the Popup Window</A>
<!-- Script Size: 0.73 KB -->
CHANGES IN ABOVE CODE:
1.Change the link http://www.devilsworkshop.org to the desired page you wants to open with your pop-up.
2.Change the desired width and height.
3.Change toolbar, statusbar, scrollbar e.t.c according to your requirements.
I think that was simple enough, for any further clarification kindly drop us a comment.
Open the Popup Window
<!-- TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=1024,height=768,left = 0,top = 0');");
}
// End -->
</script>
<!-- STEP TWO: Use the following link to open the new window -->
<A HREF="javascript:popUp('http://tamilkavithaigal2u.blogspot.com/')">Open the Popup Window</A>
<!-- Script Size: 0.73 KB -->
CHANGES IN ABOVE CODE:
1.Change the link http://www.devilsworkshop.org to the desired page you wants to open with your pop-up.
2.Change the desired width and height.
3.Change toolbar, statusbar, scrollbar e.t.c according to your requirements.
I think that was simple enough, for any further clarification kindly drop us a comment.
Open the Popup Window
How can i use this on my site
ReplyDeleteChuyên thiết bị định vị, dinh vi oto, thiet bi dinh vi giá tốt nhất thị trường
ReplyDelete
ReplyDeleteThank you for sharing
شركة نقل اثاث من الرياض الى القصيم
شركة نقل اثاث من الرياض الى المدينة المنورة
ارخص شركة شحن من السعودية للكويت
شركة نقل عفش من الرياض الى البحرين