Code of the floating menu instance on the right

Source: Internet
Author: User

<! Doctype HTML public "-// W3C // dtd html 4.0 transitional // en"> <br/> <HTML> <br/> <pead> <br/> <meta content = "text/html; charset = GBK "http-equiv =" Content-Type "> <br/> <title> navigation bar </title> <br/> <link type =" text/CSS" rel = "stylesheet" href = "style/chat007.css" mce_href = "style/chat007.css"> <br/> <link type = "text/CSS" rel = "stylesheet" href = "Style/muyu007.css" mce_href = "style/muyu007.css"> <br/> <MCE: Script Type = "text/JavaScript"> <! -- <Br/> function onlineover () {<br/> document. getelementbyid ("divmenu "). style. display = "NONE"; <br/> document. getelementbyid ("divonline "). style. display = "Block"; <br/> document. getelementbyid ("divqqbox "). style. width = "150px"; <br/>}< br/> function hidemsgbox (theevent) {<br/> If (theevent) <br/>{< br/> var browser = navigator. useragent; <br/> If (browser. indexof ("Firefox")> 0) {<br/> If (document. ge Telementbyid ('divonline '). contains (theevent. relatedtarget) {<br/> return; <br/>}< br/> If (browser. indexof ("MSIE")> 0) {<br/> If (document. getelementbyid ('divonline '). contains (event. toelement) {<br/> return; <br/>}< br/> document. getelementbyid ("divmenu "). style. display = "Block"; <br/> document. getelementbyid ("divonline "). style. display = "NONE"; <br/>}</P> <p> var tips; <Br/> var thetop = 175; <br/> var old = thetop; <br/> function initfloattips () {<br/> tips = document. getelementbyid ('divqqbox'); <br/> movetips (); <br/>}; <br/> function movetips () {<br/> var TT = 50; <br/> If (window. innerheight) {<br/> Pos = Window. pageyoffset <br/>} else if (document.doc umentelement & document.doc umentelement. scrolltop) {<br/> Pos = document.doc umentelement. scrolltop <br/>} Else if (document. body) {<br/> Pos = document. body. scrolltop; <br/>} <br/> Pos = pos-tips.offsetTop + thetop; <br/> Pos = tips. offsettop + POS/10; <br/> If (Pos <thetop) Pos = thetop; <br/> If (Pos! = Old) {<br/> tips. style. top = POS + "PX"; <br/> TT = 10; <br/>}< br/> old = Pos; <br/> setTimeout (movetips, TT ); <br/>}< br/> // --> </MCE: SCRIPT> <br/> </pead> <br/> <body> <br/> <div> <br/> test <br/> <br> <BR> <br>> <br> <br> 11 <br/> <br>> <br>> <Br> 11 <br>> <br> <br> <BR> 11 <br> <BR> <br>> <br> 11 <br>> <br> <br> <BR> <br> 11 <br/> </div> <br/> <Div id = "divqqbox" class = "qqbox" style = "width: 150px; top: 297.4px; "> <br/> <Div style =" display: none; "mce_style =" display: none; "onmouseout =" hidemsgbox (event ); "id =" divonline "class =" qlist "> <br/> <Div class =" T "> <br/> </div> <br/> <Div class = "con"> <br/> <ul> <br/> <li> <a target = "_ blank" href = "http://chatserver.comm100.cn/ChatWindow.aspx? Siteid = 80015513 & planid = 28 & visittype = 1 & byhref = 1 "mce_href =" http://chatserver.comm100.cn/ChatWindow.aspx? Siteid = 80015513 & planid = 28 & visittype = 1 & byhref = 1 "> <br/> <br/> </a> <br/> </LI> <br/> <li> <br/> <a href = "" target = "_ blank"> homepage </a> <br/> </LI> <br/> <li> <br/> <a href =" "target =" _ blank"> service field </a> <br/> </LI> <br/> <li> <br/> <a href =" "target =" _ blank"> about us </a> <br/> </LI> <br/> </ul> <br/> </div> <br/> <Div class = "B"> <br/> </div> <br/> <Div onmouseover = "onlineover (); "id =" divmenu "style =" display: block; "mce_style =" display: block; "> <br/> </div> <br/> </ div> <br/> <MCE: script Type = "text/JavaScript"> <! -- <Br/> initfloattips (); </P> <p> // --> </MCE: SCRIPT> <br/> </body> <br/> </ptml> <br/>. Qq box {<br/> Z-index: 999; <br/> width: 150px; <br/> right: 3px; <br/> top: 175px; <br/> position: absolute; <br/> color: #000; <br/> display: block; <br/>}< br/>. qqbox. qlist A {<br/> font-size: 12px; <br/> color: #000; <br/> text-Decoration: none; <br/> line-height: 25px; <br/> width: 150px; <br/> display: block; <br/> Height: 25px; <br/>}< br/>. qqbox. qlist A: hover {<br/> color: #069; <br/> text-Decoration: underline; <br/> display: block; <br/>}< br/>. qqbox. press {right: 0; Border: none; cursor: pointer; width: 26px; Height: 136px; position: absolute ;}< br/>. qqbox. qlist {<br/> width: 150px; <br/> Background: URL (.. /images/siderim_bg.gif) padding: 5px; display: block; <br/>}< br/>. qqbox. qlist. B {float: Right; Height: 6px; width: 150px; font-size: 1px ;}< br/>. qqbox. qlist. infobox {<br/> text-align: center; <br/> background-repeat: No-Repeat; <br/> padding: 5px; <br/> line-height: 14px; <br/> color: #000; <br/> font-weight: 700; <br/>}< br/>. qqlistli01 {<br/> overflow: hidden; <br/> Height: 25px; <br/> width: 150px; <br/> display: block; <br/>}< br/>. qqbox. qlist. t {<br/> Height: 34px; <br/> background-image: URL (.. /images/chatbg1.png); <br/> background-repeat: Repeat; <br/> display: block; <br/>}< br/>. qqbox. qlist. B {<br/> Height: 20px; <br/> overflow: hidden; <br/> background-image: URL (.. /images/chatbg3.png); <br/> background-repeat: No-Repeat; <br/>}< br/>. qqbox. qlist. con {<br/> width: 100%; <br/> padding: 10px 0px 10px 0px; <br/> background-image: URL (.. /images/chatbg2.png); <br/> background-repeat: Repeat-y; <br/> display: block; <br/> overflow: hidden; <br/> height: 160px; <br/>}< br/>. qqbox. qlist. con H2 {Height: 22px; Font: bold 12px/22px ""; Background: URL (.. /images/siderim_bg.gif) Repeat-y-163px 0; Border: 1px solid # 3a708d; text-align: center; color: # fff ;}< br/>. qqbox. qlist. con ul Li {<br/> display: block; <br/> padding-top: 0px; <br/> padding-Right: 5px; <br/> padding-bottom: 0px; <br/> padding-left: 15px; <br/> Height: 25px; <br/> line-Height: 25px; <br/> width: 150px; <br/> overflow: hidden; <br/> left: 0px; <br/> clear: Both; <br/> float: Left; <br/> position: relative; <br/>}

 

Body, UL, ol, Li, P, H1, H2, H3, H4, H5, H6, form, fieldset, table, IMG, div {margin: 0; padding: 0; border: 0 ;}< br/>. index {<br/> background-repeat: Repeat-X; <br/> background-position: center top; <br/> color: # FFF; <br/> font-family: Arial, Helvetica, sans-serif, ""; <br/> font-size: 12px; <br/> margin-top: -30px; <br/> margin-Right: 0px; <br/> margin-bottom: 0px; <br/> margin-left: 0px; <br/> Z-index: 1; <br/> background-image: URL (.. /images_muyu/index_bg_body.png); <br/>}< br/>. pagebody {<br/> width: 960px; <br/> margin-top: 0px; <br/> margin-Right: auto; <br/> margin-bottom: 0px; <br/> margin-left: auto; <br/>}< br/>. pagehead {<br/> width: 100%; <br/> margin-top: 0px; <br/> margin-Right: auto; <br/> margin-bottom: 0px; <br/> margin-left: auto; <br/> overflow: hidden; <br/> Height: 206px; <br/> Z-index: 100; <br/> position: absolute; <br/> background-image: URL (.. /images_muyu/menubg_muyu007.com.png); <br/> background-repeat: No-Repeat; <br/> background-position: center top; <br/> text-align: center; <br/>}< br/>. muyubanner {<br/> overflow: hidden; <br/> Height: pixel PX; <br/> width: 960px; <br/> top: 170px; <br/> position: absolute; <br/> Z-index: 10; <br/>}< br/>. muyubanner2 {<br/> overflow: hidden; <br/> Height: 384px; <br/> width: 960px; <br/>}< br/>. index_aboutus {<br/> margin: 20px; <br/> Height: 140px; <br/> width: 920px; <br/> top: 5px; <br/> position: relative; <br/>}< br/>. index_aboutusny {<br/> width: 420px; <br/> line-Height: 35px; <br/> font-size: 14px; <br/> float: left; <br/> top: 20px; <br/> position: relative; <br/> left: 10px; <br/>}< br/>. shouzida {<br/> font-family: ""; <br/> font-size: 28px; <br/>}< br/>. index_word {<br/> overflow: hidden; <br/> Height: 94px; <br/> width: 960px; <br/> margin-top: 0px; <br/> position: relative; <br/>}</P> <p>. pagebodyindex {<br/> width: 960px; <br/> margin-top: 0px; <br/> margin-Right: auto; <br/> margin-bottom: 0px; <br/> margin-left: auto; <br/> overflow: hidden; <br/> Height: 1912px; <br/> background-image: URL (.. /images_muyu/indexbg.jpg); <br/> background-repeat: No-Repeat; <br/> background-position: center 200px; <br/> Z-index: 5; <br/> padding-top: 206px; <br/> font-family: ""; <br/>}< br/>. pagebodyindexfoot {<br/> width: 1000px; <br/> margin-top: 0px; <br/> margin-Right: auto; <br/> margin-bottom: 0px; <br/> margin-left: auto; <br/> overflow: hidden; <br/> Height: 236px; <br/> background-image: URL (.. /images_muyu/index_footbg.png); <br/> background-repeat: No-Repeat; <br/> background-position: center top; <br/>}< br/>. pagebodyindexfootny {<br/> width: 960px; <br/> overflow: hidden; <br/> Height: 110px; <br/> margin-top: 10px; <br/> margin-Right: 20px; <br/> margin-bottom: 0px; <br/> margin-left: 20px; <br/> position: relative; <br/> font-family: ""; <br/>}< br/>. pagebodyindexfootny1 {<br/> width: 960px; <br/> overflow: hidden; <br/> Height: 50px; <br/> margin-top: 0px; <br/> margin-Right: 20px; <br/> margin-bottom: 0px; <br/> margin-left: 20px; <br/> position: relative; <br/>}< br/>. pagebodyindexfootny1a {<br/> width: 700px; <br/> overflow: hidden; <br/> Height: 50px; <br/> margin-top: 0px; <br/> margin-Right: 0px; <br/> margin-bottom: 0px; <br/> margin-left: 0px; <br/> position: relative; <br/> float: Left; <br/> clear: Left; <br/>}< br/>. pagebodyindexfootny1b {<br/> width: 250px; <br/> overflow: hidden; <br/> Height: 50px; <br/> position: relative; <br/> float: right; <br/> clear: Right; <br/> margin: 0px; <br/>}</P> <p>. pagebodyindexfootny2 {<br/> width: 960px; <br/> overflow: hidden; <br/> Height: 60px; <br/> margin-top: 0px; <br/> margin-Right: 20px; <br/> margin-bottom: 0px; <br/> margin-left: 20px; <br/> position: relative; <br/> text-align: center; <br/> color: #999; <br/>}</P> <p>. pagebodyindexfootbg {<br/> width: 100%; <br/> margin-top: 0px; <br/> margin-Right: auto; <br/> margin-bottom: 0px; <br/> margin-left: auto; <br/> overflow: hidden; <br/> Height: 236px; <br/> background-image: URL (.. /images_muyu/index_footbgline.png); <br/> background-repeat: Repeat-X; <br/> background-position: center top; <br/>}</P> <p>. button007 {<br/> background-image: URL (.. /images_muyu/buttonbg1.png); <br/> background-repeat: No-Repeat; <br/> background-position: Left top; <br/> text-align: center; <br/> Height: 30px; <br/> line-Height: 30px; <br/> width: pixel; <br/> position: relative; <br/>}< br/>. button007b {<br/> background-image: URL (.. /images_muyu/buttonbg1.png); <br/> background-repeat: No-Repeat; <br/> background-position: Left top; <br/> text-align: center; <br/> Height: 30px; <br/> line-Height: 30px; <br/> width: pixel; <br/> position: relative; <br/>}< br/>. button007 A {<br/> Height: 30px; <br/> width: pixel PX; <br/> top: 0px; <br/> color: # FFF; <br/> text-Decoration: none; <br/> display: block; <br/>}< br/>. button007b A {<br/> Height: 30px; <br/> width: pixel PX; <br/> top: 0px; <br/> color: # FFF; <br/> text-Decoration: none; <br/> display: block; <br/>}< br/>. button007 A: hover {<br/> Height: 30px; <br/> width: pixel PX; <br/> color: # FFF; <br/> text-Decoration: none; <br/> background-image: URL (.. /images_muyu/buttonbg2.png); <br/> background-repeat: No-Repeat; <br/> background-position: Left top; <br/>}< br/>. button007b A: hover {<br/> Height: 30px; <br/> width: pixel PX; <br/> color: # FFF; <br/> text-Decoration: none; <br/> background-image: URL (.. /images_muyu/buttonhover.gif); <br/> background-repeat: No-Repeat; <br/> background-position: Left top; <br/>}< br/>. button007aabout2 {<br/> width: 120px; <br/> position: absolute; <br/> Height: 30px; <br/> display: block; <br/> float: left; <br/> left: 530px; <br/> top: 90px; <br/>}< br/>. button007fuwu {<br/> width: 100%; <br/> position: relative; <br/> Height: 70px; <br/>}</P> <p>. button007fuwu1 {<br/> width: 120px; <br/> position: absolute; <br/> Height: 30px; <br/> display: block; <br/> float: left; <br/> left: 35px; <br/>}</P> <p>. button007fuwu2 {<br/> width: 120px; <br/> position: absolute; <br/> Height: 30px; <br/> display: block; <br/> float: left; <br/> left: 275px; <br/>}< br/>. button007yuanying {<br/> width: 120px; <br/> position: absolute; <br/> Height: 30px; <br/> display: block; <br/> float: left; <br/> left: 630px; <br/> top: 90px; <br/>}< br/>. button007fuwu3 {<br/> width: 120px; <br/> position: absolute; <br/> Height: 30px; <br/> display: block; <br/> right: 180px; <br/> float: Right; <br/>}< br/>. index_kehu {S <br/> position: relative; <br/> Height: 570px; <br/> width: 960px; <br/>}< br/>. index_news {<br/> position: relative; <br/> Height: 200px; <br/> width: 910px; <br/> padding-top: 18px; <br/> padding-Right: 20px; <br/> padding-bottom: 20px; <br/> padding-left: 30px; <br/>}< br/>. index_news1 {<br/> position: relative; <br/> Height: 170px; <br/> width: 280px; <br/> float: left; <br/> margin-top: 10px; <br/>}< br/>. index_news2 {<br/> float: Right; <br/> Height: 150px; <br/> width: 370px; <br/> position: relative; <br/> right: 230px; <br/>}< br/>. index_newsbut {<br/> position: absolute; <br/> Height: 30px; <br/> width: 120px; <br/> left: 320px; <br/> top: pixel PX; <br/>}< br/>. index_news2 ul Li a {<br/> font-size: 14px; <br/> color: #3496d3; <br/> text-Decoration: none; <br/>}< br/>. index_news2 ul Li A: hover {<br/> font-size: 14px; <br/> color: # FFF; <br/> text-Decoration: underline; <br/>}< br/>. index_news2 ul Li {<br/> Height: 32px; <br/> width: 100%; <br/> list-style-type: none; <br/> line-height: 32px; <br/>}< br/>. index_fuwu {<br/> Height: 150px; <br/> width: 890px; <br/> position: relative; <br/> margin-top: 220px; <br/> overflow: hidden; <br/> padding-top: 22px; <br/> padding-Right: 20px; <br/> padding-bottom: 0px; <br/> padding-left: 45px; <br/> margin-Right: 0px; <br/> margin-bottom: 0px; <br/> margin-left: 0px; <br/>}< br/>. index_fuwu ul Li {<br/> margin: 0px; <br/> padding: 0px; <br/> Height: 27px; <br/> display: block; <br/> width: 210px; <br/> line-Height: 27px; <br/> position: relative; <br/>}< br/>. index_fuwu ul Li a {<br/> color: # FFF; <br/> text-Decoration: none; <br/> text-indent: 15px; <br/> display: block; <br/> Height: 27px; <br/> width: 210px; <br/> font-size: 12px; <br/> line-Height: 27px; <br/>}< br/>. index_fuwu ul Li A: hover {<br/> color: #2 dacdf; <br/> text-Decoration: none; <br/> background-repeat: No-Repeat; <br/> background-position: 4px 12px; <br/> Height: 27px; <br/> width: 210px; <br/> background-image: URL (.. /images_muyu/dot007.gif); <br/> line-Height: 27px; <br/>}</P> <p>. index_fuwu01 {<br/> Height: 150px; <br/> width: 230px; <br/> text-align: Left; <br/> position: relative; <br/> float: Left; <br/>}< br/>. index_fuwu02 {<br/> Height: 150px; <br/> width: 230px; <br/> text-align: Left; <br/> position: relative; <br/> float: Right; <br/> right: 420px; <br/> top: 0px; <br/> clear: right; <br/>}< br/>. muyulink {<br/> font-size: 10px; <br/> line-Height: 16px; <br/> text-Decoration: none; <br/> overflow: hidden; <br/> Height: 22px; <br/> margin-top: 8px; <br/>}< br/>. muyulink Li {<br/> float: Left; <br/> list-style-type: none; <br/> position: relative; <br/>}< br/>. muyulink Li a {<br/> float: Left; <br/> font-size: 10px; <br/> color: #666; <br/> text-Decoration: none; <br/>}< br/>. muyulink Li A: hover {<br/> float: Left; <br/> font-size: 10px; <br/> color: # CCC; <br/> text-Decoration: none; <br/>}< br/>

 

 

 

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.