[Xerte-dev] Re: HTML5 viewer

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Apr 2 09:35:08 BST 2012


> With respect to screen size 800 by 600 is a good default, but it can be useful to be able to use larger sizes particularly if you are including screen captures to demonstrate an application.

This is the detail that we need to talk through: in Xerte in flash, changing the size of the screen scales the movie: the whole thing gets bigger / smaller.

In HTML that doesn't happen, so the div gets bigger / smaller, but the text doesn't resize, rather it just wraps differently. So what should we do as a default: fill the browser? Start off with a set size? Start off with an author-controlled size - but do we want settings that are only relevant to html delivery? We want to try an use the existing settings wherever possible,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 31 March 2012 11:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: HTML5 viewer

It's looking good.

I don't have Firefox installed on my PC at present, but I viewed it in Opera and Explorer 8 and the two versions both looked the same so I guess it must be doing what it is supposed to do :-)

With respect to screen size 800 by 600 is a good default, but it can be useful to be able to use larger sizes particularly if you are including screen captures to demonstrate an application.

I don't know if it is worth considering this at the point when you are just starting to create your models, but are you sizing things absolutely or relatively? In the xerte rlm files many of the pages use absolute values based on the default screen sizes e.g. assuming the default screen size of 800 x 600 a panel and text box might have width options for small, medium and large. These values then equate to say 200, 400 and 600. They could be set to screenWidth / 4, screenWidth / 2 etc. which would then scale automatically if a new screen width was set for the project.

Just a thought.

Kind regards

Johnathan

On 30 March 2012 16:03, Fay Cross <Fay.Cross at nottingham.ac.uk<mailto:Fay.Cross at nottingham.ac.uk>> wrote:
Hello

This week the project to make a HTML5 viewer for Toolkits started.  You can view an work in progress example of it here http://ltdev.nottingham.ac.uk/toolkits/prototypeInterface.htm (best to view in Firefox at the moment - the css hasn't been sorted properly yet)

At the moment it's obviously very rough and looks terrible!  I've added all the optional properties to the LO so I can make sure everything that works in the Flash version works here too (background image, icon, menu page, menu image etc.).  The aim is to get the main interface finalised before we start work on any of the page models so although it is getting info from an xml file to load in the correct page type and give it a title, everything else on each page is currently fixed.  The page models are separate html files that are loaded in to the main interface html.

A few things have come up as I've been working on this that you might have opinions on:

We were thinking of getting rid of a lot of the options at the bottom of the Flash version (Font / Text Size etc.) and have the browser setting deal with this.  What do you think about the size of it though - fix it at 800 x 600 or have it automatically resize?  Do you think we will still need an option to swap views?


In this version there's a main style sheet and you can also add styles to each page model html file if there's any stuff specific to that model.  This seems to work ok but I was wondering what would happen if you uploaded a custom style sheet for the LO - these override the main one but not the model specific styles.  For those who have made custom interfaces for projects in the past is this likely to be a problem?  I would have thought the styles in the models will be more general layout things.


Thanks
Fay


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<mailto: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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120402/3fa99e2e/attachment-0001.html>


More information about the Xerte-dev mailing list