File: sample.html

Recommend this page to a friend!
  Classes of Dixan Santiesteban   Navigator info   sample.html   Download  
File: sample.html
Role: Example script
Content type: text/plain
Description: Sample page
Class: Navigator info
Show the browser icon in the page using sprites
Author: By
Last change:
Date: 12 years ago
Size: 844 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script language="javascript" src=""></script> <script type="text/javascript" src="nav_info.class.js"></script> <style> LABEL { display:inline-block; } </style> <title>Documento sin t&iacute;tulo</title> </head> <body> </body> </html> <script> $(function(){ var a=new nav_info(); for (var t=0; t<a.navs.length; ++t){ var navname=a.navs[t]; navname=(t==a.getnav_id())?"<b>"+navname+" <....... (current) </b> ":navname; $(document.body).append(t+'.- <label class="nav_'+t+'">&nbsp;</label> '+navname+"<br>"); } }) </script>