I'm working on a javascript game (written in GWT). The game works fine on any desktop browser I've tried, but when I run it on the iPhone/iPod Touch, the screen stops showing widgets moving at random times during the game. Once it stops showing movements, I can see that the game is still running, because certain actions that cause obje...
I just upgraded my browser to Safari 4 and find that our website is having some major issues specific to that browser version. As I click through pages on our site it takes one or two clicks before the browser window simply goes blank. When the window goes blank, there is no source to view and no matter how many times I try to reload o...
I'm playing around with html client side storage and wanted to know if there are any facilities for introspection of the database - is there an equivalent of sqlite ".tables" or ".schema" ?
Also, I'm not seeing my tables show up in AppData\Local\Apple Computer\Safari\LocalStorage . Is there another place tables are stored?
...
I'm making a mobile version of my website, and trying to make it feel as native as possible on the iphone. However, any background areas of the page respond to swiping gestures such that you can shift the page partway off the screen. Specifically, if the user touches and swipes left, for example, the content shifts off the edge of the sc...
The scene: I'm writing an embeddable widget. It takes the form of a <script> tag, which builds an iframe containing everything it needs to display. The iframe has no src, and the script writes to it with theIframe.contentWindow.document.write(). This keeps the widget contained, and keeps element ids and script from conflicting with th...
Hello
I begin to have a solution for my previous question Overlay SVG diagrams on google map.
But I have another (smaller) problem. I am using Firefox 3.5 and Safari 4 (on Mac), and when I am embedding SVG in a XHTML, I do not have at all the same result.
I can use the <object> or the <embedded> elements (but I think the last one is d...
I only have one computer (running OS X), and need to test in both Safari 3 and Safari 4. While Safari 4 is the "official" release, I don't believe it has been pushed in Software Update yet, and therefore probably hasn't been adopted by most users. Even if it has been pushed, it's still a safe bet that many users haven't updated.
The pro...
I am trying to show an image if a call to http://localhost:someportnumber/icon returns a zero size 200 response.
in most browsers, the following (cut down) works:
jQuery.$('#myImage').load(function() {
jQuery.$(this).show();
});
if the image doesnt load, the img element is never shown, and its all good.
however, safari decides to...
Hi, I seem to be having a strange problem wich I cant fully understand.
This is my html:
<div class="menu">
Por favor seleccione os conteúdos:
<br/>
<br/>
<br/>
Nome:
<input name="Nome" class="checkbox" type="checkbox" value="Nome" checked />
<br/>
<br/>
Data:
<input name="Data" class="checkbox" type="checkbox" value="Data" checked />...
The issue is that I've written a Safari plug-in (http://tr.im/growler) that allows web applications to send Growl notifications by calling Javascript functions. However, at the moment the way it is written, people need to use <embed> to initialise the plug-in so that Javascript can begin using it (something I picked up from Apple's examp...
$(".droppable").droppable({
drop: function(event, ui) {
var fileName = $(ui.draggable).attr("src").match(/[\/|\\]([^\\\/]+)$/); // get filename.
var url = $("#hurl").val();
if ( $(ui.draggable).attr('name') == "template")
url = $("#turl").val();
...
Some of the users of our Ruby on Rails app have complained that page requests occasionally hang indefinitely under Safari (a couple have noticed it under Firefox, but it's overwhelmingly Safari users). After some investigation it seems that these requests are being served correctly by our Rails application and the hang occurs when fetch...
Is there any way to spoof the user agent on Safari on the iPhone?
So for example, you would create an application on the iPhone that has the embedded Safari browser, however any website the user visits with this browser wouldn't know you were on Safari on the iPhone, it would think you are on something like Safari on a PC, or even IE/Fi...
I'm using Safari for windows. It tells me that document.prototype.loadXML is undefined.
What are my other options to create XML document?
...
I'm trying to divide content inside of a table cell into two halfs and center content in each of those 2 halfs. In all other browsers (IE,Firefox,Safari) this appears to work:
<td style="width:100%;">
<div style=""width:100%; height:24px;">
<div style="height:24px; float:left; width:50%; background-color:blue;"></div>
<div style=" ...
I ran into a problem on Chrome and Safari using jQuery to do some calculations using the widths of a strip of images.
When using my calculations in:
$(document).ready(function() {
/* some calculations with $("img").width() */
});
everything works just fine in IE6+ and Firefox, but it does not in Chrome and Safari: $(img).width() ...
Hi Guys!
I have a little problem with my site, I have a bar and on it a box that float above the bar, everything works fine in IE, Firefox, Opera, but in Chrome and Safari the box that must be above the bar float by the bar side no above it.
#barraDerecha
{
width:240px;
background-color:#e5e5e5;
border-left:solid 2px ...
Any way to install a bookmarlet in Mobile Safari from a native app? Has anyone been able to successfully do this?
...
Hi all,
I found a strange cookie problem on safari. If you surf to http://2much.ch you can enter with FF/IE and surf inside the site.
But if you use safari, you can enter only once; you can't surf inside the site. I found that Safari doesn't set the entered cookie, but FF/IE does.
What is wrong here?
...
I tried catching the command key shortcuts using the keyDown event and checking for KeyboardEvent.ctrlKey, but the browser(Safari) seemed to have intercepted all those key events because the shortcuts I am trying to use coincides with the safari ones. Is there anyway to override this behavior?
...