Results 1 to 6 of 6

Thread: Animated Collapsible DIV v2.01 <form> submit in FF

  1. #1
    Join Date
    Jan 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV v2.01 <form> submit in FF

    1) Script Title: Animated Collapsible DIV v2.01

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

    3) Describe problem:

    just simply define a DIV ( inside with a <form> <input type="submit"...> button ), it is work fines in IE, but not work in FF2.

    when click that button under FF, it just nothing happened..strange.

    Appreciated for anybody input/comment.

    Thanks/Davis.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out.

  3. #3
    Join Date
    Jan 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hello,

    please go there http://collection.emalls.cc/itemdeta...59&rno=1&cpg=1

    and click "查詢產品" ( sorry it about chinese www ), then it will slide down a DIV ( with form submit button ) , you can check the different between an IE and FF

    thanks/Davis.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I just tried this but the connection was really poor or something, taking forever to load. So I'll just give you some general advice. For imported content to have the best chance of working, make sure first that it has no scripts or stylesheets on it, and that it is valid code and works as expected when viewed by itself.

    To make sure it is valid, use:

    http://validator.w3.org/
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jan 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hello, "has no scripts or stylesheets on it" , can i know what does it meant exactly? cannot contain any javascript or CSS code inside a Collapsible DIV ? or?

    thanks/Davis.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I think I misunderstood you at first. Anyways, I installed the script as instructed on the demo page and replaced:

    HTML Code:
    <div id="jason" style="width: 300px; background: #FFFFCC; display:none">
    <b>Content inside DIV!</b><br />
    <b>Note: Fade effect enabled. Height programmically defined. DIV hidden using inline CSS.</b><br />
    </div>
    with:

    HTML Code:
    <div id="jason" style="width: 300px; background: #FFFFCC; display:none">
    <form action="#">
    <div>
    <input type="submit" value="Go!">
    </div>
    </form>
    </div>
    After expanding it so that I could see the form, I was able to submit it in FF.

    Perhaps you have some style that covers the button with an unseen element in FF.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •