The wiki is now available again. However, some recent changes may not have been restored.
Please see Computing Services' blog post for more details
Skip to end of metadata
Go to start of metadata

What?

The New Students homepage has a set of cycling images in a section called Focus On. This cycles through (say four) items of images and text highlighting areas for students to focus on... 

Where?

The New Students homepage uses Tom Natt's HTML cycle jquery plugin.

The homepage has the following JavaScript set to support this feature:

/new-ug/js/cyclefocuson.js
/common/js/jquery.element.cycle.1.0.js

How?

The homepage itself has the default item (the first thing that gets displayed) embedded within:

In particular see the content within the h3 and the image

The other items are stored in:

/new-ug/focuson/

As items named like focus1.htmlfocus2.html etc.

There is also in this folder index.html which has the following markup:

Icon

The /students/ug/newstudents/focuson/index.html file needs to be updated so that the code for the homepage knows which items to display (as well as the default item embedded in the homepage itself).

So, the HTML within the homepage has the first item, the subsequent items are in the /students/ug/newstudents/focuson/ folder and the index.html has a list of the subsequent items and what order to display them in.

 

 

  • No labels