php - My button is not showing up the list after clicking? -
i've created webpage using php "everyone.php".
now have twitter bootstrap
drop down menu buttons, it's working fine check different page i've create page menu drop_down_menu.php
. i'm calling page inside everyone.php
using:
<div class=ownmenu_container"> <?php include './drop_down_menu.php'; ?> </div>
but unfortunately after running whole process, it's not showing list click buttons, did checked jquery , why i'm unable open list, can please ..?
help appreciated!
here everyone.php
source code:
<?php session_start(); require("conection/connect.php"); $tag=""; if (isset($_get['tag'])) $tag=$_get['tag']; ?> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <title>welcome college management system</title> <script type="text/javascript" src="jquery-1.11.0.js"></script> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"/> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css.map"/> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"/> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.css"/> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.css.map"/> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.min.css"/> <script type="text/javascript" src="bootstrap/js/bootstrap.js"></script> <link rel="stylesheet" type="text/css" href="css/home.css" /> </head> <body> <div class="img_home_pos"> <a href="everyone.php"><img src="images/img21.jpg" height="90" alt="rajasthan technical university" /></a><span class="header_pos">rajasthan technical university</span> <div class="container_language"> <?php include './select_lang.php'; ?> </div> </div><br> <div class=ownmenu_container"> <?php include './drop_down_menu.php'; ?> </div> <div class="container_middle"> <div class="container_show_post"> <?php if($tag=="home" or $tag=="") include("home.php"); elseif($tag=="student_entry") include("students_entry.php"); elseif($tag=="teachers_entry") include("teachers_entry.php"); elseif($tag=="score_entry") include("score_entry.php"); elseif($tag=="subject_entry") include("subject_entry.php"); elseif($tag=="faculties_entry") include("faculties_entry.php"); elseif($tag=="susers_entry") include("users_entry.php"); elseif($tag=="view_students") include("view_students.php"); elseif($tag=="view_teachers") include("view_teachers.php"); elseif($tag=="view_subjects") include("view_subjects.php"); elseif($tag=="view_scores") include("view_scores.php"); elseif($tag=="view_users") include("view_users.php"); elseif($tag=="view_faculties") include("view_faculties.php"); elseif($tag=="location_entry") include("location_entry.php"); elseif($tag=="artical_entry") include("artical_entry.php"); elseif($tag=="test_score") include("test_scores .php"); elseif($tag=="view_location") include("view_location.php"); elseif($tag="view_artical") include("view_articaly.php"); /*$tag= $_request['tag']; if(empty($tag)){ include ("students_entry.php"); } else{ include $tag; }*/ ?> </div> </div> </div> <div class="bottom_pos"> <a href="#" style="text-decoration: none;">about management</a> </div> </body> </html>
as here drop_down_menu.php
:
<!--first button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> students <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="everyone.php?tag=student_entry">students entry</a></li> <li><a href="everyone.php?tag=view_students">view students</a></li> </ul> </div> <!--second button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> teachers <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="everyone.php?tag=teachers_entry">teachers entry</a></li> <li><a href="everyone.php?tag=view_teachers">view teachers</a></li> </ul> </div> <!--third button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-hdd"></span> faculties <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="everyone.php?tag=faculties_entry">faculties entry</a></li> <li><a href="everyone.php?tag=view_faculties">view faculties</a></li> </ul> </div> <!--forth button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-th-list"></span> subjects <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="everyone.php?tag=subject_entry">subjects entry</a></li> <li><a href="everyone.php?tag=view_subjects">view subjects</a></li> </ul> </div> <!--fifth button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-star-empty"></span> score <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="everyone.php?tag=score_entry">score entry</a></li> <li><a href="everyone.php?tag=view_scores">view score</a></li> </ul> </div> <!--sixth button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-lock"></span> users <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="everyone.php?tag=susers_entry">users entry</a></li> <li><a href="everyone.php?tag=view_users">view users</a></li> </ul> </div> <!--seventh button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-globe"></span> location <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="?tag=location_entry">location entry</a></li> <li><a href="?tag=view_location">view location</a></li> </ul> </div> <!--eaigth button--> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-align-justify"></span> artical <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="?tag=artical_entry">artical entry</a></li> <li><a href="?tag=view_artical">view artical</a></li> </ul> </div> -->
Comments
Post a Comment