safari

Cookies in IE6+, Safari vs. Opera, Firefox (JQuery)

Hi, I have found a weird difference in cookie behavior in IE+Safari/Opera+Firefox while navigating with the 'back' button: in IE and Safari the cookies set on a page get dropped (reverted) when returning to the previous page via the 'back' button, while in Opera and Firefox the new cookies persist. The latter behavior is what I need, b...

iPhone Congiguration Utility - Add webclip for webapp

Hi all, I'm using Apple iPhone Configuration Utility to configure in-company mobile phones. I'd like to add to home screen an icon for a in-house web application we have developed. Using the Web Clip section, it's easy to add the webclip to home screen, however, and here are the main issues: - The webclip doesn't show up the png icon d...

jQuery validation plugin - not setting focus in Webkit browsers

Hi all, Hope you can help.. am using http://bassistance.de/jquery-plugins/jquery-plugin-validation/ in an ASP.NET MVC project on an address entry form. I'm really trying to find out whether there is some kind of conflict between the Validation Plugin and webkit browsers (e.g. Safari, Chrome), or between jQuery and webkit browsers, befo...

Workaround for currentStyle in Safari

Accessing an html element's current style using Element.currentStyle only exists in IE. Is there any easy workaround for Safari or other non-IE browsers? ...

XSLT document() usage with WebKit browsers

I'm having an issue when attempting to include and access multiple XML documents in an XSL stylesheet. I'm assigning document nodes as variables and then attempting to access them in my xsl:template, similar to this: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt; <xsl:output method="xml" omit-xml-d...

Why don't Google Group pages load in a WebKit Iframe?

In Chrome and Safari, the following loads as a blank frame. <html> <head> <title>Iframe Test</title> </head> <body> <iframe src="http://groups.google.com/group/websync"&gt;&lt;/iframe&gt; </body> </html> Yet the direct URL works fine. What gives? ...

element.style.setAttribute() vs. element.attribute = ''

In javascript is there any difference between using element.style.setAttribute('width', '150px'); and element.style.width = '150px'; ? I have seen that keywords won't work with the first way (like this), but for non-keyword attributes is there a difference? ...

Textbox autofill not in correct position in safari

Hello All, Has anyone experience this weird issue on safari? Textbox autofill is not at its correct position, please see screenshot below. I have been searching for answers in google for almost a day, still no luck. This is the built-in autofill feature of safari. Here is the markup: index.php <html> <body> <div id="nav"></di...

How to check JRE version in safari using java script

Hi I found lots of help for a javascript function which will check JRE version . It worked fine in Internet Explorer. But I am using Mac Operating system and I have Safari. The same examples did not work fine for Safari. The following link tells about javascript function which will check JRE version http://stackoverflow.com/questions/1...

iPhone: how to get safari to recognize a vcard?

I'm trying to create a QR code so that iPhone users can import my address book information. I'm doing this by: putting a VCF (vcard) file on my web server creating a QR image that contains this URL. This is working on my desktop browser (it opens the vcard with the address book app). On the iPhone, the QR reader successfully te...

Alt text showing in IE and firefox but not in safari?

Why Alt text not showing in Safari ? http://gregory.pakosz.fr/stackoverflow/homework.html ...

what version of safari is the iphone os using? (as of 12/14/2009)

What version of Safari is on the iphone now? Is it Safari 4? Safari 3? 2? Something in between? In other words, when I'm writing code for the iphone, which version of Safari for the pc/mac will be the most accurate version to test it with? I think I've already run into a case where the canvas tag is handled differently on the iphon...

styling XML (not HTML) with javascript & css after rendering in browser

Hi, I'm using a webkit browser (safari), so this question is specific to webkit. I have safari rendering an XML document (it's not HTML). In order to style certain sections of the document, I've attached a stylesheet (see below) to the document. In the case below, the text within the first "thing" element is displayed in magenta. This...

How to force a page refresh while pressing the back button in MAC safari

I have two aspx pages(A,B) created using ASP.NET MVC . In the file A i have a few check boxes and textboxes. When i move to page B and try to navigate to page A by pressing the browser back button(in MAC Safari), the page is not getting refreshed . The page retains its old values (for checkboxes and textboxes). When i had the break po...

Webkit browsers pushing a bullet to the right.

The website that I'm currently working on is having a few issues with Webkit browsers (Chrome, Safari, etc.) One of those issues is that I have a bullet list that is displaying strange. The top bullet item is going to the right of the list rather than the left. I can't seem to fix it. I've tried overflow:hidden, I've tried list-style...

CSS menu issue in Safari and Chrome. Submenu disappears on hover unless you're really fast!

When you hover over the top level links, the submenu appears as it should, but when you move the cursor down over the sub menu, it disappears sometime immediately and sometimes after the 3rd or 4th submenu link depending on how precise or fast you are! It works fine in firefox, ie7 and ie8 and validates for css and xhtml transitional. Pl...

JQuery SimpleModal crashing on close in windows w/ safari

I'm leveraging SimpleModal on a small thing I'm working on to open an iFrame and later close it. Says to post here if having issues so here I am. I'm having issues with the simple modal plug-in for jquery when I go to close the popup, but only on windows with safari. It works in IE/FF/Chrome/Opera on window and works in FF/Safari on Mac...

Prevent offline iphone webapp from opening link in Safari

I’m developing a website that will work with mobile safari in offline mode. I'm able to bookmark it to the home screen and load it from there. But, once opened from the home screen, clicking on certain links will jump out of the app and open in mobile safari – despite the fact that I preventDefault() on all link clicks! The app binds an...

Is is possible interact with Safari on the iPhone, beyond just opening a URL?

Is there an API or something similar for interacting with Safari on the iPhone? For instance, is it possible to create or read bookmarks? ...

How to get the current pic of swf showing in a safari webpage?

Now I have get flash url ,I want to get its current pic , How to do ? Thank you very much! ...