Hi,
I've been developing an app which pulls in an XML file using Jquery. Everything is working well in all browsers but I noticed that the Safari is not picking up my CDATA value. When I alert the value its empty.
I am using this code :
$('flight',xml).each(function(i) {
deeplink = $(this).find("deeplink").text();
alert(deeplink);
...
I am wondering if there is any thing which works like ie conditional comment for webkit.
I want to change width.
For example,
<!--[if IE]>
<link href="css/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
Thanks in advance.
...
I've been writing a GWT app that does various simple things with images like pan, zoom, brighten, etc. when you click and drag the mouse. Everything is working really well in all the browsers, except Safari. Well, Chrome 3 was also a problem but my app now works fine in Chrome 4.
The problem is capturing the middle mouse down events. ...
I am using UIWebview in my app, when tap and hold on a link for a second an actionsheet pops up with some options OPEN, COPY and Cancel.
How to add a custom option to the actionsheet ?
...
This behavior seems to only occur in the latest version of Safari (4.0.4). Using the example below, the page will create an alert box after 60 minutes. If you open the following page, click the link to Google, and hit your browser's back button, nothing will happen. That works as expected.
However, if I open the following page in S...
I'm unable to use native code functions as JavaScript objects in WebKit-based browsers. Is it impossible to alias these functions directly?
This is easiest to explain by example, so here is what I am running in the Developer Tools console:
console.warn;
// Outputs:
// function warn() {
// [native code]
// }
console.warn("console....
I'm currently developing a browser plugin for MacOSX 10.6, and am planning to use the netscape API for portability across browsers and architectures. According to Apple's documentation, as of 10.6 such plugins run out-of-process to improve the integrity of the browser session. What I'm concerned about is the following directive they give...
Hi folks,
// Edit: The issue now appears to be confined to Safari for Windows.
Around the time Safari for Windows 4 came out I started hearing from users that wmode=transparent was no longer working in Safari.
I have googled this many times but have not come up with any answers. I have tried reducing interference by using tags as op...
I'm trying to call a function, test(), of an iframe from the parent document using the code
subframe.test();
subframe refers correctly to the iframe, alert(subframe) returns [object HTMLIFrameElement], and the function runs in both IE7 and opera (9.23), but not firefox (3.0), chrome (3.0) or safari (3.03 beta windows). I assume these ...
The onresize function doesn't seem to run in Safari (3.03 beta windows edition) when an iFrame is resized by its parent. Is this a known bug, and is there any way to get around it besides a timer-based check?
The iframe and its parent are in the same domain, so calling the resize function from the parent would be doable except that the ...
My sticky footer works great in all the browsers expect Safari & Chrome, particularly the work.html page itself.
http://obliqueinteractive.com/creative/work.html
I noticed when i delete this css attribute from my style sheet, the problem goes away but doesn't allow for the footer to stick anymore
html, body {height: 100%;}
Could t...
I have a jquery ui slider in place which scrolls the content of a div when moved, here's the code:
var paraHeight = $("#descPara").height();
var maxScroll = paraHeight - 250;
var activeScroll;
if (maxScroll <= 0){
//do nothing
} else {
$("#slider2").slider({
orientation: "vertical"...
I have UIwebview. While keep on clicking on a hyperlink or button on UIwebview , one small bar of URL is appearing. How i can hide that ? In Iphone applications using IUI with UIwebview , this address popup bar is a distraction. Will you please answer me ? Thanks in advance....
...
Hi all,
I'm using reCAPTCHA via its AJAX API to display the captcha in a modal dialog box. I'm using jqModal to display the boxes, and I'm using the AJAX version of reCAPTCHA because the PHP version is already buggy with jqModal (a known bug: http://markmail.org/message/bvip5vyb3czm7ngu).
Now, the reCAPTCHA works fine in Firefox. But i...
This code:
<table cellpadding=0 cellspacing=0 border=0>
<tr>
<td bgcolor=red>
<input type='text' />
</td>
</tr>
</table>
Gives this output in Safari and all other browsers:
The question is how to remove the indent that is highlighted with background color.
Problem occurs in Safari only, CSS margin...
I get this error when I try and implement jSrollpane in Safari 4:
TypeError: Result of expression '$drag[0]' [undefined] is not an object.
Then i get this error when i try the same thing in Chrome:
Uncaught TypeError: Cannot read property 'offsetHeight' of undefined
But why? it works fine in FF.
Any ideas?
...
I am developing web-application using Google Maps API and ASP.NET Ajax. Here is my JavaScript-code for PageLoad:
map.openInfoWindowHtml(map.getCenter(),'Hello, <b>world</b>!');
First run is successful. But after execution some ASP.NET Ajax-function we have strange effect: In Internet Explorer, Mozilla Firefox and Opera everything is g...
Short Background:
I finally isolated a bug I'm having. The problem is web users of mine who are accessing my ASP.NET application using Safari are storing their content in a different font than all other users. This is a problem because the 3rd party application I am using to dynamically create PDF's only recognizes 2 fonts (arial and tim...
Hey,
I am almost finished a contract right now, and it appears at the last minute that most of my javascript/jQuery isnt working in Safari on either PC or Mac.
The whole site is designed with progressive enhancement and unobtrusive javascript to turn ?p= links into # hash links, fade pages in and out, and have smooth rollovers - all of...
Hi guys:
I'm a newbie to cocoa programing on iPhone.
My client has a website that plays YouTube videos. Once a video is finished playing, it will automatically play the next one. This is done by using the YouTube API and swfobject.
After some research, I was told that Safari on iPhone does not support flash. This make the current swfo...