Wednesday, March 27, 2013

How to Make a link in Pop-up Window

Now and then you may need to connection to a popup window from your Movable Type weblog. Case in point you can make your About page a popup in place of a divided page. Even though utilizing the target="blank" property in a hyperlink can produce another page, utilizing javascript charges for popups will give you more control over the presence and area of the popup.
1. Utilizing the onclick= quality within a hyperlink. This is the most effortless path to focus to a popup.
a. Make the html or php page holding the substance or structure that you need to see as your popup. You can safeguard this as a file template in your MT templates, or as an altogether divided index.
b. Confirm the extent of the popup window you need, and where on the screen you need it to show up. Size is measured in pixels, and area is measured in pixels from the upper left corner of the screen. Confirm assuming that you need menu or status bars to show up in your popup and provided that you need the window to be scrollable and resizable.
c. Connection to your popup by incorporating the onclick characteristics in the <a href tag like so:

<a href="http://www.blizboxschool.com/p/blog-page.html" onclick="window.open('http://www.blizboxschool.com/p/blog-page.html','popup','width=600,height=700, scrollbars=yes,resizable=yes,toolbar=no,directories=no, location=no,menubar=no,status=no,left=50,top=0'); return false">Profile Blizboxschool</a>
Test Here Profile Blizboxschool
*Replace http://www.blizboxschool.com/p/blog-page.html with the URL you want to popup.
Learn How to Make a link in Pop-up Window

How to Make a link in Pop-up Window Rating: 4.5 Diposkan Oleh: morellocyber

0 comments:

Post a Comment