Solved

Help integrating new CSS menu

Posted on 2011-02-28
2
216 Views
Last Modified: 2012-05-11
Hello Experts,

We would like to integrate Superfish CSS menu (http://users.tpg.com.au/j_birch/plugins/superfish/) into our site design, but have a conflict with our current stylesheet that prevents the popout menu items from appearing in the correct location.  If you open the attached zip you will find index.html which is our current design, and an example page superfish.html which is a test implementation with the new menu.

Any help with resolving this would be appreciated.
ncas-2011-rev1.zip
0
Comment
Question by:sonic1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
zappafan2k2 earned 500 total points
ID: 35003961
There are seemingly a bunch of problems.  I'll see if I can remember them all...

You didn't include the "jquery-1.5.1.min.js" or the "supersubs.js" files
The other javascript file includes are syntactically incorrect [see below]
Interestingly, it wasn't CSS that was completely creating the problem you posted - you need to add the class "sf-vertical" to the first ul tag (id sample-menu-1)

Your javascript includes have the following syntax:
<src="js/hoverIntent.js"></script>

Open in new window

This should be
<script type="text/javascript src="js/hoverIntent.js"></script>

Open in new window

Make these changes, and you're almost there.  Now it's just a matter of removing the line
margin:12px 0 0 0;

Open in new window

from the file styles/base.css

Give that a try, and see how you make out.
0
 

Author Comment

by:sonic1234
ID: 35003999
Thank you for your help zappafan2k2 - all working now.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question