Welcome To Paki Tigers Community

Home­FAQ­Search­Memberlist­Usergroups­Register­Log in
Share | 
 

 Show Popup

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts: 102
Join date: 2008-09-25
Age: 19
Location: Pakistan

PostSubject: Show Popup   Sat Oct 04, 2008 12:40 pm

Hello Everybody


This is the source of popup

<html>
<head>
<script type="text/javascript">
function show_popup()
{
var p=window.createPopup();
var pbody=p.document.body;
pbody.style.backgroundColor="lime";
pbody.style.border="solid black 1px";
pbody.innerHTML="This is a pop-up! Click outside the pop-up to close.";
p.show(150,150,200,50,document.body);
}
</script>
</head>

<body>
<button onclick="show_popup()">Show pop-up!</button>
</body>

</html>
Back to top Go down
View user profile http://paki-tigers.yforum.biz
 

Show Popup

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
Welcome To Paki Tigers Community :: Programming / Designing / Source Code :: Html, Java Script & Css-