Solved

Help integrating new CSS menu

Posted on 2011-02-28
2
215 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

739 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