jquery 圖片 中劃線

來源:互聯網
上載者:User

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br /><HTML><br /> <HEAD><br /> <TITLE> New Document </TITLE><br /> <META NAME="Generator" CONTENT="EditPlus"><br /> <META NAME="Author" CONTENT=""><br /> <META NAME="Keywords" CONTENT=""><br /> <META NAME="Description" CONTENT=""><br /> <SCRIPT LANGUAGE="JavaScript" src="./jslib/jquery-1.2.6.js" mce_src="jslib/jquery-1.2.6.js"></SCRIPT><br /> <SCRIPT LANGUAGE="JavaScript"><br /> <!--<br /> jQuery.noConflict();<br /> jQuery(function(jQuery){<br /> jQuery("#testimg")<br /> });<br /> jQuery.noConflict();<br /> jQuery(document).ready(showNavigationHr);<br /> jQuery(window).resize(showNavigationHr);<br /> function showNavigationHr()<br /> {<br /> var to = jQuery("#navhr");<br /> var source = getSelectedNavigation();<br /> if(source==null)<br /> return null;<br /> var width = source.width();<br /> var top = source.offset().top;<br /> var left = source.offset().left;<br /> try {<br /> to.width(width);<br /> var fixTop = 50;<br /> to.css("top", top+fixTop);<br /> to.css("left", left);<br /> } catch(err) {<br /> }<br /> function getSelectedNavigation()<br /> {<br /> var __tabindex = jQuery("#testimg").html();<br /> if(__tabindex == "")<br /> __tabindex ="testimg";<br /> return jQuery("#"+__tabindex);<br /> }<br /> }<br /> //--><br /> </SCRIPT><br /> </HEAD><br /> <BODY><br /> <IMG id="testimg" SRC="./images/0.jpg" mce_SRC="images/0.jpg" ALT=""><br /> <hr id="navhr" style="<br /> position:absolute;<br /> z-index:999;<br /> border-style:solid;<br /> border-width:1px;<br /> border-top-width:0px;<br /> border-left-width:0px;<br /> border-right-width:0px;<br /> border-color:#f00;" mce_style="<br /> position:absolute;<br /> z-index:999;<br /> border-style:solid;<br /> border-width:1px;<br /> border-top-width:0px;<br /> border-left-width:0px;<br /> border-right-width:0px;<br /> border-color:#f00;" /><br /> </BODY><br /></HTML></p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh"><br /> <head><br /> <title>您好</title><br /> <meta http-equiv="Content-Language" content="zh-cn" /><br /> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br /> <mce:style type="text/css"><!--<br /> .line{<br /> border-style:solid;<br /> border-width:1px;<br /> border-color:#808080 #fff #fff #808080;<br /> width:95%;<br /> }<br /> div.line{<br /> border-style:solid;<br /> border-width:1px;<br /> border-color:#808080 #fff #fff #808080;<br /> width:95%;<br /> height:0px;<br /> overflow:inherit!important;/*沒有這個dreamweaver 顯示不正常*/<br /> overflow:hidden;<br /> clear: both;<br /> float: none;<br /> margin:auto;<br /> line-height:0px;<br /> }<br />--></mce:style><style type="text/css" mce_bogus="1"> .line{<br /> border-style:solid;<br /> border-width:1px;<br /> border-color:#808080 #fff #fff #808080;<br /> width:95%;<br /> }<br /> div.line{<br /> border-style:solid;<br /> border-width:1px;<br /> border-color:#808080 #fff #fff #808080;<br /> width:95%;<br /> height:0px;<br /> overflow:inherit!important;/*沒有這個dreamweaver 顯示不正常*/<br /> overflow:hidden;<br /> clear: both;<br /> float: none;<br /> margin:auto;<br /> line-height:0px;<br /> }</style><br /> </head><br /> <body style="background-color:#dddddd" mce_style="background-color:#dddddd"><br /> <hr class="line" /><br /> <div class="line">此處顯示 class "line" 的內容</div><br /> <p> </p><br /> </body><br /></html><br /><html><br /> <head><br /> <mce:style><!--<br /> .tvline{width:240px;height:180px;border:0;}<br /> .tvline td{border-top:1 solid #000000;font:1px;filter:alpha(opacity=30)}</p><p>--></mce:style><style mce_bogus="1"> .tvline{width:240px;height:180px;border:0;}<br /> .tvline td{border-top:1 solid #000000;font:1px;filter:alpha(opacity=30)}<br /> </style><br /> </head><br /> <body><br /> <table class=tvline cellpadding="0" cellspacing="0" background="photo1.jpg"><br /> <mce:script type="javascript" language="Javascript"><!--<br /> for(n=1;n<=90;n++)<br /> document.write('<tr><td> </td></tr>')</p><p>// --></mce:script><br /> </table><br /> </body><br /></html><br /> 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.