safari

Is there a way to avoid displaying the keyboard in mobile safari

For instance if I have <input type="text" id="myid"> and I am using the ipad, when i focus in this input, the ipad would automatically display the keyboard. Is there a way to avoid that? Thanks ...

Browser behaviour with XSL - Firefox different from IE / Chrome

I have the following simple XSL style sheet: <?xml version="1.0" encoding="windows-1252"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> <xsl:output encoding="utf-8" method="html" /> <xsl:template match="/"> <xsl:text disable-output-escaping="yes"> &lt...

Images are only visible the first time in Safari

In safari, the images in the middle section load fine the first time you opend this page http://cacrochester.com/ If you refresh the page, the images are not visible. It seems to only be in Safari (so far on browsers that i've tested). Anyone know why? I'm using the NivoSlider btw. ...

play quicktime in safari on the iphone

Sorry - can't find any ref anywhere for this. Is it possible to play quicktime on a safari page on the iphone without it going to the video player? Client wants other items on the page to be viewable whilw video is playing. Many thanks & if so any ref would be great... best, Dan. ...

iPhone safari web app floating div

Hello, Am wondering how to achieve a floating div in iPhone Safari. position:fixed does not work unfortunately. Thank you for your time. ...

Play sound in iPhone web app

Hello, I assume there might be a HTML5 or some JS that can be used to play sound? Before you mark this as duplicate, this question is old, so I believe outdated: http://stackoverflow.com/questions/1694631/play-sound-in-iphone-web-app-with-javascript ...

HTML5 live video "hack"

Hi, For the last two month I have been trying to "fool" safari into thinking that it's looking at a file on the server, which in fact is a live video stream from a camera encoded and muxed upon request using Gstreamer into a format that is supported by the browser. Since HTML5 supports progressive video downloads this should at least be...

How to set a timeout for finding location with geo.js?

I use geo.js in my webapp to let user share their location. In most browsers it works fine, however in Safari it usually hangs up. I know there's timeout in HTML5 geolocation, is there such thing in geo.js too? Thanks! ...

Web Site testing stategies.

Hello I've been Googling this one, on and off, for a few days now. When generating non-commercial Web sites, what's the best strategy when it comes to cross-browser testing? I use Windows 7 and Textpad to develop my HTML/CSS/JavaScript/PHP - i.e.: no dreamweaver, kompozer, Etc. I currently test using Firefox 3.6 and IE8. The last ti...

Handling HTML SELECT Options with event delegation to javascript on iPhone Safari

We are developing a web application with GUI customized to use on iPhone. A page on the app has 3 subsequent SELECT dropdowns, where selection of an option from 1st dropdown derives the options for 2nd dropdown, and so forth. The subsequent dropdown options are populated by javascript based on onchange event on previous dropdown. The pr...

iPhone Browser simulator for Windows?

Note: This is a question about simulating the Browser on the iPhone, not simulating the whole device. I know that iPhone-device simulation is not possible on Windows, as discussed at length here. I have a web site that looks really weird when viewed on an iPhone - its some sort of CSS issue. The same issue does not occur when I view th...

:active pseudo-class doesn't work in mobile safari

In Webkit on iPhone/iPad/iPod, specifying styling for an :active pseudo-class for an <a> tag doesn't trigger when you tap on the element. How can I get this to trigger? Example code: <style> a:active { background-color: red; } </style> <!-- snip --> <a href="#">Click me</a> ...

CSS page-break-after and float not playing nicely?

If I have the following HTML code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Test</title> </head> <body> <div style=...

How to get ajax response document extracted in safari

I am executing an ajax request using dojo, I have a call back function which has the response object. when i put an alert statement on the response object , it shows different in Firefox and safari. In Firefox it shows as a XMLDocument where as in Safari it shows as a Document. Due to this I am facing some problems in extracting the da...

Required Field Validators firing in Chrome & Safari when button has CausesValidation="false"

I'm having some problems with my ASP.NET 4 application in Chrome & Safari (works in Firefox and IE). I have a button declared using the following code: <asp:Button ID="btnEOI1" runat="server" CssClass="buttonCSS" Text="Lodge an Expression of Interest" OnClick="btnEOI_Click" CausesValidation="False" /> In the c...

Why is Jflow not work in Safari when using a fullsreen FLASH background

I am using a full screen flash background that changed images after 5 seconds, and when I use Jflow on top of that, it fails to work in safari, but works fine in Firefox and Chrome, Anyone have any ideas what could be wrong <script type="text/javascript" src="JS/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="JS/jq...

onpopstate event doesn't trigger in Chrome/Safari

Chrome and Safari doesn't trigger the HTML5 onpopstate event. Here is my example: <!doctype html> <html> <head> <title></title> <script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; <script> window.onpopstate = function(e) { document.getElementById("log").i...

regex.test() only works every other time

Regex test() is giving me issues in Firefox and Chrome, yet it works flawlessly in Opera and Safari. troubled code: var pattern = /(\s+(?!\$\w+)|(^(?!\$\w+)))/g; if(pattern.test(String(id).replace(/\s+OR|AND\s+/g, ''))) { searchError("You suck."); return 1; } When you pass in white space, it blocks it every time. When you pass in s...

box shadow on an ipad / safari

Hi Guys, I'm having trouble adding the nice shadow on focus for an input box on my ipad for safari. Here's my code /* remember to define focus styles! */ :focus { outline: 0; } input[type=text]{ width: 494px; height: 44px; line-height: 44px; font-size: 24px; border: 2px solid #666666; ...

ContentEditable focus in Chrome/Safari

I have a contenteditable div which needs to be focussed at pageload (place cursor at the first line). document.getElementById("editor").focus() works well in Firefox and IE, but in Chrome/Safari it just selects the entire content! Is there a way to make this work properly? Thanks in advance, Shesh ...