menutolken
08-24-2006, 01:47 PM
1) Script Title: Dynamic Ajax Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
3) Describe problem:
I am using the above script to call a <div> that contains a form. It is working fine and the form appears correctly when called. I would however like to animate the <div> as it appears. I would like it to have the <div> come in from the top of it's block and descend to fill it's block, taking about 1 second to do so. At the moment the <div> just appears. I'm not sure that it will help but here is code from the page.
<div id="nav">
<ul>
<li class="here"><a href="home.html">home</a></li>
<li><a href="services.html">services</a></li>
<li><a href="prices.html">prices</a></li>
<li><a href="javascript:ajaxpage('ajax_form.html', 'contactform')">contact</a></li>
<li><a href="aboutus.html">about us</a></li>
</ul>
</div>
BTW, thanks for the script. It's a sort of Ajax 101. Great resource.
Andy
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
3) Describe problem:
I am using the above script to call a <div> that contains a form. It is working fine and the form appears correctly when called. I would however like to animate the <div> as it appears. I would like it to have the <div> come in from the top of it's block and descend to fill it's block, taking about 1 second to do so. At the moment the <div> just appears. I'm not sure that it will help but here is code from the page.
<div id="nav">
<ul>
<li class="here"><a href="home.html">home</a></li>
<li><a href="services.html">services</a></li>
<li><a href="prices.html">prices</a></li>
<li><a href="javascript:ajaxpage('ajax_form.html', 'contactform')">contact</a></li>
<li><a href="aboutus.html">about us</a></li>
</ul>
</div>
BTW, thanks for the script. It's a sort of Ajax 101. Great resource.
Andy