|
|
|
Pop-up
and Window Close
Put the following code between the head tags.
CODE |
<script language=javascript>
function popup(URL) {
window.open(URL, 'popup',
'toolbar=0,scrollbars=1,location=0,statusbar=0,
menubar=0,resizable=0,width=650,
height=400,left=100,top=100');
}
</script>
|
Now use this code to call some file:
CODE |
<a href="javascript<!-- emo-<!-- emo-:p
--><img src='http://www.talkdevelopment.com/tutmnger/images/emoticons/tongue.gif'><!--
emo-close --> --><img src='http://www.talkdevelopment.com/tutmnger/images/emoticons/tongue.gif'><!--
emo-close -->opup('popup.php')">click
me</a>
|
To Add a Javacode to close the pop-up when clicked simply use
the following snippet:
CODE |
<a href="javascript:window.close()">Close</a>
|
Tutorial By Xtasy
|
|