Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari: Yes, Dashboard: No



My aim is to show to the user, that he has clicked the button. So I show up a different image when he goes down with the mouse and when he comes up the old one is displayed again. The problem is, that it works in Safari but not in Dashboard! Does somebody know another script that does what I described above. But the widget "adress book" from Apple uses the same code(not exactly, but mostly)!

Ludwig

Am 07.11.2005 um 19:19 schrieb Ludwig Villiger:

I use the following _javascript_ to show a different button onmousedown and onmouseup it is the same again:

function buttonclicked(event)
{
event.target.src="";
}

function showButton(event)
{
event.target.src="";
}

In Safari it works, but not in Dashboard! Why? In Dashboard the other button is shown onmouseup and only for a second. This is the HTML-Code:

<div id="button" ><img align="right" src="" width="37" height="37"></div>

Greetings!
Ludwig
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden

References: 
 >Safari: Yes, Dashboard: No (From: Ludwig Villiger <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.