commit 142a1c3ca05bf885a14494475dafdd997b29797f
parent 19ccf052e31fa5d3678f0f10475b7dc19c22db9b
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 20 Dec 2014 17:53:16 +0100
modify test.php
Diffstat:
2 files changed, 22 insertions(+), 17 deletions(-)
diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php
@@ -103,12 +103,6 @@ foreach($langs as $prio => $lang) {
}
}
</script>
- <script type="text/javascript">
- $('#myTab a').click(function (e) {
- e.preventDefault()
- $(this).tab('show')
- })
- </script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
diff --git a/themes/jumbotron/test.php b/themes/jumbotron/test.php
@@ -1,5 +1,18 @@
<html>
<head>
+ <!-- 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">
+
+ <script src="../../core/libs/theme_engine/BootStrap/js/bootstrap.min.js"></script>
+ <script src="../../core/libs/theme_engine/jquery/jquery-1.11.2.min.js"></script>
+
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <![endif]-->
<script type="text/javascript">
function hideElementByVisible(obj) {
document.getElementById(obj).style.visibility = "hidden";
@@ -30,16 +43,14 @@
</script>
</head>
<body>
-<input type="text" name="txtname" id="txtname" value="TextBox1" />
-<input type="text" name="txtname1" id="txtname1" value="TextBox2" /><br />
-Visible:<br />
-<input type="button" value="Hide Element - TextBox1" onClick="hideElementByVisible('txtname');" />
-<input type="button" value="Show Element - TextBox1" onClick="showElementByVisible('txtname');" /><br /><br />
-Display:<br />
-<input type="button" value="Hide Element - TextBox1" onClick="hideElementByDisplay('txtname');" />
-<input type="button" value="Show Element - TextBox1" onClick="showElementDisplay('txtname');" /><br /><br />
-
-Paragraph Show<br />
-<input type="button" value="Show Element With Paragraph - TextBox2" onClick="showElementByDisplay('txtname','block');" />
+<div id="a" style="display:none">1</div>
+<div id="b" style="display:none">2</div>
+<div id="c" style="display:none">3</div>
+<div id="d" style="display:none" >4</div>
+
+<input type="button" value="1" id="w">
+<input type="button" value="2" id="x">
+<input type="button" value="3" id="y">
+<input type="button" value="4" id="z">
</body>
</html>
\ No newline at end of file