This example uses Javascript lower right corner can be closed to minimize div, can be used to display recommended content, effect preview Web site: http://keleyi.com/keleyi/phtml/xuanfudiv/3.htm
Slice:
Complete source code:
Copy codeThe Code is as follows:
<! DOCTYPE html PUBliC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Title> the lower right corner of js implementation can be disabled to minimize div -- ke leyi </title>
<Script src = "http://keleyi.com/keleyi/phtml/xuanfudiv/3/msg.js" type = "text/javascript"> </script>
<Style type = "text/css" media = "screen">
/* Advertisement displayed in the lower right corner */
# Downmsg_emessage {POSITION: fixed; _ position: absolute; z-index: 100; bottom: 0; right: 0; background: url (http://keleyi.com/keleyi/phtml/xuanfudiv/3/down_msg_bg.gif) no-repeat left top; width: 225px ;}
# Donwmsg_head {float: left; display: inline; font-size: 12px; color: # FFFFFF; margin-left: 26px; margin-top: 6px ;}
# DownmsgBar. close {float: right; width: 11px; height: 11px; margin-top: 6px; display: block; margin-right: 5px ;}
# DownmsgBar {height: 25px ;}
# Donwmsg_content {height: 162px; overflow: hidden ;}
# Donwmsg_content ul {font-size: 12px; color: #007pc3; top: 0px; padding: 0px 2px 0 6px; left: 6px; line-height: 180%; height: 110px; overflow: hidden ;}
# Donwmsg_content ul li {background: url (http://keleyi.com/keleyi/phtml/xuanfudiv/3/down_msg_bg.gif) no-repeat-100px-245px; text-indent: 13px ;}
# Donwmsg_content ul li a {color: #007pc3 ;}
# Donwmsg_content ul. ll a {color: # a10000; font-weight: bold ;}
# Donwmsg_content p {position: absolute; left: 13px; top: 157px ;}
# Donwmsg_content. lb {padding: 0px; text-align: center ;}
# Donwmsg_content. lb a {font-size: 12px; color: Blue}
A. msg-hidden-btn-2 {width: 11px; height: 11px; overflow: hidden; float: right; display: block; margin-right: 5px; margin-top: 6px; background: url (http://keleyi.com/keleyi/phtml/xuanfudiv/3/down_msg_bg.gif) no-repeat-0px-250px ;}
A. msg-hidden-btn-1 {width: 11px; height: 11px; overflow: hidden; float: right; display: block; margin-right: 5px; margin-top: 6px; background: url (http://keleyi.com/keleyi/phtml/xuanfudiv/3/down_msg_bg.gif) no-repeat-50px-250px ;}
</Style>
</Head>
<Body>
<Div id = "downmsg_emessage" style = "DISPLAY: block">
<Div id = "downmsgBar">
<Div id = "donwmsg_head"> ke leyi recommendation content </div> <a class = "close" href = "javascript: closeDiv () "> </a> <a class =" msg-hidden-btn-1 "id =" msg_hidden_btn "href =" javascript: showHideDiv () "> </a> </div>
<Div id = "donwmsg_content" style = "DISPLAY: block; HEIGHT: 162px">
<Ul>
<Li class = "ll"> <a href = "http://keleyi.com/a/bjac/768f469b95b61487.htm"> intermittent upward scrolling of a single line of text </a> </li>
<Li> <a href = "http://keleyi.com/a/bjac/a6d651710217f7a0.htm"> jQuery UI modifier title bubble </a> </li>
<Li> <a href = "http://keleyi.com/a/bjac/bf0eb8c02085b10d.htm"> jquery clears input boxes such as textarea </a> </li>
<Li> <a href = "http://keleyi.com/a/bjac/939631bb07adb4dc.htm"> jquery light-off effect </a> </li>
<Li> <a href = "http://keleyi.com/a/bjac/7e8897e5ec0849e9.htm"> can change the size of the DIV layer </a> </li>
</Ul>
<Div class = "lb"> <a href = "http://keleyi.com/menu/jquery/" target = "_ blank"> jQuery </a> <a href = "http://keleyi.com/menu/javascript/" target = "_ blank"> Javascript </a> <a href = "http://keleyi.com/menu/cms/" target = "_ blank"> CMS </a> </div>
</Div>
</Div>
</Body>
</Html>