Return to Snippet

Revision: 542
at July 18, 2006 04:01 by masaya


Initial Code
setNav = function(){
	var _html = "";
	_html += "<ul id='nav'>";
	_html += "	<li class='Home'><a href='/' title=''>Home</a></li>";
	_html += "	<li class='About'><a href='/' title=''>About</a></li>";
	_html += "	<li class='News'><a href='/' title=''>News</a></li>";
	_html += "	<li class='Contact'><a href='/' title=''>Contact</a></li>";
	_html += "</ul>";
	document.write(_html);
}

Initial URL

                                

Initial Description

                                

Initial Title
Basic Navigation Script - setNav

Initial Tags
javascript, html, navigation

Initial Language
JavaScript