473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Outfoxed by FireFox

I have a page that I worked hard on and looks great in IE(subjective).
It is a javascript tree with nested table grids that have rounded
corners and a gradient titlebar:

http://www.geocities.com/jesse_wade/TreeGrid/test.html

In Firefox it misbehaves in three ways:
1) The tree looks completely wacky in terms of indenting.
2) The corner images for the table appear to be hidden
3) The javascript for tree expension and collapse doesn't work.

I know number 3 is more appropriate for another group, but I'm keen to
here suggestions for addressing the other two issues...

Thanks!

Jul 21 '05 #1
6 1740
In article <11**********************@o13g2000cwo.googlegroups .com>,
jw***@rubytuesday.com enlightened us with...
I have a page that I worked hard on and looks great in IE(subjective).


I don't know about you, but when I pulled it up in IE, first thing that
happened was an error message.
Since I'm a developer, I have the option set in IE to report script errors.
And the menu doesn't work.

MSIE 6.0.28 on Win2K Pro.

Firefox displayed script errors as well.
Open up the javascript console to see them.

--
--
~kaeli~
The definition of a will?... (It's a dead giveaway.)
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 21 '05 #2
Hi Kaeli. Oops! I broke it with an overzealous html editor when
converting to xhtml. I went back to html4 transitional and removed the
CDATA tags and it works again.

I know how to display Javascript errors in Mozilla... I was hoping for
some insights into the first two CSS problems mostly. (Although JS
advice is welcome too)

Thanks. : )

Jul 21 '05 #3
jwade wrote:
I know how to display Javascript errors in Mozilla... I was hoping for some insights into the first two CSS problems mostly. (Although JS
advice is welcome too)


Well here's some Javascript for collapsible lists/trees that works in
IE, Mozilla and Opera:

http://www.safalra.com/programming/j.../collapse.html

And it degrades nicely if Javascript's turned off.

By the way, please quote the message to which you are replying.

--
Safalra (Stephen Morley)
http://www.safalra.com/hypertext/

Jul 21 '05 #4
Thanks for the reply. I like that your code works. However, I'd
prefer not to use inline event handlers as they add a lot of bulk to
the html with larger trees. (This is for an intranet site with
potentially large query results). I'm certain that the w3c standard
can do vent capturing or event bubbling, I just need to figure out the
latter.

Really, I'll consider the in-list image-tag you're proposing...
Through the purist in me wouldhope for crossbroswer CSS with
list-style-image instead... ;-)

Jul 21 '05 #5
jwade wrote:
Thanks for the reply. I like that your code works. However, I'd
prefer not to use inline event handlers as they add a lot of bulk to
the html with larger trees. (This is for an intranet site with
potentially large query results).


In that case, I can probably change the code so that you only need an
'id' set on the list element, and it'll do the rest for you. It might
take me a while, so I'll get back to you...

--
Safalra (Stephen Morley)
http://www.safalra.com/programming/javascript/

Jul 21 '05 #6
>In that case, I can probably change the code so that you only need an
'id' set on the list element, and it'll do the rest for you. It might
take me a while, so I'll get back to you...


As long as the code doesn't use getElementsByTagName to scan the doc
for elements to hang event handlers on. That might get slow with a ton
of elements. Event bubbling is key.

Please don't go to too much trouble on my account with the js. It's
the CSS I'm primarily concerned with:
Why are the techniques I've used for layout of the corner images
unsuccessfull?
Why is the indenting so dramatically skewed when moving between
browsers?

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jeremy Epstein | last post by:
I've got a 4-page form that lets users enter a whole lot of information, which is then submitted and emailed at the end. All the fields are stored as session data. The whole thing works fine: ...
87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
14
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT ===============================================================...
5
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>>...
7
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script...
12
by: amit | last post by:
Hello group, I'm kinda skeptical about a code is being used in my js program. All it does is checking what browser is being run and finds out if FLASH is installed or not. This code works...
6
by: scotty | last post by:
I have a script that loops through an existing table list and prepares each href element node to trigger a function when an image is clicked. The function that will be run passes a property value...
7
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.