safari

JQuery $.ajax problem at safari

Hi all, I am working on a .net web project (with using c#). there is a drop down list on the page. the drop down list's onchange method calls a jquery function and this function makes an ajax call. with ajax call the handler returns the html of a renderable user control. then the jquery function locates the returned html into page. thes...

Firefox and Safari stylesheet loading time, firing JavaScript event when loaded

We have some JavaScript code that resizes <div/> elements (adjusts height/width/padding/margin etc.) based on the dimensions of a parent <div/> element, specifically the height and width of the parent we use in the calculation. The parent div height and width is defined in a external CSS file, and <link> is used to include the stylesheet...

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...

SQLITE + CHROME/SAFARI: "not authorized" ERROR

I am trying to do a bulk transaction using SQLITE on CHROME (and SAFARI). I'm doing this with javascript so this is what I have: ============================================================= query = "BEGIN TRANSACTION; " query += "INSERT INTO schools (name) VALUES('School 1');" query += "COMMIT TRANSACTION;" db.executeSql(query); ...

How to get URL from Safari browser

How can I access the Safari browser from C# to get the current URL? ...

Wait for message to send in window.onbeforeunload?

I'm messing around with Safari extensions, and I'd like my extension to respond to the user opening or closing tabs. I have the extension injecting a script that runs when the new tab opens and notifies the global page that there's a new tab open. I want the script to also notify the global page when the tab closes. To do this, I'm havi...

How can I force WebKit to redraw/repaint to propagate style changes?

I have some trivial JavaScript to effect a style change: sel = document.getElementById('my_id'); sel.className = sel.className.replace(/item-[1-9]-selected/,'item-1-selected'); return false; This works fine with the latest versions of FF, Opera and IE, but fails on the latest versions of Chrome and Safari. It affects two descendants,...

differences between uiwebview and mobile safari

Have looked far and wide for info and have found no definitive list. Please add your observations. I'm sure it will come in handy to all. ...

Select random row from Safaris client-side database.

I'm experimenting with the built in SQL support in the Safari Browser and I want to select a random query via Javascript. SELECT * FROM questions ORDER BY random() Returns not authorized to use function: random See this screenshot. Any suggestions? ...

Safari calls my controller twice when loading the JSP

Doesn't happen in Firefox. I deactivated the extensions. didnt help. Version is 5.0.1. Any ideas? ...

CSS Dynamic Navigation with Hover - How Do I make it work in iOS Safari?

In my site I use a CSS only dynamic menu. This is fine in desktop browsers, but not on iOS (iphone, ipad, etc) because the touch interface does not support the :hover selector. My question is: what is the best way of supporting this on iOS? (Ideally either by patching with some CSS, or Javascript that will make the existing code work, r...

Dojo forms and Iphone Safari zoom Issues

Hi, I have a dojo charting application that looks fine when viewed in the IPhone at 100% page view..But, when a form is popped open and it centers on the screen, if you try to zoom into the form because it's small @ 100%, the form centers again so only a portion is viewable. Any scrolling or page movements on the IPhone screen causes t...

click and drag not working on iphone

Check the url http://bit.ly/bN6EFH Its working fine in all browsers but when i run this in iphone safari, it does not work correctly. Its just a javascript code that finds click and drag event. Using click n drag i am changing images. Please click n drag images. I need some special code for making this work in iphone safari? ...

designMode or contentEditable on mobile safari

I'm trying to make an iframe editable in mobile safari. Works fine in all browsers (including safari) with both contentEditable and designMode=on, but on mobile safari i can't get any of them working. Is there a way to make it work on mobile safari? ...

Asp.net forms authentication in Safari production enviroment

I've got a weird one. I'm using Forms Authentication and all works well on my development workstation, but when I post to the production environment authentication fails... but ONLY for Safari. It works great in IE, Firefox and Chrome, but not Safari. Anybody got any ideas on this? Thanks ...

Safari 5 printing issue ?

Hello everyone, When trying to print any webpage with Safari 5 for Windows, JPEG images don't get printed. The only thing I could find about this issue is here but it doesn't help. Anybody having the same problem ? ...

Load safari from ipad application

Heey, Does anybody know how to start safari from a ipad application? I wan't an info view in my application with a button to my website. The 'things' application does it, so i know it is possible. Just don't know how. Thanks ...

<input type="submit"> padding bug on Safari mobile?

(This is similar to the (also unanswered) question #3430506, but applies to input tags instead of HTML5 elements.) On <input type="submit"> buttons, the iPhone/mobile Safari browser adds padding to the left and right. This doesn't happen on the desktop version, nor any other mobile/desktop Webkit browsers I've tried. It appears to add ...

Make Sticky header of web page in Safari on iPad

I want to make a sticky header like this url: http://www.cssplay.co.uk/layouts/fixit.html has done! But put this url on Safari of iPad, it also fails to fix the header. Does anyone knows how to do sticky header on iPad Safari? Thanks in advance! ...

How can I prepopulate "Add Event" fields when user clicks date in iPhone UIWebView?

Since iOS3, the UIWebview component has had the ability to automatically detect and highlight dates within a UIWebView. Pressing the date brings up an actionsheet with an option to "Create Event" in the local calendar app. Unfortunately, the modal dialog that appears next contains ONLY the date, and no other information about the event. ...