With the mouse mobile JS shortcut navigation

Source: Internet
Author: User
Keywords Web page production Ajax javascript
Tags ajax document javascript mobile navigation network text type

<style type= "Text/css" >
. fa{width:200px;height:250px;font-size:14px; line-height:25px padding-left:10px;
</style>

&lt;table cellspacing=0 cellpadding=0 width= "980" height= "a" border=0&gt;


&lt;TBODY&gt;


&lt;TR&gt;


&lt;td width=750 bgcolor= #333333 valign= "Top" &gt;


&lt;br&gt;&lt;font color= "#FFFFFF" &gt;&amp;nbsp; construction Station teaching network recommended: With the mouse to move the shortcut navigation (right for shortcut navigation) &lt;/font&gt;&lt;/TD&gt;


&lt;td width= "230" &gt;&amp;nbsp;


&lt;script language=javascript&gt;


Self.onerror=null;


lastscrollx = 0; lastscrolly =-27;


function HeartBeat () {


Diffy = Document.body.scrollTop;


if (diffy!= lastscrolly)


 {


percent =. 1 * (diffy-lastscrolly);


if (Percent &gt; 0)


percent = Math.ceil (percent);


else


percent = Math.floor (percent);


Document.all.floater.style.pixelTop + = percent;


lastscrolly = lastscrolly + percent;


 }





var s= ';


s= ' &lt;div id=floater style= ' z-index:3; left:770px; visibility:visible; width:170px; Position:absolute; top:50px; height:185px "&gt;";


s=s+ ' &lt;table width= "height=" border= "0" align= "center" cellpadding= "0" cellspacing= "0" bgcolor= "#FFFFFF "&gt;";


s=s+ ' &lt;tr&gt; ';


s=s+ ' &lt;td height= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;td height= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;td height= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;/tr&gt; ';


s=s+ ' &lt;tr&gt; ';


s=s+ ' &lt;td width= "5" bgcolor= "EECD14" &gt;&lt;/td&gt;;


s=s+ ' &lt;td align= "left" valign= "the Top" &gt;&lt;div "center" align= "FA" &gt; strongly recommended: class= &lt;a "href= Www.jzread.com "target=" _blank &gt; Construction Station Teaching Network &lt;/a&gt;&lt;br&gt; Construction Station Teaching Network | Free Learning Station Technology, Construction Station Guide, Construction Station tutorial and Technology Exchange Center &lt;/div&gt; ';


s=s+ ' &lt;/td&gt; ';


s=s+ ' &lt;td width= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;/tr&gt; ';


s=s+ ' &lt;tr&gt; ';


s=s+ ' &lt;td width= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;td height= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;td width= "5" bgcolor= "EECD14" &gt;&lt;/td&gt; ";


s=s+ ' &lt;/tr&gt; ';


s=s+ ' &lt;/table&gt; ';


document.write (s);


action = Window.setinterval ("HeartBeat ()", 1);


function Mm_jumpmenu (targ,selobj,restore) {//v3.0


eval (targ+ ". location=" "+selobj.options[selobj.selectedindex].value+");


if (restore) selobj.selectedindex=0;


}


&lt;/SCRIPT&gt;


&lt;/TD&gt;


&lt;/TR&gt;


&lt;/TBODY&gt;


&lt;/TABLE&gt;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.