I don't have much time, most of which are written out of work.
CopyCode The Code is as follows: jobj. Dom. $ tag ("input ")
. $ Filter (function (o ){
VaR fa = O. parentnode;
Return F = (O. type = "text" & fa. ID = "hollernew ")? True: false;
})
. $ CSS ({width: "570px", height: "18px", lineheight: "18px "})
. $ ATTR ({classname: "hollerformnormal "})
. $ Event ({
Onfocus: "vcontrol ('textfocus ', this )",
Onblur: "vcontrol ('textblur', this )"
})
. $ Tag ("textarea ")
. $ CSS ({width: "570px", height: "100px", lineheight: "18px "})
. $ ATTR ({classname: "hollerformnormal "})
. $ Event ({
Onfocus: "vcontrol ('textfocus ', this )",
Onblur: "vcontrol ('textblur', this )"
})
. $ (Document. hollernew)
. $ Event ({
Onsubmit: function (){
Return jobj. formvalidate. $ validate (this, rules );
}
});
Jobj. Dom. $ (window)
. $ Event ({
Onscroll: "vcontrol ('fixtoolbar ')"
});
var vcontrol = function (pchoice) {
var ARGs = arguments;
switch (pchoice) {
case "Backer ":
var backer = ARGs [1];
var id = ARGs [2];
break;
case "Flowers ":
var id = ARGs [1];
break;
case "eggs":
var id = ARGs [1];
break;
case "textfocus":
ARGs [1]. classname = "hollerformfocus";
break;
case "textblur":
ARGs [1]. classname = "Hollerformnormal";
break;
case "showtip":
var o, T;
switch (ARGs [3]) {
case "Flower":
O = "hollertip_flower _";
T = "Flowers" + ARGs [2] + "flowers, send him/her a flower, let her open a flower shop! "
break;
case" egg ":
O =" hollertip_egg _";
T = "eggs" + ARGs [2] + ". If you are not afraid of hatching chicks, you are giving them/her one! "
break;
default:
return;
}
Jobj. Dom. $ (O + ARGs [1])
. $ ATTR ({innerhtml: t })
. $ CSS ({display: "", position: "relative "})
. $ Show ("fast ",
{Width: 0, height: 0 },
{Width: 400, height: 18}
);
Break;
Case "hidetip ":
VaR O;
Switch (ARGs [2]) {
Case "Flower": O = "hollertip_flower _"; break;
Case "egg": O = "hollertip_egg _"; break;
Default: return;
}
Jobj. Dom. $ (O + ARGs [1])
. $ Hide ("fast ");
Break;
Case "fixtoolbar ":
Jobj. Dom. $ ("toolbar ")
. $ CSS ({opacity: 0.1, filter: "alpha (opacity = 10 )"})
. $ Movetoscrolltop ("fast ");
Break;
}
}