diff --git a/index.html b/index.html
index 9595956..ed24360 100755
--- a/index.html
+++ b/index.html
@@ -3,6 +3,7 @@
PortableMag
+
@@ -758,6 +759,9 @@ $(document).ready(function(){
NOTE: this is not an actual configuration page, just a live demo
of some of the available configuration option effects.
+
+ download magazine...
+
@@ -905,13 +909,6 @@ $(document).ready(function(){
-
-
- Browser info:
-
-
-
-
User Agent:
@@ -975,6 +972,7 @@ $(document).ready(function(){
USE_REAL_PAGE_SIZES = $('#USE_REAL_PAGE_SIZES').text() == 'true' ? true : false
UPDATE_HASH_URL_POSITION = $('#UPDATE_HASH_URL_POSITION').text() == 'true' ? true : false
FULL_HISTORY_ENABLED = $('#FULL_HISTORY_ENABLED').text() == 'true' ? true : false
+
}
function loadSettings(){
$('#transition_duration').attr('value', TRANSITION_DURATION)
@@ -992,6 +990,7 @@ $(document).ready(function(){
var b = $('#BrowserInfo')
$.each($.browser, function(i, e){$(''+i+': '+e+'
').appendTo(b)})
$('#UserAgent').text(navigator.userAgent)
+
}
function toggleSetting(obj){
obj = $(obj)
@@ -1003,6 +1002,14 @@ $(document).ready(function(){
loadSettings()
+ // setup the link...
+ $('#downloader')
+ .attr('href','data:text/octet-stream;base64,'+btoa(
+ JSON.stringify(buildJSON(true, true))
+ // this is a really odd one, Chrome seems to replace some
+ // entities with actual chars...
+ .replace(/–/g, '–')))
+