rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 51b4b90a75aff7c4fb523e92ebef4eebb3acab0c
parent 85a25da992582d354aa0a21e33049244ff7f7a9f
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 20 Dec 2014 18:42:05 +0100

try to make bootstrap support

Diffstat:
Mthemes/jumbotron/test.php | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/themes/jumbotron/test.php b/themes/jumbotron/test.php @@ -7,8 +7,8 @@ header("Cache-Control: no-cache, must-revalidate, no-store"); <!DOCTYPE html> <html> <head> - <!-- Bootstrap core CSS - <link href="../../core/libs/theme_engine/BootStrap/css/bootstrap.min.css" rel="stylesheet">--> + <!-- Bootstrap core CSS --> + <link href="../../core/libs/theme_engine/BootStrap/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="jumbotron.css" rel="stylesheet"> @@ -24,7 +24,7 @@ header("Cache-Control: no-cache, must-revalidate, no-store"); function showhide(id){ if (document.getElementById) { var divid = document.getElementById(id); - var divs = document.getElementsByClassName("hide"); + var divs = document.getElementsByClassName("hide_"); for(var i=0;i<divs.length;i++) { divs[i].style.display = "none"; } @@ -50,8 +50,8 @@ header("Cache-Control: no-cache, must-revalidate, no-store"); <div onclick="showhide('bill');" class="bio_image"><div class="name">Bill Murray</div></div> <div onclick="showhide('bill2');" class="bio_image"><div class="name">Bill Murray</div></div> <div onclick="showhide('bill3');" class="bio_image"><div class="name">Bill Murray</div></div> -<div class="hide" id="bill">BILL</div> -<div class="hide" id="bill2">BILL2</div> -<div class="hide" id="bill3">BILL3</div> +<div class="hide_" id="bill">BILL</div> +<div class="hide_" id="bill2">BILL2</div> +<div class="hide_" id="bill3">BILL3</div> </body> </html> \ No newline at end of file