Note that there are some explanatory texts on larger screens.

plurals
  1. POStyle getting messed up because of search function
    primarykey
    data
    text
    <p>The page is getting messed up because of something in the page I searched a while and I just cant find what is wrong.</p> <p>Probably the div in zoek.html but could you guys take a look?</p> <p>EXACTLY WHATS HAPPENING: NORMAL PAGE MENU FLOATS IN THE MID WHEN OPENING THIS ONE THE MENU GOES TO THE LEFT CORNER AND ALSO the CONTENT menu goes to the left.</p> <p><strong>home_zoek.php *PHP:</strong> </p> <pre><code>&lt;?php include("config/instellingen.php"); ob_start(); session_start(); $loggedin = $_SESSION['loggedin']; if (empty($_SESSION['naam'])){ die("Log eerst in voordat u deze pagina bezoekt."); } if (isset($_GET['logout'])){ session_destroy(); header("Refresh: 0; url=\"index.php\""); } date_default_timezone_set("Europe/Amsterdam"); $logdate = date('H:i:s'); $logs = "INSERT INTO `logs` (`id` ,`naam` ,`text`,`datum`,`ip`)VALUES (NULL , '$_SESSION[naam]', 'Heeft pagina $_SERVER[PHP_SELF] bekeken', '$logdate','$_SERVER[REMOTE_ADDR]');"; $meldingen2 = mysqli_query($connect, $logs); ?&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt; &lt;title&gt;Heijmans | Planning&lt;/title&gt; &lt;link href='http://fonts.googleapis.com/css?family=Droid+Serif:400italic' rel='stylesheet' type='text/css'&gt; &lt;link rel="stylesheet" type="text/css" href="css/_style_logged.css" /&gt; &lt;link rel="stylesheet" type="text/css" href="css/_style_menu_left.css" /&gt; &lt;link rel="stylesheet" type="text/css" href="../css/_style_menu_left.css" /&gt; &lt;link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet'&gt; &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt; &lt;script src="../js/script.js"&gt;&lt;/script&gt; &lt;!--[if IE]&gt; &lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt; &lt;![endif]--&gt; &lt;/head&gt; &lt;?php include("home_menu.php"); ?&gt; &lt;div id="header-with-tabs"&gt; &lt;?php include("home_menu-3.php"); ?&gt; &lt;/div&gt; &lt;div id="content"&gt; &lt;?php include("home_menu-2.php"); ?&gt; &lt;div class="page-full-width cf"&gt; &lt;div class="side-content fr"&gt; &lt;div class="content-module"&gt; &lt;div class="content-module-heading cf"&gt; &lt;h3 class="fl"&gt;Hoofd pagina&lt;/h3&gt; &lt;span class="fr expand-collapse-text"&gt;Klik om te verkleinen&lt;/span&gt; &lt;span class="fr expand-collapse-text initial-expand"&gt;Klik om te vergroten&lt;/span&gt; &lt;/div&gt; &lt;div class="content-module-main"&gt; &lt;thead&gt; &lt;p&gt; &lt;font color="black"&gt;Zoek hier op postcode of klantvraagnummer de resultaten verschijnen automatisch en zijn altijd up to date&lt;/font&gt; &lt;/p&gt; &lt;p&gt; &lt;font color="black"&gt;Minimum 3 letters, bijv. 1093 VD.&lt;/font&gt; &lt;/p&gt; &lt;?php include("zoek.html"); ?&gt;&lt;br /&gt; &lt;div id="show_results"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/thead&gt; &lt;/ul&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php include("home_footer.php"); ?&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>zoek.html *PHP:</strong> </p> <pre><code>&lt;head&gt; &lt;script type="text/javascript" src="js/search.js"&gt;&lt;/script&gt; &lt;script src="js/pagination.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script&gt; htmlData('search.php', ''); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="form"&gt; &lt;input type="text" id="terms" onkeyup="getScriptPage('show_results','terms','1')" onblur="if ( this.value == '' ) this.value = this.defaultValue" onfocus="if ( this.value == this.defaultValue ) this.value = ''"/&gt; &lt;/div&gt; &lt;/div&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload