473,796 Members | 2,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1656

"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.ne t> 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*****@litote s.demon.co.uk> wrote in message
news:bj******** ***********@new s.demon.co.uk.. .
| "Nobody" <no**@nope.ne t> 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.ne t> wrote in message
news:sc******** ***********@fe1 .columbus.rr.co m...
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.ne t> 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*****@litote s.demon.co.uk> wrote in message
news:bj******** ***********@new s.demon.co.uk.. .
| "Nobody" <no**@nope.ne t> wrote in message
| news:sc******** ***********@fe1 .columbus.rr.co m...
| >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
1277
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
2200
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 Script Debugging unchecked. I set the server side debugging for the www in question. I have a Stop statement in the VBScript code in a certain page, and yet the debugger does not stop on the page in question, it does nothing. If I open up the .asp...
4
1674
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 2) display a notification about every script error 3) show friendly HTTP error messages
385
17323
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 extraneous jargons, such as in the Unix & Perl community. Unlike mathematicians, where in mathematics there are no fewer jargons but each and every one are
1
2149
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 get to the page where the breakpoint is, the code doesn't break in the IDE at the breakpoint. The breakpoint is in a Page_Load section. All pages in my app are in the same directory and use relative linking to move from one page to the next. No...
4
1401
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 Explorer In VS set a breakpoint in the script Attach the IExplore debug process Operate on the page to cause the script to run. But all the hppens is that both the client side script and server side
14
1735
by: John M | last post by:
Hello, In Microsoft Visual Studio .NET 2003, How can I debug javascript/vbscript codes (client side) ? Thanks :)
13
1608
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? -- Arne Garvander (I program VB.Net for fun and C# to get paid.)
2
1405
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 snippet below), but I don't know how to "execute" it in a browser page. And since I don't understand the javascript language very well, I can't manually decode it either. Any help would be greatly appreciated. Here's the code: <script...
0
9531
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10237
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10187
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10018
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7553
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.