| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
<div id="something" onmousedown="buttondown(this);"></div>
Ben
On Nov 12, 2005, at 11:22 AM, Ludwig Villiger wrote:
Can I make something like that:
function maximize(event) { if(event) { var placeholder=… } }
Please help! Ludwig
Am 11.11.2005 um 21:47 schrieb Ludwig Villiger:
Hi
I have a problem with the apple-control-region or better with JavaScript. Because one JavaScript-function reacts only when you click on the control-region. But the other JavaScript funktion is called where ever you click. So I'd like to see, that both function are only called when you click on the control-region.
The first function is:
function maximize(event) { var placeholder=document.getElementById('placeholder'); var frontside=document.getElementById('front'); frontside.style.display='block'; placeholder.style.display='none'; }
The function which reacts only, when you click on control-region is:
function buttonclicked(event) { event.target.src="buto1.png"; }
function showButton(event) { event.target.src="buto.png"; }
The first function reacts where ever you click and it should only react when you click on control-region!
I hope you understand my problem and can give some advice!
Ludwig _______________________________________________
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/gugulino1% 40mac.com
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/kazezb% 40carleton.edu
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
| References: | |
| >Apple-Control-Region question (From: Ludwig Villiger <email@hidden>) | |
| >Re: Apple-Control-Region question (From: Ludwig Villiger <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.