473,832 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MAC Safari compatibility problem 2

document.[Form Name].[Field Name].focus() will scroll the form to move the
specified text field into view on everything I have tried it with except
Safari on the MAC. The form doesn't move. Any work around? Thanks.
Apr 10 '06 #1
34 3883
VK

Simon Wigzell wrote:
document.[Form Name].[Field Name].focus() will scroll the form to move the
specified text field into view on everything I have tried it with except
Safari on the MAC. The form doesn't move. Any work around? Thanks.


Go to <http://www.caminobrows er.org> and get yourselve a Browser (not a
buggy HTML renderer). Advise the same to your visitors is they are
still suffering under Safari.

P.S. window object has (had?) .scroll, .scrollBy and .scrollTo methods.
Try these -but I would not hold my breath on it.

P.P.S. Usually on Safari everything either doesn't work at all or it
works in the least expected way. If you are determined to bring this
stuff to life no matter what, you may want to summarize all glitches
first - otherwise we'll come to "MAC Safari compatibility problem 122"
post rather soon ;-)

Apr 10 '06 #2

"VK" <sc**********@y ahoo.com> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. .

Simon Wigzell wrote:
document.[Form Name].[Field Name].focus() will scroll the form to move
the
specified text field into view on everything I have tried it with except
Safari on the MAC. The form doesn't move. Any work around? Thanks.


Go to <http://www.caminobrows er.org> and get yourselve a Browser (not a
buggy HTML renderer). Advise the same to your visitors is they are
still suffering under Safari.

P.S. window object has (had?) .scroll, .scrollBy and .scrollTo methods.
Try these -but I would not hold my breath on it.

P.P.S. Usually on Safari everything either doesn't work at all or it
works in the least expected way. If you are determined to bring this
stuff to life no matter what, you may want to summarize all glitches
first - otherwise we'll come to "MAC Safari compatibility problem 122"
post rather soon ;-)

That bad is it? Geez! We just put in a check for IE on the MAC to just
diallow it and told them to use Safari instead. I've never even heard of
Camino. Is that now the accepted browser for the MAC? Is that what most MAC
users are now using? I've been a PC man for 20 years not out of any love for
Microsoft but because PCs always had the vast majority of the market and I
wanted to be compatible with the majority of the market. And all these years
I've been hearing how wonderfull the MAC is and now it looks like the stupid
thing doesn't even have agreement on a browser than works.
Apr 10 '06 #3
VK

Simon Wigzell wrote:
document.[Form Name].[Field Name].focus() will scroll the form to move the
specified text field into view on everything I have tried it with except
Safari on the MAC. The form doesn't move. Any work around? Thanks.


Go to <http://www.caminobrows er.org> and get yourselve a Browser (not a
buggy HTML renderer). Advise the same to your visitors is they are
still suffering under Safari.

P.S. window object has (had?) .scroll, .scrollBy and .scrollTo methods.
Try these -but I would not hold my breath on it. Usually on Safari
everything either doesn't work or it works not as expected.

Apr 10 '06 #4
VK

Simon Wigzell wrote:
That bad is it? Geez! We just put in a check for IE on the MAC to just
diallow it and told them to use Safari instead.
The latest IE for Mac is 5.2, and it's support is officially
discontinued by Microsoft a while ago. So it is indeed something to
forget.

How bad Safari is? It is not a security hole or something that crashes
your computer etc., no. But my personal experience you have two options
only with Safari: either you spit on it and hope that your solution
will be still semi-functional; or you hire a whole separate department
only to port each and every of solutions for Safari only. As I said,
too many features are missing - and too many features are implemented
in ...strange... way.
I've never even heard of
Camino.
Camino 1.0 is the same Firefox 1.5 but for Mac OS: the same features
and the same standards - made by the same organization. The only (but
huge) difference is that Camino is written as a native Mac OS
application and uses the same Cocoa graphics. These were the majore
problems with Firefox for Mac:
1) too long startup
2) lesser performance as compared with the native applications.
3) too "functional " interface.
I would guess that the latter was even the biggest problem. Many Mac
users are kind of... say... artistic natures and spoiled by the Mac
fine-tune design care: aqua, transparencies, gradients, bluring,
blah-blah :-) In such surrounding Firefox (despite any themes) was
looking like a plain-vanilla hammer in a fine art boutique. :-)

Camino was in testing for several years, but until the official release
(1.0) it was difficult to suggest it. Now: welcome to
<http://www.caminobrows er.org> And it's free - unlike Safari (OK, you
don't pay for the browser itself, but you have to pay for the OS
upgrade to get a half-descent version of this browser).
Is that now the accepted browser for the MAC? Is that what most MAC
users are now using?
Mas OS didn't have special browser for the longest time, and when it
first appeared (Safari) it happened to be a junk for several versions
in the row. So Mac OS users have everything one may imagine from
wherever they could get it, even Netscape 4.x for Mac
The question is what are you ready to support without wasting your
time and money? I told you my opinion, but it's my opinion.
I've been a PC man for 20 years not out of any love for
Microsoft but because PCs always had the vast majority of the market and I
wanted to be compatible with the majority of the market.


I wouldn't count that Microsoft will ever port again Internet Explorer
on any platform besides Windows. So you have to support standards
(Firefox and Camino) and IE - lucky it seems getting closer and closer
every year, at least in the most important aspects (XML, XSLT, XPath,
XMLHttpRequest, behaviors and so on).

Apr 10 '06 #5
<snip>

Thanks, I have installed Camino and it doesn't have any of the flaky
behaviour of Safari so I'm sold on it.

Thanks for all your comments. I will be forwarding them to my client to back
up my susggestion that we throw safari into the same garbage heap with the
nasty MAC IE.
Apr 10 '06 #6
VK

Simon Wigzell wrote:
Thanks, I have installed Camino and it doesn't have any of the flaky
behaviour of Safari so I'm sold on it.
Good deal! :-)
Thanks for all your comments. I will be forwarding them to my client to back
up my susggestion that we throw safari into the same garbage heap with the
nasty MAC IE.


Right.
Full disclosure: Camino is made with a big care and after long
throughout testing - but not by Gods (like any software though). In
case of any problems - or to request a new feature - do not neglect
<https://bugzilla.mozill a.org/enter_bug.cgi?f ormat=guided&pr oduct=Camino>

Good luck!

Apr 10 '06 #7
VK wrote:
Simon Wigzell wrote:
document.[Form Name].[Field Name].focus() will scroll the form to move the
specified text field into view on everything I have tried it with except
Safari on the MAC. The form doesn't move. Any work around? Thanks.

It works for me in version 1.0.3 (OS X 10.2.8). What version are you using?

<input type="button" value="focus on fred"
onclick="docume nt.sue.fred.foc us();">

<div style="height: 100em;">&nbsp;</div>

<form name="sue" action="">
<input id="fred" value="I'm fred">
</form>

Go to <http://www.caminobrows er.org> and get yourselve a Browser (not a
buggy HTML renderer). Advise the same to your visitors is they are
still suffering under Safari.
Perhaps you should test in Safari to see if the OP has a case. There is no
code shown and the functionality works in an old version of Safari (1.0.3),
I can't test in a newer one until later.

There were issues with Safari and focus() in older versions than 1.0.3.

P.S. window object has (had?) .scroll, .scrollBy and .scrollTo methods.
Try these -but I would not hold my breath on it.
Care to point out where any of those are described in a W3C specification?

P.P.S. Usually on Safari everything either doesn't work at all or it
works in the least expected way. If you are determined to bring this
stuff to life no matter what, you may want to summarize all glitches
first - otherwise we'll come to "MAC Safari compatibility problem 122"
post rather soon ;-)


Safari has it's problems for sure, but likely no more than other browsers.
It is generally pretty good for standards compliance.
--
Rob
Apr 10 '06 #8
Simon Wigzell said on 11/04/2006 6:28 AM AEST:
<snip>

Thanks, I have installed Camino and it doesn't have any of the flaky
behaviour of Safari so I'm sold on it.

Thanks for all your comments. I will be forwarding them to my client to back
up my susggestion that we throw safari into the same garbage heap with the
nasty MAC IE.


Don't be surprised if your client is as receptive as if you'd said dump
IE on Windows and install Firefox.

I don't particularly like Camino (just personal preference), you might
like to try OmniWeb too. I used version 4 until Safari became useful,
version 5 is better than Firefox (I was too lousy to buy a licence at
USD29.95 but I'm reconsidering).

<URL:http://www.omnigroup.c om/applications/omniweb/>
If you include Safari in your development and test environments, you'll
quickly learn its foibles and to work with them. Overall, I don't think
it has any more scripting eccentricities than IE (but different ones) -
though it probably has more than Firefox.
--
Rob
Group FAQ: <URL:http://www.jibbering.c om/FAQ>
Apr 11 '06 #9
VK
RobG wrote:
Safari has it's problems for sure, but likely no more than other browsers.
It is generally pretty good for standards compliance.


We must be happened to test on Safari's from parallel universes :-)

But you are right that Camino is not the *only* choice for Mac users -
but I never said that. There is OmniWeb
<http://www.omnigroup.c om/applications/omniweb/>, there is iCab
<http://www.icab.de/>, there is a whole list here:
<http://darrel.knutson. com/mac/www/browsers.html> (some links are
already dead); if one diggs in public FTP archives it is still possible
to find IE 5.2 for Mac or NN 4.x for Mac.

The problem with OmniWeb and iCab (and many others) is the fee. There
is a noticeable difference between to say "go download a newer browser"
and "go buy a newer browser". The first is my holly right I reserve to
use; the second is kinda users' monetary business I'm hesitating to
implore.

And the universal problem with all Co is that as of the year 2006 there
is a big difference between Browsers and HTML Renderers. The latter
ones may have better or worser interfaces, render HTML by W3C or by
their own etc. But it does not promote them into Browsers - thus into
something one can cover by support without having a separate
development unit or by switching onto lower-level solution model.

I'm willing to change my mind about OmniWeb though: if you visit
<http://www.geocities.c om/schools_ring/test.xml> and tell me that you
see a formatted table with misic collection. It doesn't make OmniWeb
free of course, but at least I'm ready to talk about it as of a
browser.

If you see a jagged XML source text instead, then the question is over,
I'm affraid.

Apr 11 '06 #10

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

Similar topics

1
1589
by: Martha Vineyard | last post by:
Hi, I have a site which I tested today for Safari compatibility and found the event handlers assigned in-line in a DIV declaration were not being called. Example : <DIV unselectable="on" ID="subCat1" style="text-align:center; color:#ID4921; font-family:Arial Bold; font-size:14; position:absolute; left:254; top:337; width:122; visibility:visible;" onmouseenter="gotMouse()" onmouseleave="gotMouseOut()" onclick="gotSelected()"> Sapphire
1
1933
by: liberty | last post by:
Hi, I have looked everywhere to try and solve my problem-- looked at W3C DOM Compatibility charts, read articles, tried debuggers, and still my script is not working. The problem I have is this. I am working on a script that dynamically generates maps with research sites that show up when selected from a pulldown list. The sites show up in every browser except for Safari, and I can't figure out why. I have made a simple function that...
2
1986
by: jdlwright | last post by:
Hi, I have a big script that doesn't work in Safari 1.3, but does work in FF, and IE. I've given up going to my local Uni. to use their Macs (they've prevented the Debug menu from appearing after running that widely known hack), and so I want to buy my first Mac to do this properly. Being a PC person I am generally ignorant of Mac OS issues;
2
2514
by: drew197 | last post by:
I am a newbie. This is someone else's code which I have to modify to work in Mozilla and Safari. The changes I made so far have allowed it to work in Mozilla but not Safari. It seems to be getting hung up on the first line of code. I put an alert after that line and I never saw it in Safari but I did see it in Mozilla. Any Thoughts? Thanks, Andrew Here's the code:
3
6698
by: Joe Cox | last post by:
I am having a problem with style properties for dynamic images in Mac OS X Safari. By dymanic images, I mean images allocated with the javascript 'new Image()' call. With static images (created with the html <img> tag), I can make the image visible or not, i.e. '<img style="visibility='hidden'" src='xxxx'/>'. But if I create the image dynamically with javascript: new Image() then try to modify the style, Safari chokes, and the Debug...
2
2120
by: Simon Wigzell | last post by:
I use onkeypress() within text fields in my forms to chcek certain characters e.g. allow numbers for a phone number or credit card field. The code looks at the key pressed and if it is not numberic it posts an alert and returns false. On everything I have looked at except safari on the mac, returning false to onkeypress() is enough that the newly typed character will not appear in the text field. On mac safari it does. Is there no way to...
7
2558
by: Tom | last post by:
I have an oo-type javascript program running perfectly on IE 6.0+, FF 1.5+, and Opera 7+ on Windows 98+, Linux (RH 9, FC 6), and Mac OS X. 4. As usual, the Safari browser is not working correctly, and because it lacks an internal debugger, I'm completely unable to see what the problem is. So I downloaded that "Drosera" debugging program, but I'm finding it useless for the following reasons: 1) I cannot "Attach" it to Safari 2.0...
2
1554
by: Jeff | last post by:
Okay, I read that Safari is now available for Windows, so I downloaded it to test on a vb.net/visual web developer 2005 app. that I created. The app works fine in other browsers. While in safari, I get the error message below after hitting a button that simply redirects the user to another page. Searching google provides a number of people having prior problems, but no mention about Safari. The error is apparently related to a security...
0
9795
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
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,...
1
10541
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
10212
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
9320
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
7753
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
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5789
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3972
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.