What Is The Html Code To Display Text Without Further Page Loading?
Monday, July 13th, 2009 at
11:20 pm
I have seen some sites with something written like this “show details” or “Review” etc.. When we click on it some text gets displayed without loading the web page… Can anyone tel me the html code to do it?
Tagged with: Code. • Display • Further • HTML • Loading • Page • Text • What • Without
Filed under: HTML
Like this post? Subscribe to my RSS feed and get loads more!
its simple linking!
web page with a links saying “show details” or “Review” are simply linked to a new web page similar to that you were on so that you feel that the rest of the text just popped out of nowhere when you clicked on the link or button but its a whole new page.
hope i solved your problem.
there is a simple way to do it in javascript:
Toggle Text
try that.
there is a more complex way to do it witch is better if you need to do it multiple times:
Toggle Text
They are most likely using dhtml, ajax or javascript. I can give you a simple example using the latter since i don’t know any of the other two
incase you cant see the code below, ive uploaded a sample file to my site at http://www.onitz.net/resource/resource.php?id=15