One of the effects of JQuery Show () is always what you need, jqueryshow
1. show () and hide () Methods
$ ("Selector"). show ()
Restore the default or set display attribute of an element from display: none
$ ("Selector"). hide ()
Set the display style of the element to none, equal to $ ("selector" ).css ("display", "none ")
(Note: After passing in parameters ,. show () and. the hide () method simultaneously changes the width, height, and transparency attributes of the element. The input parameter controls the explicit/hidden speed, in milliseconds, for example. show (600). You can also set fast, normal, slow, fast to 200 milliseconds, normal to 400 milliseconds, and slow to 600 milliseconds)
2 fadeIn () method and fadeOut () method
$ ("Selector"). fadeIn ()
The control transparency is increased from display: none to full display within the specified time.
$ ("Selector"). fadeOut ()
The control transparency is reduced to display: none within the specified time;
3. slideUp () and slideDown () Methods
$ ("Selector"). slideUp ()
The height of the control element is reduced from bottom to top to display: none within the specified time;
$ ("Selector"). slideDown ()
The height of the control element extends from display: none to the complete height within the specified time.
4. Custom Animation method animate ()
$ ("Selector"). animate (params, speed, callback );
Params: A ing containing style attributes and values, for example, {property1: "value1", property2: "value2 ",...}
Speed: The speed parameter. Optional.
Callback: The parameter (that is, the callback function) That is executed when the animation is completed. Optional.
Jquery show () hide () effects Heroes help me
Onbeforeunload is also called when the page is refreshed or closed. Onbeforeunload is called when the server is about to read a new page.
According to your description, What you click should be a pseudo hyperlink in the form of <a href = "javascript: void (0)
You only need
The onunloadfun () method starts with the judgment code, and the Onbeforeunload is triggered by canceling the pseudo hyperlink. (Only IE will be triggered by clicking the pseudo hyperlink, and other browsing will not:
Var targHref = Invalid variable Doc ument. activeElement. href;
If (targHref & targHref. toLowerCase (). indexOf ("javascript:") = 0)
{
Return false;
}
For the jquery show () method, use js to write a div layer, which is filled with an input. When the show () method is called,
Try with latency
Show (2000, function (){
SetTimeout (function () {$ (id). focus ();}, 100 );
});
100 cannot be changed.