JS to achieve Web page skin-changing function

Source: Internet
Author: User

<! DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><xmlns=" http://www.w3.org/1999/ XHTML>    <head>        <title > JS to achieve Web page skin changing function-Shijiazhuang flower rental  </title>
<Linkhref= "Http://www.webdm.cn/images/20100831/style.css"type= "Text/css"rel= "stylesheet"Media= "Screen" /><Script>    varCsspath= "Http://www.webdm.cn/images/20100831/style_switch"; varStyleID=1; document.write ('<link rel= "stylesheet" type= "Text\/css" id= "Csslink" href= "'+Csspath+StyleID+'. css "\/>'); varCsslink=document.getElementById ("Csslink"); functionStylechange (n) {if(n==5) {document.getElementById ("Select"). Style.background="#7b0003"; }        Else{document.getElementById ("Select"). Style.background="#e8e8e8"; } csslink.href=Csspath+N+". CSS"; }    </Script>    </Head><Body><DivID= "Select"class= "Select"><ahref= "Javascript:stylechange (1);"class= "Zi"></a><ahref= "Javascript:stylechange (2);"class= "LV"></a><ahref= "Javascript:stylechange (3);"class= "LAN"></a><ahref= "Javascript:stylechange (4);"class= "F60"></a><ahref= "Javascript:stylechange (5);"class= "F50"></a><P>Please pick my color:Lawn Price</P> 

<Divclass= "Clear"></Div> </Div> <DivID= "text">First, Ajax is a cool technology, and once you use Ajax, you can make your Web pages, your website, and even your company, cool. In the Web2.0 era, websites that don't use a bit of AJAX technology will look corny and outdated. However, such an understanding is actually very superficial. Just from a layman, from a user's point of view, to understand Ajax, as I did in the first chapter of the book Ajax I also do, the development of a very stupid, not even qualified to be called the Ajax application of pure IE, XMLHTTP application. The cool thing about Ajax is that for traditional Web developers, Ajax is a more advanced, more standardized, more harmonious and efficient, complete web development technology system. Following such a system to develop Web applications can make your development process easier and make your development team look cool. In the Web2.0 era, the use of outdated technology to develop the WEB, will be very old-fashioned, very outdated. Ajax related composition technology, each has been more than n years, the combination of these technologies, but also far earlier than the term Ajax before the advent. So, what I really admire, is not to propose the acronym for AJAX, Jesse James Garrett. But those pioneers who were already exploring and practicing as early as n years ago, they always pursued: a better user experience, and a better development experience. Such a spirit, is the most valuable, but also the most worthy of our study. After many years, when we look back on the hot technologies of the year, they may have become obsolete and outdated. In such a process, who will grow into a master? Will grow into a master? Is those who never satisfied, always in the pursuit of a better user experience, always in the pursuit of a better development experience! </Div> <BR/> </Body> </HTML>

JS to achieve Web page skin-changing function

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.