rootKID Posted December 29, 2014 Share Posted December 29, 2014 Hi W3S You helped me earlier with a responsive accordian menu. The website is now online and whenever i test it with with my smartphone (samsung) or just another smartphone based system, the accordian menu wont work for some reason? This is my customers website: www.rightmatch.dk and yes, i'm still working on it. It's a recruiting website and also based in Danish/Dane language Is it possible for someone to tell me where my error is Oo? I'm using CSS, HTML and jQuery for it to work... or so i did anyways... ideas Oo? Link to comment Share on other sites More sharing options...
Ingolme Posted December 29, 2014 Share Posted December 29, 2014 I believe your invalid HTML is causing jQuery to not be loaded. Correct the validation errors and it should work. If you're using Firefox you can see invalid code marked in red by pressing Control+U. Link to comment Share on other sites More sharing options...
rootKID Posted December 30, 2014 Author Share Posted December 30, 2014 I believe it's the CKEditor that's making the mistake? Because i just added in an "iFrame" with a youtube link in it. It's working... but the mobile-menu dosen't work for some reason :/... again? this is my code for index.php (Home / Forside) <?php/*THIS PROJECT USES 960GRID SYSTEM!==================================*/# Database Settings & Setuprequire_once("database/db.core.php");# Functions Libraryrequire_once("includes/functions_all.php");ob_start();session_start();# Static Error Checkerrequire_once("includes/static.error.check.php");?><!DOCTYPE html><!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--><!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--><!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--><!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /><title>Forside</title><link rel="stylesheet" href="style/base.css"><link rel="stylesheet" href="style/skeleton.css"><link rel="stylesheet" href="style/main.css"><!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--><link rel="shortcut icon" href="style/images/favicon.ico"></head><body><?phpecho "<div class='container'>"; // Sixteen Columns (Logo, Menu) echo "<div class='sixteen columns top_block'>"; // Banner AND Logo echo "<div class='sixteen columns half-bottom banner'></div>"; // Menu require_once("generators/menu.php"); // Menu echo "</div>"; // Sixteen Columns echo "<div class='sixteen columns half-bottom'>"; $query = "SELECT * FROM page_generator WHERE pg_id_runner = 1"; $result = $mysqli->query($query); while($row = $result->fetch_assoc()) { if($row['pg_body'] == "") { echo "Ingenting tilføjet til denne side i nu! Kom venligst tilbage på et senere tidspunkt!"; } else { echo nl2br($row['pg_body']); } } echo "</div>"; // Sixteen Columns (Footer) echo "<div class='sixteen columns foot_block'>"; require_once("generators/footer.php"); echo "</div>"; echo "</div>";// Space in the end of the websiteecho "<br />";?><!-- =============================================== --><!-- ============ JavaScript Loaded Here============ --><!-- =============================================== --><script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/smoothmenu.js"></script></body></html> Ideas? Link to comment Share on other sites More sharing options...
dsonesuk Posted December 30, 2014 Share Posted December 30, 2014 The image from original was not closed properly, OR one of the img attributes (src i think) was not closed with end quote, either way the src of the img included parts of html following this img element. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now