safari

Could You Quickly Test a Web Page in Apples Safari 3 [Simple Pass:Fail]

I am not fortunate to have access to Apple Safari 3.0 [which has a WebKit version < 525]. Would someone kindly test a Web page for me, it will return your userAgent string and a simple pass:fail. In WebKit versions < 525.… [<= Apple Safari 3.0] it should fail and >= 525.… [>= Apple Safari 3.1] it should pass. I appreciate all your help...

webkit multiple inline shadows

I have trouble setting multiple shadows on one element in webkit: -moz-box-shadow: inset 0 0 3px #999, 0 0 5px #fff; -webkit-box-shadow: inset 0 0 3px #999, 0 0 5px #fff; box-shadow: inset 0 0 3px #999, 0 0 5px #fff; it works fine in firefox but safari displays only the inset shadow. i tried to set both values separately. But safari t...

Which pdf elements could cause crashes?

This is a very general question but it's based on a specific problem. I've created a pdf reader app for the iPad and it works fine except for certain pdf pages which always crash the app. We now found out that the very same pages cause Safari to crash as well, so as I had started to suspect the problem is somewhere in Apple's pdf renderi...

Anyone know a working CSS selector hack that works in recent Safari but not chrome ?

The title sums it up. I'll get this out of the way and say I am aware that css hacks are dirty ugly horrible things. Sometimes dirty problems call for dirty solutions though :) So does anyone know of a css selector hack that works for recent safari versions but is not a general webkit hack ? My site behaves properly in chrome but has a...

Why is Safari and Chrome not displaying my gif, but a blue question mark?

I am displaying the following html to my browser (firefox works, however chrome and safari are not). What is displayed below in firefox is working as intended, but safari and chrome are displaying a blue question mark with a box around it. <html> <head> <title>test</title> </head> <body> <img src='pixel.php' /> </body> ...

ASP.NET force excel export download file in safari

Hi, I have a gridview with a button which allows the grid to be exported to excel. Before the grid is databound, it is cached. When I click on the button, it calls a javascript client function which basically opens a new window. In the new ASPX pop-up page it retrieves what was in the cache (the grid data) and then renders using added ...

Does Safari associate a browser window name with the domain that opened it?

I have a multiple-domain network of sites. In one domain, some javascript opens a new smaller window and gives it a name of "controls". If you go to a second domain and click to open "controls" again (same window name), it opens a new window rather than updating the one that already exists. Is it possible that Safari associates the ...

JavaScript Problem with Safari

The javascript on my online store product pages seem to have stopped working. They still work fine on Firefox. You can see the problem by clicking the "Add to Cart" or clicking on the image to enlarge on this page: *Solved the issue by deleting a recently installed extension**** Anyone know what the problem could be? Thanks! ...

jquery slider jerky in chrome and safari

Does anybody know why this slider works well in every browser except for safari and chrome? www.aus-media.com/dev/site_BYJ/about-bikram-yoga/postures-benefits.html Let me know if seeing the code will help. Thanks Nik ...

JQuery .animate() in {Chrome, Safari} != {FF, IE, Opera}

I've made a absolutely positioned that starts centered horizontally with width=0 that expands to both sides of the page using .animate(). The effect works as intended in Firefox, Opera, and IE, but Chrome and Safari surprisingly both move the div to the left of the page (almost left=0) before expanding it to 100%. I cannot understand ...

window.location.href not working in Safari when using onkeypress

I'm using an asp textbox and a search button. In Safari if I click the search button i get redirected to the search results page using javascript window.location.href. But strangely the same javascript will not redirect to the page if I press return in the textbox. Using the alert function I can see that window.location.href has the th...

Viewport bugs when coming back from mediaplayer

I have a web page for iPhone/iPod touch displaying a thumbnail of a video. Quite simple, the thumbnail links to the video itself: <meta name="viewport" content="width=320" /> [...] <img src="images/buttons/video_play_button.png" onmouseup="window.location = 'http://wapshop.gameloft.com/iAd_prototype/videos/video_01.m4v'" ontouchstart=...

Chrome/IE table cell positioning help

I am making a tiny script to make a HTML element editable. When you click on an element, it gets replaced with a textarea, and you can basically enter the new text. When you press enter, the textarea is replaced with the original element with its innerHTML updated. The demo of the script is here: http://iambot.net/demo/editable/ Now th...

css3 won't validate in w3c valdidator

-moz and -webkit won't validate in w3c css validator, should I not use it? or just use the css3 attribute without the -moz or -webkit ? ...

Set selection in Dashcode List Controller

I have a list controller in my Dashcode project, it pulls its data from a dynamic source. After my list controller has loaded its data I'd like to set it's selected index to 0 - so that information for the first item in the list is shown. I can't for the life of me figure out how to do this. I've tried: function load() { dashcode.s...

Javascript window resize doesn't work in Safari but does in Firefox

I have this basic javascript code: window.resizeTo(1000,800) set to run when the page loads and it works perfectly in Firefox but not in Safari. Thanks in advance! ...

Launching an iphone app from a link in mobile safari?

is this possible? Given the app ID? Eg: com.mydoamin.myappname ? Thanks. ...

Flex HTTPService security error using Safari

I'm using the HTTPService object in actionscript to send some data to a php file on another server which then inserts the data to a database. I set up the crossdomain.xml file in the root of the directory that contains the php file to get around any security issues. Everything works fine on Firfox 3.5 (on mac and pc) and on IE 7 & 8....

iPhone Javascript execution time

Hi guys, In the Apple docs it says that JavaScript execution time is limited to 10 seconds for each top-level entry point. If your script executes for more than 10 seconds, Safari on iPhone OS stops executing the script at a random place I plan to have some Javascript run every 10 seconds or so that will do an AJAX query to the...

How do I programmatically determine the current zoom level of a browser window?

Hi, I want to find out the zoom level of what is being displayed in a browser window based on the javascripts' window object properties (http://www.javascriptkit.com/jsref/window.shtml) to which I have access. I just can't seem to find the right mathematical formula for the zoom based on the inner width, page offset, etc. I found a solu...