Welcome To Paki Tigers Community


 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share
 

 Show Popup

Go down 
AuthorMessage
Admin
Admin


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

Show Popup Empty
PostSubject: Show Popup   Show Popup Icon_minitimeSat Oct 04, 2008 6:40 am

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.forumotion.com
 
Show Popup
Back to top 
Page 1 of 1

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