Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 08-05-2008, 07:29 AM
Acts7 Acts7 is offline
New Comer (less than 5 posts)
 
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
Reply With Quote
  #2  
Old 08-05-2008, 10:29 PM
Jesdisciple's Avatar
Jesdisciple Jesdisciple is offline
Senior Coders
 
Join Date: Jul 2006
Posts: 474
Thanks: 6
Thanked 69 Times in 69 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'm slowly coming back after fixing my computer; give me time. :)
Reply With Quote
  #3  
Old 08-27-2008, 07:28 AM
irocwebs irocwebs is offline
New Comer (less than 5 posts)
 
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!
Reply With Quote
  #4  
Old 08-27-2008, 07:47 AM
codeexploiter's Avatar
codeexploiter codeexploiter is offline
Elite Coders
 
Join Date: Sep 2005
Location: India
Posts: 1,620
Thanks: 6
Thanked 104 Times in 104 Posts
Default

The provided link doesn't seems to be live at this moment.
__________________
-Codex
http://jpvalappil.wordpress.com/
Reply With Quote
  #5  
Old 08-27-2008, 06:45 PM
irocwebs irocwebs is offline
New Comer (less than 5 posts)
 
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
Reply With Quote
  #6  
Old 08-27-2008, 07:07 PM
ddadmin's Avatar
ddadmin ddadmin is offline
Administrator
 
Join Date: Aug 2004
Posts: 7,627
Thanks: 2
Thanked 639 Times in 629 Posts
Blog Entries: 13
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
Reply With Quote
  #7  
Old 10-01-2008, 08:49 PM
irocwebs irocwebs is offline
New Comer (less than 5 posts)
 
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 04:39 PM.
Reply With Quote
  #8  
Old 10-03-2008, 05:50 PM
irocwebs irocwebs is offline
New Comer (less than 5 posts)
 
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!
Reply With Quote
  #9  
Old 01-23-2009, 10:35 AM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 19,005
Thanks: 19
Thanked 1,135 Times in 1,121 Posts
Blog Entries: 3
Default

See:

http://www.dynamicdrive.com/forums/s...01&postcount=2
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:42 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.