» Forums
» DynarchMenu forum
» Support
» Event problem in Firefox for OSX
Event problem in Firefox for OSX
2006/11/23 15:37
Viewed 2554 times
Replies: 1/3

We use DynarchMenu in a searchresult table with multiple selection implemented, (ctrl-clicks enables multiple selection). Works fine in FF and IE for win32, but on MacOSX DynarchMenu seems to hijack the ctrl-click, as well as command-clicks, and there it stays. So, no multiple selection for OSX...

Is there any way to avoid that DynarchMenu is triggered by ctrl-clicks and/or command-clicks in FF for OSX?

Re: Event problem in Firefox for OSX
2006/11/23 16:47
Viewed 3867 times
Replies: 1/2

I'm afraid it's an operating system problem, rather than a browser or DynarchMenu problem. Mac OS X triggers the context menu upon CTRL+click (probably because Macintoshes traditionally come with a single-button mouse). As far as I know, there's no way we can avoid this.

last
Re[2]: Event problem in Firefox for OSX
2006/11/27 08:42
Viewed 5026 times
Replies: 1/1

Hi,
I am having the following issue, which may be a combination of Firefox and OSX:
When I click on any of the date fields in the calendar, I cannot get the field to be input into a text area. However, when I hit the ">" arrows, the date does enter as the first day of the next month. Hitting the date field generates "Too Much Recursion" on line 1802 from Firefox, which is the following chunk of code:

Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
Date.prototype.setFullYear = function(y) {
var d = new Date(this);
d.__msh_oldSetFullYear(y); //<------------------------ Line 1802
if (d.getMonth() != this.getMonth())
this.setDate(28);
this.__msh_oldSetFullYear(y);
};

The calendar is called via a text field with a button event trigger in the following way:

$return = '<input type="text" name="' . $oName .'" id="' . $oName . '" />';

$return .= '<img src="calendar.png" id="trigger_i" alt="+" />' ;

$return .= "<script type=\"text/javascript\">\n"
. "Calendar.setup({"
. 'inputField : "'.$oName.'",' // id of the input field
. 'ifFormat : "'.$this->dateFormat.'",' // format of the input field
. 'button : "trigger_i",' // button to trigger the even.
.'showsTime : false,' // will display a time selector
. 'singleClick: true' // single-click mode
. "});\n"
. "</script>\n";

Any help is appreciated, thanks ilya

last
Google