I don't have much time, most of which are written in the spare part of my work.
Copy Code code as follows:
Jobj.dom. $tag ("INPUT")
. $filter (function (o) {
var fa = O.parentnode.parentnode.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] + "flower, send him/her a flower, let her blossom shop!" "
Break
Case "EGG":
o = "Hollertip_egg_";
t = "egg" + args[2] + "piece, if you are afraid enough to hatch a chick, you give him/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_";
Case "EGG": o = "Hollertip_egg_";
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
}
}