Results 1 to 3 of 3

Thread: how to load content in default div

  1. #1
    Join Date
    Jul 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to load content in default div

    1) Script Title: Tab Content Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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 :

    PHP Code:
    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. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    What does message_box() do? Looks like a JavaScript function, shouldn't it be wrapped around in a <script> tag?
    DD Admin

  3. #3
    Join Date
    Jul 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    message_box() is a function in other php file that i included in my codes ,

    i am looking for a solution to how reload a content DIV simply with waiting message

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •