[Xerte-dev] Re: dimensions when full screen or fill window
Ron Mitchell
ronm at mitchellmedia.co.uk
Wed Jul 16 11:04:05 BST 2014
Hi John
thanks for the suggestions.
I've been testing via localhost for the moment but can share a public link
later. For the moment I have this working by changing the 100% values in
xenith.js as follows:
function x_setFillWindow(updatePage) {
$x_mainHolder.css({
"width" :"98.5%",
"height" :"97.5%"
});
That may not be the best solution and I'd like to crack it properly but at
least approximates what it should look like if fill window or full screen is
used and as this will be a change that applies across a whole installation
it might even do if there isn't a better/easy fix. Will share a public link
later.
Cheers
Ron
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 16 July 2014 10:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: dimensions when full screen or fill window
Hi Ron,
It's mainly the height that needs taken care of and mostly happens in
x_updateCss. If you search for x_updateCss(updatePage) in xenith.js then you
should find it...
For width problems though it might be a bit more difficult as
x_setFillWindow(updatePage) sets the width to "100%".
Failing that it might be that some css needs to change but not sure which.
Do you have a public URL that shows the problem and i'll try to take a look
later this morning?
Regards,
John Smith | Learning Technologist
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow
Caledonian University Cowcaddens Road | Glasgow | G4 0BA
Please address ALL support requests to hlsblt at gcu.ac.uk where one of the
School Learning Technologists will pick up the job. This will ensure that
all jobs are completed as promptly as possible.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 16 July 2014 09:55
To: 'For Xerte technical developers'
Subject: [Xerte-dev] dimensions when full screen or fill window
Hi all
a quick questions that I'm struggling to find the answer to. I'm working on
some custom branding where there's a thicker border (10px) around
x_mainHolder including rounded corners which works great when default screen
size (820px x 620px in this case) but when set to full screen or fill window
or user clicks to fill window it doesn't show the right and bottom borders
until slightly scrolling right and down e.g. the slightly larger space
required because of the thicker borders isn't being accounted for in the
fill window code. Where do I find/fix that?
Cheers
Ron
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.
Glasgow Caledonian University is a registered Scottish charity, number
SC021474
_______________________________________________
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.
More information about the Xerte-dev
mailing list