[Xerte-dev] Re: Responsiveness

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Jan 8 16:04:17 GMT 2015


The flash code originally did that, because the image could have been scaled anyway: just thinking about anything else that is hardcoded / based on pixels.

-----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: 08 January 2015 15:59
To: For Xerte technical developers; jenmagjen at gmail.com
Subject: [Xerte-dev] Re: Responsiveness

I think jquery is mature enough to be able to get the size of an automatically resized picture so it's all about the calculation... If it is programmed to work when the image (or better the container) is resized then it shouldn't be an issue...

It's been raised before but it would be a bit of work to get it working in all cases and to test across different devices... some report sizes differently to others even when using a  framework...

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 Julian Tenney [Julian.Tenney at nottingham.ac.uk]
Sent: 08 January 2015 15:43
To: jenmagjen at gmail.com; For Xerte technical developers
Subject: [Xerte-dev] Re: Responsiveness

That's cool. What I wonder is how it would apply to some of the page types that are configured based on pixels: hotspot interactivity and so on? That would be tricky to scale I think. A subset of pages could certainly be responsive: perhaps if a subset had the responsive stuff added to them, and then those pages were flagged somehow in the editor so if you wanted to build a truly responsive LO, you could just use those pages? That would be a good start.

Does anyone else see any problems with this approach?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Jens Magnus Jensen
Sent: 08 January 2015 13:57
To: For Xerte technical developers
Subject: [Xerte-dev] Responsiveness

Hi good people at Xerte!
At PedIT, we are currently focusing on going responsive.
It would be great if XOT also could be fully responsive - and by that I mean the end-user interface.
In the object Media->Graphics and Sound, an image can be inserted on the right side. The size can be set to Auto - but it does not adjust to the display. It stays pixel-sized and not percentage.
My wish is that "Auto" means responsive.
But even setting a 50% width would not be good at smaller items like a smartphone in portrait orientation.
There are other pages in XOT as well which uses two columns.
My suggestion is to see which of them would benefit from making a solution like this:

http://jensmagnus.com/xot/responsive.html
Drag the size of the browser to see how it adjusts.
Dont mind the code, framework or details. The behavoir of the content is the point here. :) And that it is shown in a XOT type fill-window.




/jens magnus





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



More information about the Xerte-dev mailing list