<img src="image_that_may_or_may_not_load.png" alt="Show this text if image not loaded" />
Safari doesn't seem to show 'alt' text in case the image is not loaded. I'm not sure about other browsers, but Firefox does show the alternate text.
Its so important to display alt text in email templates where the images would be blocked by the ...
hi,
http://japaneseplus.com/product.php?subcategoryid=1
Try to move mouse over the top menu and try to select "Products" and see in MAC + Safari, it shifts the text down, PC working fine for all browsers.
Any help is appreciated
...
hello,
my basic issue: i allow a user login using a form, passed to a verification page, which then registers variables and lastly allows the user (me) to visit the posting page.
now, on this posting page i allow a content management system (edit and delete old posts).
i do so by displaying results in a div that is formatted with sc...
I have some event handlers that work in FF and not in Safari. Simply put, I have a list of friends, some hard-coded, some pulled in from a database. Clicking on a buddy opens a chat window... this is much like the Facebook chat system.
So in Firefox, everything works normally and as expected. In Safari, clicking on buddies that are har...
I'm trying to make an extension that closes all tabs but the active tab for the current window in Safari. I have gotten this far as to close all tabs but index 1. But I need to insert the activetab index and exclude that from the closings. If I get the answer I'd put it in the extension and publish it.
<!DOCTYPE HTML>
<script>
safari.ap...
Hello
I am using following javacript code
$("a.adminlink").click(function(){
$("#bigpopup").fadeIn();
//$("a.activetablink").removeClass("activetablink");
//$("a.tablink[href=" + $(this).attr("href") + "]").addClass("activetablink");
$.get($(this).attr("href"),{},function(response){
$("#tabmenu").html(response.menu);
...
Hi,
I'm making an extension for safari I created a context item with command = showNote
In debugger I get the follwing error TypeError: Result of expression 'safari.application' [undefined] is not an object on line 8(the last line)
are there any things you need to include or call before this works?
main.js
function showNote(event){...
Hi,
I wanted to create an auto upate for my safari extension.
i got a update.plist on my webserver and it's in my manifest but for some reason it doesn't work. Can someone explain how i Create the plist file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyL...
I'm trying to teach myself Safari 5 extensions and I'm new to web development in general. Looking at the sample code, I see:
<!DOCTYPE HTML>
<script>
...
</script>
I'm just wondering, what language am I looking at? I see functions and code that almost looks C-like. Apple's documentation says it would be helpful to know HTML, javascrip...
In a project I am working on, I need to validate a date entered into an <input type="date">
With Safari 4/5 (on Mac OSX) the Javascript fails to parse dates of the format YYYY-MM-DD, returning NaN instead of the expected epoch timestamp.
I am using the following technique to validate the field just before the form is submitted:
//valu...
hi,
how can I load a css file only for Safari browser ?
I usually use just this (without javascript)
<!--[if IE 8]>
<link href="ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->
for internet explorer 8.
Thanks
...
Hi Friends,
Is there any way to access History of iPhone Safari?
Regards,
krishnan
...
I have a website that looks fine when viewed in Safari on an iPhone. In iOS3.x you can save it as an icon to the Home Screen and it opens fine.
But in iOS4, while it still looks the correct width in Safari, if you open it direct from a Home Screen icon then it's too wide.
I've spent a couple of hours fiddling with various settings of t...
Hi,
I am using a jquery plugin called masonry.
In IE & firefox, the site works as it's supposed to. However, in google chrome, the layout elements get stacked on one another. If I click the menu items on the left, then the plugin reloads and the site looks like it's supposed to.
So, I think it must be a timing issue. Any thoughts on h...
Im trying to make an extension to Safari that authenticates with http://myphotodiary.com's API. And it works well, for all passwords that dont include special characters like:
å,ä,ö and space
I have the following code working now:
var xmlHttp = new XMLHttpRequest();
var url = "https://api.myphotodiary.com/user_status.json?api_ke...
I can't find a way to open just a youtube video with the click of a button using browser template in dashcode. Please help?
...
Hi,
I need to develop a website which will be used exclusively on iPhone and iPad. I don't have those devices, neither do I have a Mac.
What are the possible free solutions for me to be able to test the website during development?
The most obvious one would be to use an iPhone SDK, but since it costs $100/year but since it is availabl...
Hello,
I have a UIWebView which loads videos from an external server. The code seems to be fine since it works when I try to host my videos on another server.
Are there any changes since iOS 3.0 which the server didn't need to have? (Where it loaded without problems).
The easiest way to test it is to load the url in the inbuilt Safari....
I'm creating a site on Safari for iPad. I need to prevent the zoom on double-tapping event but I have two problems:
a double tap doesn’t generate any events, so I can't use "event.preventDefault();"
I need to do this only when some conditions are fulfilled, so I can't use the tag "<meta name = "viewport" content = "user-scalable = no">...
I want to Validate this toolbar item if there are more than 2 windows open. I know for tabs
event.target.disabled =
event.target.browserWindow.tabs.length
< 2;
works.
But
event.target.disabled =
event.target.browserWindows.length <
2;
doesn't.
How can I validate so the toolbar item is enabled only if more than one...