简体   繁体   中英

php ajax dynamic content

Does anybody know how to make text appear between two lines of text(So the bottom text slides down slowly to make room). Using php and ajax? no flash!

ie

some text here

some text here

click and then:

some text here

more here more here

some text here

Using jQuery, add a click-event. Untested:

$(".clickMeForSlideDown").click(function() {
    $("#divThatWillSlideDown").slideDown("slow");
});

More complete example and documentation here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM