473,241 Members | 1,875 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,241 software developers and data experts.

need help debugging opensource script on Mac IE

I have a GNU licensed Javascript slideshow script:
http://slideshow.barelyfitz.com/

Recently some users have complained about problems in Mac IE; unfortunately
I don't have a Mac system that I can test. It runs cleanly on Windows IE
and Mozilla.

Is anyone willing to take a look at this?
Your fellow Mac users will thank you. :)
--
Patrick Fitzgerald - pa*@barelyfitz.com
BarelyFitz Designs - http://www.barelyfitz.com/
Jul 20 '05 #1
6 1638

"Patrick Fitzgerald" <pa*@barelyfitz.com> wrote in message
news:Xn**********************@216.77.188.51...
| I have a GNU licensed Javascript slideshow script:
| http://slideshow.barelyfitz.com/
|
| Recently some users have complained about problems in Mac IE;
unfortunately
| I don't have a Mac system that I can test. It runs cleanly on Windows IE
| and Mozilla.

Have you tried Opera and Netscape as well?

I see one problem at a glance. The innerHTML reference is used without
checking if it is supported. This is bad news for a lot of agents. My own
slideshow works on Mac IE, but as I recall, it required some careful object
detection to make it work (Mac IE is one of the strangest animals out
there.)

Usual suspects are things dealing with filters (BTW, your slideshow will
lose transitions for non-IE browsers if it uses filters), plugins, audio,
etc. Only the first one applies here based on a quick glance at the script.

You can make your slideshow work with transitions in Gecko based browsers
with the moz-opacity style (search Google for examples.) Your dynamic
document must hide this style from everything BUT Gecko. How to do that is
left as an exercise.

|
| Is anyone willing to take a look at this?
| Your fellow Mac users will thank you. :)
| --
| Patrick Fitzgerald - pa*@barelyfitz.com
| BarelyFitz Designs - http://www.barelyfitz.com/
Jul 20 '05 #2
"Nobody" <no**@nope.net> wrote in message
news:bK******************@fe3.columbus.rr.com...
<snip>
with the moz-opacity style (search Google for examples.)
Your dynamic document must hide this style from
everything BUT Gecko. How to do that is left as an
exercise.


Why? The CSS specification clearly states that unrecognised properties
are to be ignored by conforming implementations. It might be necessary
to hide the CSS from dubious implementations like Netscape 4 but there
are plenty of CSS based methods for achieving that.

Richard.
Jul 20 '05 #3
IE is highly dubious as well. You absolutely cannot hide everything you
need to hide with CSS tricks involving comments and the like. Server-side
script is needed.

"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message
news:bj*******************@news.demon.co.uk...
| "Nobody" <no**@nope.net> wrote in message
| news:bK******************@fe3.columbus.rr.com...
| <snip>
| >with the moz-opacity style (search Google for examples.)
| >Your dynamic document must hide this style from
| >everything BUT Gecko. How to do that is left as an
| >exercise.
|
| Why? The CSS specification clearly states that unrecognised properties
| are to be ignored by conforming implementations. It might be necessary
| to hide the CSS from dubious implementations like Netscape 4 but there
| are plenty of CSS based methods for achieving that.
|
| Richard.
|
|
Jul 20 '05 #4
"Nobody" <no**@nope.net> wrote in message
news:sc*******************@fe1.columbus.rr.com...
IE is highly dubious as well. You absolutely cannot hide
everything you need to hide with CSS tricks involving comments
and the like. Server-side script is needed.


A server-side script stands less chance of determining the quality of
client side CSS support than it has of working out what software is
operating at the client end.

Richard.
Jul 20 '05 #5
"Nobody" <no**@nope.net> wrote in
news:bK******************@fe3.columbus.rr.com:

| http://slideshow.barelyfitz.com/

Have you tried Opera and Netscape as well?
Yes, no problems in Opera or Netscape 4.8
I see one problem at a glance. The innerHTML reference is used
without checking if it is supported. This is bad news for a lot of
agents.
Thanks for catching that. I think at one point I checked like this:

if (r.innerHTML)

but that caused a problem when innerHTML was set to "". I guess I'll have to
check like this:

if (typeof r.innerHTML != 'undefined')

I don't know if this will solve my Mac problem though.
My own slideshow works on Mac IE, but as I recall, it
required some careful object detection to make it work (Mac IE is one
of the strangest animals out there.)
So it would seem.

Usual suspects are things dealing with filters (BTW, your slideshow
will lose transitions for non-IE browsers if it uses filters),
plugins, audio, etc. Only the first one applies here based on a quick
glance at the script.


Yeah, I just added the IE filters on request; I'll eventually add a cross-
browser solution.

Thanks again.
--
Patrick Fitzgerald - pa*@barelyfitz.com
BarelyFitz Designs - http://www.barelyfitz.com/
Jul 20 '05 #6
I pass it the DOM-indicated UA string. After that it is all based on
empirical evidence (testing on numerous browser/platforms.) Clearly CSS
support is different across different platforms and browser versions and the
only way to keep track of such things is with a database. It is an
imperfect world with lots of imperfect browsers and this is an imperfect
method, but effective enough to be quite practical. If half of the web
sites out there competently supported NS, IE, Moz and Opera (and okay throw
in Konquerer) across Windows, Mac and Unix, things would be 1000% better
than they are today (where most sites don't seem to support anything well.)
If half of them could learn to suppress tables when confronted with cell
phones (well, mine anyway) then we would really be getting somewhere. I
have a tool that can make all of them at least this good (ASP based, watch
for it soon!) So call me crazy!

"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message
news:bj*******************@news.demon.co.uk...
| "Nobody" <no**@nope.net> wrote in message
| news:sc*******************@fe1.columbus.rr.com...
| >IE is highly dubious as well. You absolutely cannot hide
| >everything you need to hide with CSS tricks involving comments
| >and the like. Server-side script is needed.
|
| A server-side script stands less chance of determining the quality of
| client side CSS support than it has of working out what software is
| operating at the client end.
|
| Richard.
|
|
Jul 20 '05 #7

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

Similar topics

3
by: gilgamesh | last post by:
Hi there, What's a good tool to use for debugging ASP pages which contain bunch of javascripts? Thanks, Gilgamesh
2
by: Steve Anderson | last post by:
Please excuse my ignorance as I'm fairly new to ASP. We have IIS running on Win2000 and serving out an ASP application. I installed the script debugger tonight. IE6 on the machine has Disable...
4
by: Matt | last post by:
For debugging javascript purposes, should we ensure the following check boxes (1-3) are checked. In IE browser, tools->Internet Options->Advanced Under Browsing, 1) disable script debugging...
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
1
by: Johann Blake | last post by:
My ASP.NET application is written using C# script as well as C# code-behind. After setting a breakpoint in the script and running the application, I click from one page to the next but when I...
4
by: gemel | last post by:
I am trying to debug the client script of a CustomValidator, but VS seems to ignore it completely. This is waht I do: Enable script debugging in Internet Explorer Launch the page from Internet...
14
by: John M | last post by:
Hello, In Microsoft Visual Studio .NET 2003, How can I debug javascript/vbscript codes (client side) ? Thanks :)
13
by: Arne Garvander | last post by:
Sometimes I get an exception in the browser and I get prompted to start Visual Studio 2005 for debugging. Sometimes I would like to start client side debugging on demand. How can I do that? --...
2
by: jbowers | last post by:
I have a very long text string of numbers and some javascript code that is supposed to be used to manipulate it. I am trying to "decode" this string (represented as the variable "v" in the code...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.