none
Drop down menu in navigation bar appear as bullet forms in the left side of page RRS feed

  • Question

  • When i run my project in localhost on Chrome, Firefox and Internet Explorer everything seems to work fine. However when I did some modification to my project(categorize the URL,remove .php extension), problem occur, where I cannot run the modified project properly in Internet Explorer.The dropdown menu in navigation bar appear as bullet forms that line in the left side of the page.

    As for your information, the URL of my original project when I run in localhost ishttp://localhost/alarm.php. I put the php file in the same directory where I put my (templates,css,images,js,fonts) folders. In order for me to categorized the URL to become like thishttp://localhost/alarm-system/overview.php i rename the alarm.php file into overview.php and put the file in a folder. Here is my folder structure.

    • alarm-system
      • overview

    In order for me to call the header.php inside the templates folder in root directory I use the ../ method as i travel one level up to reach the file. I also implement the same the same method to call the css file. Here is part of overview.php code:

    <?php include('../templates/header.php') ?>`<div class="container">
      <!-- content -->`<div class="clear"> </div>`
    <?php include('../templates/menu-alarm.php') ?>
    <title>Alarm-System || <?php echo $header_title;?></title>
    <link href="../css/gass_style.css" rel="stylesheet" type="text/css" />
     <link rel="stylesheet" href="../css/flexslider.css" type="text/css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../css/demo.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/elastislide.css" />
    <script src="../js/html5.js"></script>
    <script src="../js/jquery-1.10.1.js"></script>

    It works perfectly in Chrome and Firefox but not in Internet explorer. I believed it must be something wrong with the calling method for the css file. Im new to this programming stuff. please dont be harsh with me. I dont know what is wrong and hope you guys can help me.

    Friday, November 8, 2013 2:23 AM

Answers