LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-26-2008, 06:43 PM   #1
Gagarin Gambit
LQ Newbie
 
Registered: Apr 2008
Distribution: PCLinuxOS, Bodhi
Posts: 14

Rep: Reputation: 0
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.
 
  


Reply

Tags
firefox3


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FireFox, no search engine Utapez Ubuntu 3 01-16-2007 06:32 PM
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 11:58 AM
LQ firefox search engine? ctkroeker LQ Suggestions & Feedback 15 08-23-2006 01:50 AM
LXer: Roll Your Own Firefox Search Engine LXer Syndicated Linux News 0 01-13-2006 02:01 AM
FireFox search engine toolbar linmix Linux - Software 7 02-28-2005 03:47 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration