[eluser]syntaxerror[/eluser]
hi,
i have a javascript menu bar
it has 1 folder (lib folder) and
five files (menu.php - this is the index, demo.css, demo.js, mootools.js, .project).
it is working on standalone.
my question is how and where can i save this files in code igniter to work.
i copy/paste it in the view and change the controller function index() to
$this->load->view('menu',$data).
but the effects didnt work, it should slide down, but what it did is just a link
my menu.php script is
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="demo.css" type="text/css" />
[removed][removed]
[removed][removed]
<title>MouseEnter Demo</title>
</head>
<body>
<div id="myElement">
</div>
<div id="myOtherElement">
<span><strong>Menu</strong></span>
<div>
<a href="#">Client 1</a>
<a href="#">Client 2</a>
<a href="#">Client 3</a>
</div>
</div>
</body>
</html>