'imports' Example : imports : Javascript Collections JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Collections » imports »

 

'imports' Example



    
<html>
<head>
<style type="text/css" id="myStyle">
@import "external.css";
@import "examples.css";
@import "heading.css";
@import "navioo.css";
@import "demo.css";
</style>
</head>
<body>
<p>Body content.</p>
<script language="JavaScript">
    alert(document.styleSheets(0).imports.length);
</script>
</body>
</html>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Collections
» imports