HTML & CSS Snippets

Name:Popup Window
Description: A simple popup window you can use for rules, privacy etc... that you often see in other website.

Code below...
<!-- Put the Javascript code between your header tags -->

<!-- You can change the height and the width to your likings -->
<script type="text/javascript">
function openWindow(url) {
    var w = window.open(url,"win","height=400,width=490,resizable,scrollbars,");
}
//-->
</script>

<!-- Here's an example of it's use -->

<!-- Just change the "rr.html" to the actual path of the file -->
<a href="JavaScript:openWindow('rr.html');">Rules and Regulations</a>

« Back to HTML & CSS Snippets

Home | Site Map | Privacy Policy | Advertising | Contact Us
Copyright © 2006-2014 r2xDesign.net - All Rights Reserved.
eXTReMe Tracker