Destroy a Layer : Layer Destroy : Ajax Layer JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Ajax Layer » Layer Destroy »

 

Destroy a Layer




http://dynapi.sourceforge.net/
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
<html>
<head>
<title>Destroy Layer</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
//DynAPI Includes
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.api');
</script>
<script language="Javascript">
<!--
//***Init Code Start***


  lyr = new DynLayer('<a href="javascript:lyrdelete();">_Destroy()</a>',100,100,100,100,'FFFF00');
  dynapi.document.addChild(lyr);

  function lyrdelete() {
    lyr._destroy();
    alert('reload the page now');
  }
//***Init Code End***
//-->
</script>
</head>
<body bgcolor="#496481" style="overflow:hidden">
<script>
  dynapi.document.insertAllChildren();
</script>
</body>
</html>
           
       

Download : Download nav_dynapi.zip nav_dynapi.zip


-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Ajax Layer
» Layer Destroy