index.html

来自「80套经典网页设计模版 80套完整的经典网页设计模板」· HTML 代码 · 共 173 行

HTML
173
字号
<html>

<HEAD>

<TITLE> 一线天网站模版</TITLE>

</HEAD>

<body bgcolor="#ffffff" link="666666" alink="ffffff" vlink="333333">



<script language="JavaScript"><!--

browserName = navigator.appName;

browserVer = parseInt ( navigator.appVersion );



version = "n2";

if ( browserName == "Netscape" && browserVer >= 3 ) version = "n3";

if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) version = "e4";



if ( version == "n3" || version == "e4" )

{



        about_on = new Image ( 69, 19 );

        about_on.src = "images/about_on.gif";

        services_on = new Image ( 108, 19 );

        services_on.src = "images/services_on.gif";

        contact_on = new Image ( 97, 19 );

        contact_on.src = "images/contact_on.gif";

        news_on = new Image ( 71, 19 );

        news_on.src = "images/news_on.gif";

        guests_on = new Image ( 81, 19 );

        guests_on.src = "images/guests_on.gif";

       




        about_off = new Image ( 69, 19 );

        about_off.src = "images/about_off.gif";

        services_off = new Image ( 108, 19 );

        services_off.src = "images/services_off.gif";

        contact_off = new Image ( 97, 19 );

        contact_off.src = "images/contact_off.gif";

        news_off = new Image ( 71, 19 );

        news_off.src = "images/news_off.gif";

        guests_off = new Image ( 81, 19 );

        guests_off.src = "images/guests_off.gif";



}



function button_on ( imgName )

{

        if ( version == "n3" || version == "e4" )

        {

                butOn = eval ( imgName + "_on.src" );

                document [imgName].src = butOn;

        }

}



function button_off ( imgName )

{

        if ( version == "n3" || version == "e4" )

        {

                butOff = eval ( imgName + "_off.src" );

                document [imgName].src = butOff;

        }

}

// --></script>

<center>

<TABLE BORDER=0 cellpadding=0 cellspacing=0 height=100% width=100%>



<TR> <td align=center valign=middle>



<table border=0 cellpadding=0 cellspacing=0>


<tr><td colspan=5><img src="images/picture.gif"></td></tr>

<tr>

<td><a href="about.html"onmouseout="button_off('about'); return true" onmouseover="button_on('about'); return true"><img src="images/about_off.gif" border="0" width="69" height="19" name="about"></a></td>

<td><a href="services.html"onmouseout="button_off('services'); return true" onmouseover="button_on('services'); return true"><img src="images/services_off.gif" border="0" width="108" height="19" name="services"></a></td>

<td><a href="mailto:you@wherever.whatever"onmouseout="button_off('contact'); return true" onmouseover="button_on('contact'); return true"><img src="images/contact_off.gif" border="0" width="97" height="19" name="contact"></a></td>

<td><a href="news.html"onmouseout="button_off('news'); return true" onmouseover="button_on('news'); return true"><img src="images/news_off.gif" border="0" width="71" height="19" name="news"></a></td>

<td><a href="guests.html"onmouseout="button_off('guests'); return true" onmouseover="button_on('guests'); return true"><img src="images/guests_off.gif" border="0" width="81" height="19" name="guests"></a></td>

<tr><td colspan=5><img src="images/bottomlines.gif"></td></tr>

</table>


</td>


</tr>




<tr><td align=center valign=middle>
  </td></tr>

</table>

</center>



</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?