safari-bug

ASP.NET web service does not work in Safari.

I have a WebForms page (.aspx) that accepts parameters via get / post and returns XML. This works in all browsers except for Safari where I get this gem: Safari can’t open the page [URL]. The error was: “unknown error” (CFURLErrorDomain:303) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe wh...

How to detect cookie enabled in Safari 4 Beta

Safari 4 Beta on Windows (build 528.17) has a bug. If expires is in value assigned to document.cookie, cookie is not changed. So, below cookie enable detection doesn't work anymore. var dt = new Date(); dt.setSeconds(dt.getSeconds() + 2); document.cookie = "cookietest=1; expires=" + dt.toGMTString(); var cookiesEnabled = document.cooki...

JavaScript Calling a Java Function Doesn't Work in Safari

Hi, I have problem with calling a java function from javascript. Although it works for other browsers like IE, Firefox and chrome, it doesn't in safari. Here is my code. <HTML> <HEAD> <TITLE>Simple Applet Example</TITLE> <SCRIPT> function callSpin() { document.getElementById("myslotmachine").spin(); } </SCRIPT> </HEAD> <BODY> ...

Is iPhone's Safari resolution treated differently than the rest of the device?

I have an image that is 480x270. In theory this should occupy all the space between the battery bar on top and the navigation bar at the bottom when the phone is rotated on to its side. However, inexplicably the image is displayed shrunken to where it barely occupies 1/2 the screen horizontally. I thought perhaps the phone is shrinkin...

How do I write CSS for multiple divs that fill out the browser window?

What I want is to have mutliple divs after one another, that each is the full width and height of the browser/viewport. When the browser is rezized, the divs should rezise accordingly. I have succesfully managed to do this in FF and IE (just width: auto and 100% height on each div), but Safari & Chrome still doesn't get it. The weird th...

Safari 5.0 Extension Scripts Won't Run on Local Files

Hi, I wrote a very simple extension for Safari 5 that only outputs a single log message from a start script. This is the start script: console.log('start script running'); If I go to any internet page (eg. http://www.yahoo.com) the log message appears in the error console. But if I open any local html page no log message appears. By l...

Sometimes in Safari the first click isn't sent to the popup

I used different methods including "onclick" and jquery. http://sky-walker.net/temp/test.htm On Safari (for Windows at least), the first click after a popup appears (alert, prompt or confirm) isn't handled by the popup... e.g. in my test trigger a popup then hover or click on the checkbox... the first click doesn't register with the "o...

Safari/Chrome 5 : appending '&_' /000 at end of Form Data

Hi everybody, Safari and Chrome v5 are appending &_ or /000 to the end of Form Data using Ajax. Some times they fix that and later comeback again in new versions, now in five. Could someone say to these guys who is difficult to fix our problems to fix the genius of others. Can someone explain why they need this at the end of Form Data a...

Safari MegaMenu c/ hoverIntent problem when rendering over Flash swfobject

I have a bizarre problem that recently surfaced. I have some megamenus -- they are coded very simply as unordered lists and use jQuery. There are coded up very much like this SitePoint tutorial found here. Here's my jquery $j('li>a[topnav], li>div[topnav]').hoverIntent({ sensitivity: 4, interval: 100, over: ShowMenus, t...

Sliding doors HTML buttons in Safari Win

Hi, I have the following HTML for buttons implementing sliding doors technique that look fine in everything but Safari on Windows: <button type="submit"> <span>Button</span> </button> This is the corresponding CSS: button { background:url("../images/sprBgBtn.png") no-repeat right -47px; border:0; cursor:pointer; ...