Commit Graph

16 Commits

Author SHA1 Message Date
Éric Lemoine 1bebf55d30 Focus to search field on page load
This uses the "autofocus" on the search field to focus the search field on page load.
2015-09-14 09:15:12 +02:00
Tim Schaub d1f19b8e0d Use the latest Bootstrap 2015-06-30 22:30:28 -06:00
Tim Schaub 89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Andreas Hocevar ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
Tim Schaub e633f7f8c1 Don't inject stylesheets with JavaScript
This reverts 4d619d71b1 (see #1527), going back to what we had after e13075f6ff (see #881).

To avoid the 404 in the hosted examples, the css is copied to the same relative path when hosted as during development.
2014-02-21 18:45:46 -07:00
Tim Schaub 336ee808de The examples don't provide information on classes used 2014-02-05 20:17:50 -07:00
Tom Payne 4d619d71b1 Only load ol.css in loader.js
Before this change, all the examples try to load ../css/ol.css, even in
hosted mode, where they should load ../build/ol.css instead.
2014-01-14 14:32:40 +01:00
ahocevar 860735d7e4 Nicer search box position 2013-09-24 14:56:25 +02:00
ahocevar b80022036f ol3 logo for examples and apidoc header 2013-09-24 14:42:04 +02:00
Frederic Junod 88f938ea47 Remove social-links.js script from examples and doc 2013-09-23 13:58:12 +02:00
Tim Schaub ac4b031353 Remove social links from example index 2013-09-19 15:17:02 +01:00
Frederic Junod e13075f6ff Don't inject ol.css from loader.js 2013-07-25 11:40:35 +02:00
ahocevar 6c5377eebe Creating a resources folder for use by examples and API docs 2013-04-04 15:18:15 +02:00
Marc Jansen 10ef5eff8b Keep the search-filter on submit in example index.
When one would hit `ENTER` after filtering the list of examples, the form would
be submitted and the filter would be gone after the page reload. By giving the
main search field the appropriate `name`-attribute, this is being solved.
2013-03-21 15:32:06 +01:00
Tim Schaub 26aefc1f63 The _blank target is an antipattern
The examples all have links back to the index page.  People know how to open links in new tabs/windows when they want to.
2013-03-19 12:18:08 -06:00
Tim Schaub 462659a9fc Use index.html instead of example-list.html
The original decision to avoid index.html was because it only works with a build step.  Since we've all accepted a build step, the more sensible name is index.html.  Without this change, every hosted example has a link to http://openlayers.github.com/ol3/master/examples/example-list.html which 404s.
2013-03-19 12:17:00 -06:00