Jquery plug-in (pop-up window in the lower right corner)

Source: Internet
Author: User

Source code download

Http://download.csdn.net/source/858698

Usage

  1. <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <HTML xmlns = "http://www.w3.org/1999/xhtml">
  3. <Head>
  4. <Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/>
  5. <Title> jquery plug-in plugin message plug-in-a bright blog </title>
  6. <SCRIPT type = "text/JavaScript" src = "jquery-1.2.6.pack.js"> </SCRIPT>
  7. <SCRIPT type = "text/JavaScript" src = "jquery. Messager. js"> </SCRIPT>
  8. <SCRIPT type = "text/JavaScript">
  9. $ (Document). Ready (function (){
  10. $. Messager. Show (0, 'Send you a jquery Messager message pop-up plug-in! ');
  11. $ ("# Showmessager300x200"). Click (function (){
  12. $. Messager. Lays (300,200 );
  13. $. Messager. Show (0, 'messages of 60000 x200 );
  14. });
  15. $ ("# Showmessagerfadein"). Click (function (){
  16. $. Messager. anim ('fade, 2000 );
  17. $. Messager. Show (0, 'fadein animated message ');
  18. });
  19. $ ("# Showmessagershow"). Click (function (){
  20. $. Messager. anim ('show', 1000 );
  21. $. Messager. Show (0, 'show animated message ');
  22. });
  23. $ ("# Showmessagerdim"). Click (function (){
  24. $. Messager. show ('<font color = Red> Custom title </font>', '<font color = Green style = "font-size: 14px; font-weight: bold; "> Custom content </font> ');
  25. });
  26. $ ("# Showmessagersec"). Click (function (){
  27. $. Messager. Show (0, 'close message' in one second, 1000 );
  28. });
  29. });
  30. </SCRIPT>
  31. <Style type = "text/CSS">
  32. <! --
  33. Body, TD, Th {font-size: 12px ;}
  34. Body {background-color: # fefefefe ;}
  35. P {width: 80%; Height: auto; padding: 10px; Background-color: # d6f097; Border: solid 1px # ff9900; color: #333; margin-left: auto; margin-Right: auto ;}
  36. Input {background-color: # f5d99e; color: #333; Border: solid 1px #993300; font-size: 12px ;}
  37. -->
  38. </Style>
  39. <Body>
  40. <H2> jqueyr Plugin-Messager Author: Zhao Ge </H2>
  41. <P> <input type = "button" id = "showmessager300x200" value = "display a x message"/> </P>
  42. <P> <input type = "button" id = "showmessagerfadein" value = "display a fadein animation message"/> </P>
  43. <P> <input type = "button" id = "showmessagershow" value = "display a show animation message"/> </P>
  44. <P> <input type = "button" id = "showmessagerdim" value = "display definition content and title message"/> </P>
  45. <P> <input type = "button" id = "showmessagersec" value = "Close messages in one second"/> </P>
  46. <Br/>
  47. <A href = "http://www.94this.com.cn/article/241.htm"> code download </a>
  48. </Body>
  49. </Html>

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.