[Xerte-dev] Re: Wizard Maximise Link

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Jul 17 12:36:25 BST 2012


Reckon this would do it:



var neweditorwindow = window.open(site_url + url_return("edit" , xmlHttp.responseText.split(" ").join("")), "editwindow" + xmlHttp.responseText.split(" ").join(""), "height=665, width=800, resizable=" + screen.height > 600 ? 'yes' : 'no' );



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 17 July 2012 11:10
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Wizard Maximise Link



they report slightly different screen sizes (although this might be a

window) though given you've not got an EEEEEEEE to test on, it might

not matter anyways



On Tue, Jul 17, 2012 at 11:07 AM, Julian Tenney

<Julian.Tenney at nottingham.ac.uk> wrote:

> remember to IE and FF

> Ah - what do I need to bear in mind?

>

> -----Original Message-----

> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

> Sent: 17 July 2012 10:47

> To: For Xerte technical developers

> Subject: [Xerte-dev] Re: Wizard Maximise Link

>

> I would say if screen height less than 600, show the scroll, else no scroll

>

> remember to IE and FF it (as they play differently)

>

> On Tue, Jul 17, 2012 at 10:36 AM, Julian Tenney

> <Julian.Tenney at nottingham.ac.uk> wrote:

>> What would I check for?

>>

>> -----Original Message-----

>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

>> Sent: 17 July 2012 10:36

>> To: For Xerte technical developers

>> Subject: [Xerte-dev] Re: Wizard Maximise Link

>>

>> yep

>>

>> if you look into template_management.js there will be a window.open

>> call for the editor - could put a screen.size check in that?

>>

>> On Tue, Jul 17, 2012 at 10:33 AM, Julian Tenney

>> <Julian.Tenney at nottingham.ac.uk> wrote:

>>>> not as pretty

>>> We could open it prettily on normal screens, un-prettily on others? It does look ugly with the redundant scrollbars on, which I think you always get if resizable=true?

>>>

>>> -----Original Message-----

>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

>>> Sent: 17 July 2012 10:32

>>> To: For Xerte technical developers

>>> Subject: [Xerte-dev] Re: Wizard Maximise Link

>>>

>>> It's for small windows where the fixed window size and no scrolling is an issue.

>>>

>>> You could change the window open for the editor to allow for scrolling

>>> and resizing (not as pretty, but easier)

>>>

>>> On Tue, Jul 17, 2012 at 10:25 AM, Julian Tenney

>>> <Julian.Tenney at nottingham.ac.uk> wrote:

>>>> What's the reason for the maximise link at the top of the wiozard (I know

>>>> there is one, just can't remember what it was - for resizing correctly on

>>>> tablets or small sreens?)

>>>>

>>>>

>>>>

>>>> If you click it, it seems to launch the publish process, also no way to

>>>> minimise the window again.

>>>>

>>>>

>>>>

>>>> Do we need this link?

>>>>

>>>>

>>>> This message and any attachment are intended solely for the addressee and

>>>> may contain confidential information. If you have received this message in

>>>> error, please send it back to me, and immediately delete it. Please do not

>>>> use, copy or disclose the information contained in this message or in any

>>>> attachment. Any views or opinions expressed by the author of this email do

>>>> not necessarily reflect the views of the University of Nottingham.

>>>>

>>>> This message has been checked for viruses but the contents of an attachment

>>>> may still contain software viruses which could damage your computer system:

>>>> you are advised to perform your own checks. Email communications with the

>>>> University of Nottingham may be monitored as permitted by UK legislation.

>>>>

>>>>

>>>> _______________________________________________

>>>> Xerte-dev mailing list

>>>> Xerte-dev at lists.nottingham.ac.uk

>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

>>>>

>>>> This message and any attachment are intended solely for the addressee and

>>>> may contain confidential information. If you have received this message in

>>>> error, please send it back to me, and immediately delete it.   Please do not

>>>> use, copy or disclose the information contained in this message or in any

>>>> attachment.  Any views or opinions expressed by the author of this email do

>>>> not necessarily reflect the views of the University of Nottingham.

>>>>

>>>> This message has been checked for viruses but the contents of an attachment

>>>> may still contain software viruses which could damage your computer system:

>>>> you are advised to perform your own checks. Email communications with the

>>>> University of Nottingham may be monitored as permitted by UK legislation.

>>>>

>>>>

>>>

>>> _______________________________________________

>>> Xerte-dev mailing list

>>> Xerte-dev at lists.nottingham.ac.uk

>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

>>>

>>> _______________________________________________

>>> Xerte-dev mailing list

>>> Xerte-dev at lists.nottingham.ac.uk

>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

>>

>> _______________________________________________

>> Xerte-dev mailing list

>> Xerte-dev at lists.nottingham.ac.uk

>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

>>

>> _______________________________________________

>> Xerte-dev mailing list

>> Xerte-dev at lists.nottingham.ac.uk

>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

>

> _______________________________________________

> Xerte-dev mailing list

> Xerte-dev at lists.nottingham.ac.uk

> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

>

> _______________________________________________

> Xerte-dev mailing list

> Xerte-dev at lists.nottingham.ac.uk

> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120717/5e6f4433/attachment.html>


More information about the Xerte-dev mailing list