Log in

View Full Version : Drop down menu not working



Goodboy
04-19-2009, 09:46 AM
Hello All,

I am newbie to CSS. i am trying to make menu like in tudou.com with search bar inside the tab.

For that i have used smoothnav menu v1.02. In test site i am getting the menu, but when i Integrate that in my site, drop down menu is not working.

i have double checked the path for javascript and it is OK.

dont know..where the problem is?

can anyone here help me please?

you can check in siripu . com

regards
Saro

basslion
04-21-2009, 02:52 PM
well first of all you need to have the following at the very top of the page at ALL times.


<!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" lang="en" xml:lang="en">


which means taking the following code:


<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="http://www.siripu.com/default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
@import url("default.css");
-->
</style>
<link href="default.css" rel="stylesheet" type="text/css" />


and placing it under this code:

<link href="default.css" rel="stylesheet" type="text/css" />
<link href="jqueryslidemenu.css" rel="stylesheet" type="text/css" />


see if that does anything. also make sure there are minimal empty lines in your code to make the file size for the page small.

All calls for css and script files should be under the meta tags and between the <head> and </head> tags.