Strange Firefox 3 behaviour with javascript search engine
I installed Firefox 3 recently and I found an unexpected issue. Unfortunately the Firefox threads are so busy that it seems unlikely to get an answer, not to mention that it might take an expert to give an answer... anyway, here's the case:
I've made an html database that includes a javascript search engine. It's been tested successfully under Firefox 2, IE 6&7, and it works under Konqueror with a few quirks. Technically, the search engine draws a new web page in a frame where the search results appear.
But under Firefox 3 that's not the case. After making a search:
- Firefox fails to grab the CCS file from the script which draws the result web page, and thus the search results show up with the default browser appearance.
- It also fails to grab another included javascript file, intended to display help after pressing a button (this problem appears in Konqueror as well).
- Finally some times it even fails to set the result links and previews properly: The links are included in a folder named Database/Pages/ and the previews in Database/Pages/Images/. However, Firefox 3 looks into Database/ and Database/Images/. I should be more specific here: the database first loads an introductory page (in Database/) and then you get into the true database (in Database/Pages/), which is actually a two framed page, one of them the menu and the other for displaying the data. It's interesting that this problem happens only if you load the introductory page first; if you load the framed page in Database/Pages/, then it works fine.
Now, this database is part of a University project and it will run through a DVD, mostly for educational purposes, and I'd hate it to be incompatible with Firefox 3. Of course I can make an alternative version especially for it, but you understand that's inconvenient.
Does anyone know what has changed and Firefox behaves this way? Or is it a bug? Any ideas about fixing this?
Thanks for any help.
Edit: I found out that the two first points are related to the third - the fact that Firefox 3 fails to grab the correct links (and thus doesn't find the ccs and the script files as well). Everything in the search works correct if you load directly the page in Database/Pages instead of the introductory page in Database/. Personally I will overcome this problem if I give instructions to Firefox 3 users to do this, but still it's weird... has anyone else noted any unusual link problems?
Last edited by Gagarin Gambit; 06-27-2008 at 02:59 AM.
|