diff --git a/example_page/index.html b/example_page/index.html index f01fed3..53f28d9 100644 --- a/example_page/index.html +++ b/example_page/index.html @@ -1,332 +1,280 @@ - - - - - BigPicture Example Page - - - - -
-
- -

- Lightweight & framework independent JavaScript image / video - viewer -

- View on Github + + + + + BigPicture Example Page + + + + + +
+
+ +

+ Lightweight & framework independent JavaScript image / video + viewer +

+ View on Github +
-
-

Remote Image Gallery

-

- Click thumbnails to launch gallery. Loading spinner & captions are - built-in. -

- -

- A gallery can also be opened from a single element using an array of - images. -

-
- - -
+
+

Remote Image Gallery

+

+ Click thumbnails to launch gallery. Loading spinner & captions are + built-in. +

+ +

+ A gallery can also be opened from a single element using an array of + images. +

+
+ +
+
-
-

Videos / Embeds

-

- Supports Youtube, Vimeo, direct video links, - any iframe, as well as - audio files. -

-
-
-
-
-
-
-
-
+
+

Videos / Embeds

+

+ Supports Youtube, Vimeo, direct video links, + any + iframe, as well as + audio files. +

+
+
+
+
+
+
+
+
-
-

Individual Images

-

- Specify a remote source, or pass in an element alone in to enlarge its - current image. -

-
- - - -
-

Script grabs the background image automatically.

-
-
-
-
-
+
+

Individual Images

+

+ Specify a remote source, or pass in an element alone in to enlarge its + current image. +

+
+ + + +
+

Script grabs the background image automatically.

+
+
+
+
+
-
-

Error Handling

-

- By default, the user will receive an alert (this behavior can be - overriden). -

-
- -
+
+

Error Handling

+

+ By default, the user will receive an alert (this behavior can be + overriden). +

+
+ +
+
+

+ If the vimeo / youtube URL is incorrect, the embed is shown with the + error. +

+
+
-

- If the vimeo / youtube URL is incorrect, the embed is shown with the - error. -

-
-
-
+
+
-
-

- All images found on - Unsplash - | "Towers of Pfeiffer" video by - Grant Porter (CC-BY) - | Music by - Nordgroove - via Fugue -

-
+
+

+ All images found on + Unsplash + | "Towers of Pfeiffer" video by + Grant Porter (CC-BY) + | Music by + Nordgroove + via Fugue +

+
- + - - - + }) + + setClickHandler('audio_example', function (e) { + e.preventDefault() + BigPicture({ + el: this, + audio: 'audio/happy-step.mp3', + }) + }) + })() + + + + \ No newline at end of file