safari

Log to Safari JavaScript Console

Is there any way to log to Safari's JavaScript console when running with the built-in JavaScript debugger? I've read the Firefox JavaScript logging question and hoping that there is a simple ("native") way to do it in WebKit/Safari. Thanks ...

Implement HTML bookmarking in JavaScript

I want to implement bookmark feature for my web app. Basically users should be able to bookmark a selection in a certain web page and later (in another browsing session) jump directly to that bookmark position. In my first attempt, I save the value of pageYOffset when users choose to bookmark and when they jump to the bookmark I set ...

webkit transforms CSS and overflow

Hi, I have a div, in which its contents are being transformed using webkit css transforms. Now the div has overflow: hidden;, but the contents after transformation keep showing up outside the div. Why is this? ...

Cross Browser Debugging between Firefox and Safari (or Chrome)

I've noticed that Safari and Chrome behave the same when it comes to HTML and CSS. However, there are differences between Firefox and Safari (and hence, Chrome as well). Sometimes things can look great in Firefox, but the CSS misbehaves in Safari and Chrome. The cause of the mis-behaviour can be attributed to "anything" (as opposed t...

Webkit and SVG filter support

I'm trying to get a complex SVG filter to produce results in Webkit. The filter is quite crowded as you will see below, but it renders a nice fractal-generated map, and does it well in Mozilla. I'd like to get Webkit to do the same. The Wikipedia page on browser support for SVG says that Webkit supports SVG filters on nightly builds, bu...

Page works in IE and FF but not in Chrome or Safari

Can someone tell me what I could be doing wrong. The following page works fine in IE8 and FireFox but elements of the CSS don't seem to be being respected in Chrome and Safari. Thanks. page at: http://www.diabetesgoaltracker.com/home.html ...

Print footer at bottom of page in safari

I am trying to position a div (footer) element at the bottom of a printed page. In firefox this is working fine and the div will sit along the bottom of the printed page. However, in Safari the footer moves up the printed page if the browser window is not very tall. eg. if the browser window is 200px tall then the footer sits on the pri...

Can I retrieve an ipad unique device identifier that through Safari with a js web app?

Hello all! We have an application running on a Windows Server and being accessed by IPads from Safari. The web part is written in javascript. We would like to store user preferences in the server, but are lacking an identifying number that we can retrieve from the ipad device through our web code, so as to store different ipad's settin...

Safari/win2008 upload focus not quite modal

In win2008 x64, Safari doesn't look as pretty as it does in XP/Vista/win7 (see screenshot below). It also doesn't seem to work as well. Try this: Go to http://www.cs.tut.fi/~jkorpela/forms/file.html Scroll down to the "Choose File" button, and click it If you are using win2008, recoil in horror as you notice that the "my stylesheet" li...

jQuery's delegate() not running properly in Safari, works fine in all other browsers

I'm working on a JavaScript-based banner for a client and have hit a wall. The banner runs fine in Chrome, Firefox, IE7 and 8. Safari, however, allows the user to close the banner once and open it once, then it stops responding to clicks. The user should be able to open and close the banner as many times as they'd like. Rather than c...

CSS Error (maybe float) only on Macs and Only some of the time

This issue has been very hard for me to debug. I am a pc user and have only seen this error in screen shots. If anyone can offer an opinion on how to fix, it would be greatly appreciated. Please see site and screenshots below. http://www.lostlettermen.com/cssissues.jpg http://www.lostlettermen.com ...

web element inspector (safari / chrome) dimmed css properties

Silly web element inspector (safari / chrome) question, but I can't seem to figure out why some properties are dimmed. ...

Jqplot is working in Firefox but showing blank page in Safari and Chrome

I have used jqplot and build a graph with use of jQuery and Javascript http://server.dotsquares.com/cstik/chart.html which is working fine with Firefox but not showing anything in safari [edit Marcel K.: neither in Chrome]. please suggest me what extra code should i place to make it done. Thanks ...

Is it possible to override the minimum width of a button in Safari on iPad?

I have the following HTML-page: <html> <head><style> * { margin: 0; padding: 0; border: none; } button { width: 14px; background: #F00; } </style></head> <body> <button></button> <button></button> <button></button> </body> </html> When I run this code in any desktop browser, it works perfectly; the buttons are 14 pixels wide...

Silverlight in Safari and Firefox by default?

I'm curious, how does Microsoft plan to embed Silverlight into Safari and Firefox. Because if it doesn't come shipped with Safari and Firefox by default, why should anyone use it? They are counting on that the average user is installing it when he/she sees: "Silverlight need to be installed"? Maybe they won't install and just leave th...

Safari 5 won't submit a form with bad data in input type=email

With an input type=email, Safari won't let the form be submitted if there's not a valid email address. But there's no feedback from the browser at all to let the user know why the form stopped working. Is there anything to be done other than writing some Javascript to validate the input (which kind of ruins the point of using type=em...

YouTube videos not playing in chromeless player in Flash using Zend_GData_Youtube class in PHP to pass results to flash (Works fine on Mac Safari??)

I have been noticing some strange (but consistent) behavior with the chromeless YouTube Player API. I have a Flash AS2 SWF that uses cueVideoById() to show the thumbnail images of videos which works great. When the thumb is clicked I call playVideo() to play the video. For some videos this loads the video and when I look at the traf...

Iphone/Ipad safari and buttons with graphics

Hi There, I'm new to web pages etc and have a problem with pictures and words in buttons on safari on the Mac and Iphone. The buttons display correctly on the Mac but on the iPhone/Ipad they are squashed showing the top of the graphics only. The code is generated by PHP and I can't find a way to correct it. I'm using button tags and onc...

Geolocation in Safari 5

Hi all, I have a application which reports my location using HTML5 geolocation. The application works correct on Firefox and Chrome, but on Safari 5, it says that Safari does not support Geolocation. From what I read, Safari 5 does support Geolocation. What am I missing? Thanks for your time. Sunil ...

Extra padding on Chrome/Safari/Webkit -- any ideas?

My page has this extra padding on the top of page that I'm unable to remove. Tried everything under the sun and hope someone can show me the way. Any ideas? ...