aneeshtan
08-10-2008, 01:37 PM
1) Script Title: Tab Content Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:
Hi , mates , I am looking for a method to load or reload the default content in my tab content script
I should mention that there is only one tab and i need it to be refresh with waiting message in DIV .
this is my codes :
echo "
<ul id='messagetab'>
<a href='#' rel='countrycontainer'></a>
</ul>
<div id='message'>";
message_box();
echo " </div>
<script type='text/javascript'>var countries=new ddajaxtabs('messagetab','message');countries.setpersist(false);countries.setselectedClassTarget('link');countries.init();</script> ";
as you can see in my codes i included message_box() that is my external function .
all is fine and will show whatever in my message_box function but the problem is the way it shows .
I need to reload that function every time beside waiting message not show the content normally .
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:
Hi , mates , I am looking for a method to load or reload the default content in my tab content script
I should mention that there is only one tab and i need it to be refresh with waiting message in DIV .
this is my codes :
echo "
<ul id='messagetab'>
<a href='#' rel='countrycontainer'></a>
</ul>
<div id='message'>";
message_box();
echo " </div>
<script type='text/javascript'>var countries=new ddajaxtabs('messagetab','message');countries.setpersist(false);countries.setselectedClassTarget('link');countries.init();</script> ";
as you can see in my codes i included message_box() that is my external function .
all is fine and will show whatever in my message_box function but the problem is the way it shows .
I need to reload that function every time beside waiting message not show the content normally .