This is probably the wrong list but regardless...
Does anyone think an "Open mail in new window" button would be handy? A client of ours requested this feature which I implemented rather easily in app.js. This kind of goes against the general design of RoundCube though, and to be honest I couldn't understand their use case. Here is the function I wrote which simply hooks in like the rest of the buttons on the mail page. Suggestions appreciated, and feel free to use it (obviously)
this.open_new_window = function(){ var uid; if (uid = this.get_single_uid()) { thisLoc = this.env.comm_path+'&_action=show&_uid='+uid+'&_mbox='+escape(this.env.mailbox); window.open (thisLoc,"messagePopup"+uid); } };
I for one would find this useful for when I'm at work. I only have a 15" monitor there, and I receive at least 1 email a day that doesn't fit on screen in RoundCube. Opening in a new window would certainly help.
On Tue, 13 Mar 2007 13:25:49 +0200, Colin Alston karnaugh@karnaugh.za.net wrote:
This is probably the wrong list but regardless...
Does anyone think an "Open mail in new window" button would be handy?
A client of ours requested this feature which I implemented rather
easily in app.js. This kind of goes against the general design of
RoundCube though, and to be honest I couldn't understand their use
case. Here is the function I wrote which simply hooks in like the rest
of the buttons on the mail page. Suggestions appreciated, and feel
free to use it (obviously)
this.open_new_window = function(){
var uid;
if (uid = this.get_single_uid()) {
thisLoc =
this.env.comm_path+'&_action=show&_uid='+uid+'&_mbox='+escape(this.env.mailbox);
window.open (thisLoc,"messagePopup"+uid);
}
};
--
Colin Alston ~ http://www.karnaugh.za.net/
Expecting one person to deal with all your problems is like praying
each time you require an ambulance: You'll eventually be dead long
before you get a response.
I would suggest to add a real link with an absolute URL to the message subject. Then a user can right-click the link and select "open in new window" or "open in new tab" from the browser's context menu.
This would also fulfill the feature request #1484257 and make RoundCube more suitabale for screen readers.
~Thomas
Colin Alston wrote:
This is probably the wrong list but regardless...
Does anyone think an "Open mail in new window" button would be handy? A client of ours requested this feature which I implemented rather easily in app.js. This kind of goes against the general design of RoundCube though, and to be honest I couldn't understand their use case. Here is the function I wrote which simply hooks in like the rest of the buttons on the mail page. Suggestions appreciated, and feel free to use it (obviously)
this.open_new_window = function(){ var uid; if (uid = this.get_single_uid()) { thisLoc = this.env.comm_path+'&_action=show&_uid='+uid+'&_mbox='+escape(this.env.mailbox);
window.open (thisLoc,"messagePopup"+uid); }
};
On Wed, 14 Mar 2007 01:41:01 +0100, Thomas Bruederli roundcube@gmail.com wrote:
I would suggest to add a real link with an absolute URL to the message subject. Then a user can right-click the link and select "open in new window" or "open in new tab" from the browser's context menu.
This would also fulfill the feature request #1484257 and make RoundCube more suitabale for screen readers.
Sounds like a very good solution, I favor it.
~Mik
I agree. Please can it be a real URL so its accessible by non screen
browsers.
On Wed, 14 Mar 2007 21:37:46 +1100, Michael Bueker m.bueker@berlin.de
wrote:
On Wed, 14 Mar 2007 01:41:01 +0100, Thomas Bruederli
roundcube@gmail.com wrote:I would suggest to add a real link with an absolute URL to the message subject. Then a user can right-click the link and select "open in new window" or "open in new tab" from the browser's context menu.
This would also fulfill the feature request #1484257 and make RoundCube more suitabale for screen readers.
Sounds like a very good solution, I favor it.
~Mik