Hide Show animate with Jquery: Difference between revisions
Jump to navigation
Jump to search
Kaplanerkan (talk | contribs) No edit summary |
Kaplanerkan (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
Rem jQuery can also show or hide content by means of animation effects. | |||
Rem You can tell .show() and .hide() to use animation in a couple of ways. | |||
Rem One is to pass in an argument of 'slow', 'normal', or 'fast' | |||
Rem If you prefer more direct control over the duration of the animation effect, | |||
Rem you can pass the desired duration in milliseconds to .show() and .hide(): | |||
Sub Main() | Sub Main() | ||
Line 7: | Line 13: | ||
sInhalt = "" | sInhalt = "" | ||
sInhalt +="<table width='300px'>" | sInhalt +="<table width='300px'>" | ||
sInhalt +="<tr><td> <p id='eins'> Zurück </p></td></tr>" | |||
sInhalt +="<tr><td><p id='zwei'>Hauptmenu | sInhalt +="<tr><td> <p id='zwei'> Hauptmenu </p></td></tr>" | ||
sInhalt +="< | sInhalt +="<tr><td> <p id='drei'> Bestellen </p></td></tr>" | ||
sInhalt +="</table>" | sInhalt +="</table>" | ||
HTMLview1.innerHTML = sInhalt | HTMLview1.innerHTML = sInhalt |
Latest revision as of 23:23, 20 September 2013
Rem jQuery can also show or hide content by means of animation effects. Rem You can tell .show() and .hide() to use animation in a couple of ways. Rem One is to pass in an argument of 'slow', 'normal', or 'fast' Rem If you prefer more direct control over the duration of the animation effect, Rem you can pass the desired duration in milliseconds to .show() and .hide(): Sub Main() Dim sInhalt HTMLview1.innerHTML="" sInhalt = "" sInhalt +="" sInhalt +="" sInhalt +="" sInhalt +="" sInhalt +="
Zurück |
Hauptmenu |
Bestellen |