Die Codekopie lautet wie folgt:
<! docType html>
<html>
<kopf>
<title> </title>
<script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type = "text/javascript"> </script>
<style type = "text/css">
#divtips {
Filter: Alpha (Opazität = 30);
-moz-opacity: 0,3;
Deckkraft: 0,3;/*Andere, Transparenz 50%*//
Position: Absolut; Breite: 600px;
}
</style>
<script type = "text/javaScript">
$ (function () {
var $ txtnote = $ ("#txtNote");
var $ divtips = $ ("#Divtips");
$ txtnote.focus (function () {
// Fokus einstellen
$ divtips.hide ();
}). Blur (function () {
// Wenn es leer ist, wird es angezeigt, sonst wird es versteckt
$ divtips.toggle ($ txtnote.val () == "")
.css ({{
"links": $ txtnote.position ().
"Top": $ txtnote.position (). Top
});
});
$ divtips.click (function () {
$ txtnote.focus ();
});
$ txtnote.blur ();
});
</script>
</head>
<body>
Message Board <br />
<textArea id = "txtNote"> </textArea>
<div id = "divtips">
Lieber, willkommen zu besuchen.
(Lassen Sie Ihren Namen in der unten stehenden Box unten, bitte lassen Sie Ihre Kontaktinformationen, wenn dies bequem ist.)
< /div> <br />
<Eingabe type = "text" value = "name" /> <Eingabe type = "text" value = "mobile /qq /..." />
</body>
</html>