safari

Why false is displayed on status bar of safari browser?

I am using safari 3.2 and 4.0.3. On the status bar, false is displayed. Even when my site is loading, the same message is displayed: false. Can anyone suggest what the problem might be and the solution as well. Thanks in advance ...

Why is Java caching my app while trying to develop it

Hi, i'm trying to build a Java applet and i'm having a major problem trying to set up my development environment because my applet has bugs in it but I can't fix them easilly because Java won't get the latest version of the applet. I've turned off caching in "Java Preferences.app". I want to set it so that applet wil not be cached at al...

How to debug XHR POST requests in Safari 4?

I've got an XHR request that's succeeding in FF3.5 but apparently failing when done in Safari 4. I'm looking at the xhr requests in the debugger in Safari, and Firebug in Firefox. So on the backend service that's being hit, if the username and password are missing from the POST parameter then the service gives a 500 error. If the parame...

does javascript on iphone mobile safari support xpath?

does javascript on iphone mobile safari support xpath? I am using libxml2 to parse xhtml files in objective-c, but want to be able to change my parsing logic on the fly. Was considering using UIWebview's stringByEvaluatingJavaScriptFromString: method. ...

iPhone Web Development Image Scaling

I am developing a simple web page to be viewed after an iphone application completes. I am finding the safari degrades the image quality of the jpg so its all fuzzy. The image is background image applied to a div div.foo { background: url(../images/foo.jpg) no-repeat; width:320px; height:349px; } The width and height ar...

How do I send messages from Javascript to Java?

Hi, I'm kind of stuck because I can get JavaScript to send a message to a Java applet. I can get it to work the other way round. Does anyone know a proper way to do this that works everywhere? ...

Replicating iPhone Safari's Tabs

Hi Everyone: I am wondering if there is some way to replicate Safari (on the iPhone's) tab behavior of scrolling through the webpages. Is it an API or some code that makes this happen, and how would I create this in my own app? I saw this post: http://stackoverflow.com/questions/1220354/uiscrollview-horizontal-paging-like-mobile-safar...

Setting window.location.hash to null in Safari 3+ causes it to be set to #

Setting window.location.hash to null in Safari 3+ causes it to be set to #, e.g. window.location.hash = '#foo' => #foo But, window.location.hash = null => # Same occurs if you set it to an empty string instead of null. Behavior definitely occurs in Safari 3 + 4, and does not occur in FF 3 or 4. Any workarounds for this? Gran...

Make Input Box Have Safari's Blue Outline

Hi Everyone: I am wondering if there is some way to make an box have the Safari's light highlight all of the time. I would assume there would be a way to replicate this, however I have not found one. Thanks for any help! ...

Safari's user agent: which WebKit version to trust?

I'm trying to extract not just the browser and its version number but also the rendering engine and its version number from common user-agent strings. Most browsers report this just fine, e.g.: "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.12) Gecko/200907061...

computing $(this).css(”width”) _correctly_ in Safari

Asked this question earlier today, but I think I awarded a correct answer too early. I'm trying to figure out how to grab the css length and width of an anchor element with jquery in Safari. But I keep getting "0" returned, and I was told that this was because the javascript is firing before the css is rendered - a quirk of Webkit browse...

How to solve the "error 500" issue of Symfony PHP framework with Webkit browsers?

Hi there, I'm having an issue with the visualization of my site on Google Chrome and Safari (both using Webkit rendering engine), the site is built upon Symfony framework, version 1.1 (unmaintained version). When navigating to the site, this shows an error 500 when loading a page, I read somewhere that it might be related to Symfony cac...

Why is there a post-jQuery flash in Safari?

Hey all, I have a simple search box that it hidden until hover(over) and hides again on hover(out). In Firefox all is normal, but in Safari there is a tiny flash after the hide animation where the full bar is visible. You can see what is happening (in Safari only) on the homepage of my site: stormink.net. (the search button is in the to...

horizontal scrolling div not working in Safari

Hi I made this site a while ago in my table days but have just realised the horizontal scrolling dive doesn't work in Safari. #galleryscroller { overflow-x:scroll ; overflow-y:hidden; overflow:-moz-scrollbars-horizontal !important; height:138px; width:360px; } <div id="galleryscroller"> <table width="100%" border...

Safari issues with javascript + css

I have some strange behavior going on with safari, im using the jQuery.GridLayout plugin and css for styling. Just for some context, this website layout is a simple header followed by the content which are a collection of blocks (each block is a div) positioned by the javascript and rearranged every time the window is re-sized. When I ...

pixie rollovers not working in Safari

I've got a lot of issues with this site but seem to be making progress. The left side navigation uses the Dreamweaver spry assets and that's been a pain. But, the big issue now is that the cool pixie rollovers I did on the right side are not showing up at all in Safari. I had read that if it looks good in Firefox it would look good in...

RSS displaying correctly in Safari but not Firefox.

Hi folks! I am having a problem with our RSS feed displaying correctly in Safari but not in Firefox. A sample is shown below. The issue is in the <title> tag under <pubdate>. The shows correctly in Safari but is spelled out in Firefox. Has anyone encountered this problem? <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="t...

CSS Div floats to the left of the page?

Hi I have many pages, all with the same div and the same css applied to them all... but for some reason three of these pages, the container just floats left of the page? It looks fine in Safari/FF but in IE these pages just float the div left? I think the other browsers might be compensating for this error, but IE not? Any ideas :( ...

Links become undefined after file download in Firefox/Chrome/Safari, not IE

Using ASP.NET 2 I have an aspx page where a linkbutton posts back, generates a pdf file, and uses the following method to send the file back to the client Dim r As System.Web.HttpResponse = System.Web.HttpContext.Current.Response r.Clear() r.ClearContent() r.ClearHeaders() r.AppendHeader("content-disposition", "attachment; f...

External PDF highlighting with Safari browser not working!

Hi, We have been facing a weird problem with PDF documents displayed in Safari. This problem is reproducible in many of our machines. The problem is like this.. Adobe Reader has support for hit highlighting in PDF documents when it is being viewed in any browser. For example, http://www.mysite.com/myfile.pdf#xml=http%3A//www.somesite.co...