Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help integrating new CSS menu

Posted on 2011-02-28
2
Medium Priority
?
222 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
2 Comments
 
LVL 12

Accepted Solution

by:
zappafan2k2 earned 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Suggested Courses

886 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