safari

In Safari for iPad is it possible to have multiple scrolling areas?

I'm building a web app and I was wondering how it would work in Safari on the ipad, can I have multiple scrolling areas? ...

Geolocation Firefox accurate than iPhone Safari?

I just tested Geolocation on Firefox 3.6 and iPhone Safari (os 3.1.3), the result is interesting, firefox is more accurate than safari. any one got idea how to make iPhone Safari result more accurate. Testing Resul Windows Vista Firefox 3.6: ------------- Accuracy: 150 iPhone 3G (os 3.1.3) Safari: ----------- Accuracy: 828 this i...

Does Safari have a timeout issue?

I have a website that works fine in Firefox and IE but never finishes loading in Safari 4.0.4. The live website loads a menu then loads a Google map. Using Safari, the Google map never loads. I have a test website on the same server that uses the exact same code for loading a Google map and Safari can load the map (this is the one tha...

Header Problem on the iphone

Hello, when looking on: http://www.pharao.mobi/WebApp17/ i can call this website on the normal webbrowser and on safari, but on iphone it is black, why? I have added caching by adding Expires:------ to the header ...

iPhone: know programmatically is cookies are allowed or not

Hello, I need for my app to have cookies enabled in Safari and I was wondering 2 things: - How to detect if cookies are allowed or not - How to allow cookies For the moment my googling was not really successful... Thanks for your help :) ...

Catching an exception when trying to launch a URL service from within Safari on an iPhone

Hey guys, I was wondering if anyone knows - if I have an iPhone app that is registered with a URL service (e.g. alocola://), which means another app can invoke it by calling its URL - is there any way to embed this URL in an HTML page, and catch the exception if the app is not installed on the user's iPhone? Or in other words / more de...

Detect focus on browser address bar?

Is there a way to detect when focus has been put onto the address-bar or the browser-search-bar? I ask because I am trying to keep focus on one element in my document, but adding a blur() listener to that element (which calls focus() on that same element) works too well in Safari Mac -- you can't put focus on the address-bar when you se...

JavaScript Error line 1 <ANYJAVASCRIPFILE.JS> SyntaxError: Parse error IN Iphone mobile safari

Hi, I keep getting this error when I run my web app (asp.net mvc) in the mobile safari (ITouch) JavaScript Error line 1 SyntaxError: Parse error JavaScript Error line 1 SyntaxError: Parse error I have no problem running this in any other browser (including safari). I suspect this is something to do with mobile safari handling...

How to close all, or only some, tabs in Safari using AppleScript?

I have made a very simple AppleScript to close tabs in Safari. The problem is, it works, but not completely. Only a couple of tabs are closed. Here's the code: tell application "Safari" repeat with aWindow in windows repeat with aTab in tabs of aWindow if [some condition is encountered] then aTab ...

asp.net rangevalidator for calendar extender entries gives problems in safari

Hi there, I have the following scenario: arrival and departure dates have to be selected on a form, through 2 textboxes with a calendar extender each. I validate the entries to check that no date before today is selected and to check that the departure is after the arrival. I used a rangevalidator and a comparevalidator. In IE, Firef...

Integrate IPhone Safari like view in Android?

The main concept goes like this. I have four listviews with its own data loaded at the same time. Only one listview will be visible to the user. Now, when the user presses a button, not only the current listview but also other three listviews should be minimized and then user can just scroll just as in Gallery and select the listview tha...

Weird safari rendering

Hi everybody, i'm testing the new template for a website that i'm working for, and on safari i have a really weird behaviour where a piece of page (a table) goes far on the right, about 631 pixels, and i don't have any idea on why this is happening and how to fix it. Someone can help me? Here the page: http://www.ilsegnale.it/?tpl=502 ...

Strange jQuery $(window).load() behavior in Safari

I have a page being loaded in an <iframe>. Inside the <iframe>, I have a function that patiently waits for the page to load using jQuery's $(window).load() event which is supposed to wait until ALL page content (images, javascript, css, etc.) is loaded before firing. The function then calls back to the page loading the <iframe> using p...

CSS: Chrome and Safari seem to 'add' border to width, while IE, Firefox & Opera don't

Hey guys, I'm trying to achieve cross-browser consistency for my website, but I have been trying all day now and its driving me nuts (0.38 am here in Europe now..). It's about this page: http://www[insert-dot-here]geld[insert-dash-here]surfen[insert-dot-here]nl/uitbetalingen.html (please note that I prefer this URL not to be made crawlab...

Sources for iPad web programming?

Anyone got some good references for targeting web content to the iPad web browser? i know its still very early days but I havent got any good indicator on how to setup CSS to fix iphone/ipod touch versus the larger screen of the iPad? or do I just consider it to be like safari on the bigger Macs ...

Jqzoom not working on safari

Hello I am using jqzoom and it is working fine on all browser except safari there is an error "TypeError: Result of expression 'smallimagedata.pos' [undefined] is not an object." Please if somebody can help the page is http://www.legzskin.com/products.php?product=CHARMED when u mouseover the 3 images it should appear zoom window over t...

@font-face problem with font-weight in Safari

I just started using @font-face This is on top of my css @font-face { font-family: Avenir; src: url(../fonts/AvenirLTStd-Medium.otf); } body{ font-family:"Avenir",Helvetica; background:#fff url(../images/main_bg.png) repeat-x scroll 0 0; color:#321244; } and i have this below for a menu on joomla #menu_bottom ul li a { font-si...

IE, Firefox, Safari: Want to write Internet filter: Are there well known "hooks" that I can tie into?

For each of the modern browsers are there well known hooks I can tie into so that I can write an Internet filter while browsing, like an interface where I can write implementations for these types of events: OnBeginSurf(URL) { // check URL to see if goes to porn site } OnContentFinishedDownloading(HTML) { // check HTML for "...

Browser JSON Plugins

Im looking for a Safari/Webkit plugin similar to Firefox's JSONView, or the Pretty JSON Chrome extension. Anyone know of anything like this? JSONView - http://benhollis.net/blog/2009/02/24/jsonview-view-json-documents-in-firefox/ Pretty JSON - https://chrome.google.com/extensions/detail/ddngkjbldiejbheifcmnfmmfiniimbbg ...

Facebook Connect Button

I am having problems with facebook connect. When I click connect on facebook connect for the first time I connect fine. After words I close my browser completely. I go back to my website and the facebook connect button does nothing. This happens in Firefox as well as in safari. Opera and Chrome both do not seem to have this bug. I...