diff --git a/README.md b/README.md index 15bb81892b9afa9e9b7384c76a8cb86b40dd0301..39de8ced98bb1afb8ccab0a4921d81a9234b216a 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,6 @@ Web pages for the QIM 3D data repository. The data is placed elsewhere. Pages use [templates](https://www.w3schools.com/w3css/w3css_templates.asp) from w3schools, in particular the [portfolio](https://www.w3schools.com/w3css/tryw3css_templates_portfolio.htm) template. -## Viewing -When viewing pages on your machine, your browser will probably prevent loading JavaScript code (which is used to inserts sidebar, header and footer). -Instead of changing your security policy, you can run a local server, e.g. Python’s built-in http server. -1. From the command line, run `python -m http.server` (this is for Python 3.x). -1. In a browser, open [http://localhost:8000/](http://localhost:8000/) and navigate to the pages. - -You might also need to force the browser to load fresh content (instead of showing a cached version of the pages). In Crome (on mac), hold down Shift -while reloading. Check for your browser. - ## Modifying You need basic html, I like to use [w3schools/html](https://www.w3schools.com/html/default.asp). And basic css, also covered by [w3schools/css](https://www.w3schools.com/css/default.asp). Get familiar with [w3.css](https://www.w3schools.com/w3css/default.asp). Make sure you check your changes in different browsers, and (when live) from different platforms. @@ -36,3 +27,12 @@ The main files are: * `example2.html` - Simpler, preferred. * `example3.html` - More images. +## Viewing issues +When viewing pages on your machine, your browser might probably prevent loading JavaScript code (which is used to inserts sidebar, header and footer). +Instead of changing your security policy, you can run a local server, e.g. Python’s built-in http server. +1. From the command line, run `python -m http.server` (this is for Python 3.x). +1. In a browser, open [http://localhost:8000/](http://localhost:8000/) and navigate to the pages. + +You might also need to force the browser to load fresh content (instead of showing a cached version of the pages). In Crome (on mac), hold down Shift +while reloading. Check for your browser. +