Results 1 to 9 of 9

Thread: Firefox3 moves header to bottom with ajax include

  1. #1
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Firefox3 moves header to bottom with ajax include

    All other browsers from IE6+ Safari and FF2(or less) support this page.
    But for some reason FF3 is causing the header (an ajax include) to randomly spit the header out at the bottom. When I pull the content out of the ajax and hard code it, the page loads just fine.

    When I put it back as an ajax include it wipes it to the bottom again.
    Now if I hit refresh, it sits just fine.

    Is there a standard issue that would cause such behavior?

    http://myvideosnapshots.com/clients/...omer_tips.html

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    Pending a response from a more knowledgeable member, I suggest you post this question to Firefox Bugs on the mozillaZine Forums.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

  3. #3
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Having the same problem with no solutions. Anybody found an answer yet?

    Thanks!

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    The provided link doesn't seems to be live at this moment.

  5. #5
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have a link that you could check out: http://www.kkgardens.com
    Last edited by keyboard; 08-29-2014 at 04:03 AM. Reason: Format: Remove Hyperlink

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    A random stab here, but it could be something within the HTML inside footer.htm that's throwing FF3 for a loop:

    Code:
    <div align="center">
      <center>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td width="100%"><img border="0" src="../images/whitetop.png" width="558" height="11"></td>
        </tr>
        <tr>
          <td width="100%" background="../images/whiteback.png">
    <div class="footercontent">
    <b>Copyright &copy; 2008 - K &amp; K Gardens. - All rights reserved.</b><br><br>
    
    <a href="http://www.irocwebs.com/" target="_blank"><img border="0" src="../images/IWDSLogo.png" width="140" height="59"></a><br>
    <a href="http://www.irocwebs.com/" target="_blank" class="footer">Site designed and maintained by Iroc Web Design Services&copy;.<br> Your Small Business Web Design Solutions.&trade;</a>
    </div></td>
        </tr>
        <tr>
          <td width="100%"><img border="0" src="../images/whitebottom.png" width="558" height="11"></td>
        </tr>
      </table>
    
      </center>
    </div>
    I'd try and simplify the above HTML by removing the TABLE tags and replacing them with DIVs. Also, make sure the outermost DIV contains a CSS "clear" property:

    Code:
    <div align="center" style="clear:both">
    "
    "
    BTW, is your site PHP (ie: .php) or SSI (ie: .shtml) based? If so, you should forgo this script, and just use your server to reliably include the contents of a file onto another.
    DD Admin

  7. #7
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Includes script

    Script URL: http://www.dynamicdrive.com/dynamici...axincludes.htm

    I'm still trying to find a solution to this issue.

    Something new I've discovered. In FF3 it's placing this in the address bar: wyciwyg:// followed by a number then the url. For example - wyciwyg://29/http://www.yourdomain.com/somepage.html

    wyciwyg = "what you cache is what you get"

    I'm not 100% sure but it may be related to the XMLHttpRequest.

    http://developer.mozilla.org/en/XMLHttpRequest

    I've tried the above suggestions that ddadmin gave, but it still gives me issues. Also as far as SSI - won't work with dynamic websites that we create.

    If you need an example take a look at this in FF2 (or any other browser) & then in FF3? http://www.fayettecountyia.com/

    Click through some of the pages and it will eventually happen. It really messes up the site.

    Thanks in advance for any help I can get.
    Last edited by irocwebs; 10-02-2008 at 03:39 PM.

  8. #8
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Includes script

    Script url: http://www.dynamicdrive.com/dynamici...axincludes.htm

    I think (I am not an expert with this by far) I found what is causing this. It seems to me that Ajax caches weird in FF3.

    I found this site that seems to have a solution using time stamps - I can't figure out how to make it work though.
    http://www.informit.com/articles/article.aspx?p=669599

    I tried putting the following into the htaccess file and it seems to cure it - though it slows my site down dramatically.

    Code:
    <FilesMatch "\.(html|htm|js|css)$">
    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
    </FilesMatch>
    Any other ideas? Solutions? Help?

    Thanks!

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

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
  •