diff --git a/css/structure.css b/css/structure.css index 93dd173..5eadea5 100644 --- a/css/structure.css +++ b/css/structure.css @@ -26,9 +26,7 @@ z-index: -1; } -#wrapper { - z-index:100; -} + body { background: url(img/bg_texture.png) repeat-x repeat-y; @@ -42,14 +40,14 @@ body { overflow: hidden; }*/ - #bx-wrapper { - margin: 0 auto !important; - width: 100% !important; - } .arrow { } +#wrapper { + margin-top: 2em; +} + #go-next, #go-prev { transition: opacity 0.5s; -moz-transition: opacity 0.5s; /* Firefox 4 */ diff --git a/js/javascript.js b/js/javascript.js index a89fbd9..26480da 100644 --- a/js/javascript.js +++ b/js/javascript.js @@ -1,13 +1,13 @@ function load_slides() { var filelist = [ - "What is the world made of", "The strong interaction", - "The electromagnetic interaction", - "The weak interaction", - "Three Generations", - "Antimatter", - "The Higgs" - ]; + "The weak interaction", + "What is the world made of", + "The electromagnetic interaction", + "Three Generations", + "Antimatter", + "The Higgs" + ]; //$(filelist).each(function(){alert($(this).html());}); var last = false; @@ -21,14 +21,12 @@ function load_slides() { var filename = to_filename(filelist[i]); // get var chapter = get_html(filename, "chapter", "html", last); - //var readmore = get_html(filelist[i], "readmore", "html"); + var readmore = get_html(filelist[i], "readmore", "html"); // here we just need the URL //var icon = get_html(filelist[i], "img", "png"); // //alert (chapter); - - } } @@ -41,11 +39,13 @@ function get_html(file, prefix, extension, last ){ $.ajax( { url :"./" + prefix + "/" + file + "." + extension, - dataType: "html" + dataType: "html" } - ).done( function(data) { + ).done( function(data) { //alert('