[jQuery] Re: Superfish arrows and drop shadow

2008-11-14 Thread pbluetype

Haha I can be an idiot sometime!

The reason I wasn't seeing the shadow or arrow was because rather than
downloading the zip file I had simply downloaded the code files
seperately.

I was calling the initialisation code etc (as explained by your very
easy to use demos) but by my own foolish mistake I didnt download the
images.

Thanks a lot for your help, the menu looks and works really well.

I knew there'd be a simple answer ;-)

Thanks


[jQuery] Re: Superfish arrows and drop shadow

2008-11-14 Thread Joel Birch

It does seem most likely that you haven't actually activated the
plugin code and all you are seeing is the pure CSS fallback version of
the menu. If you go to the Superfish documentation pages you will find
plenty of information about setting up menus in a variety of ways, but
specifically, look at Step 3 of the "Quick Start Guide" on the entry
page. You need to include that code to trigger the plugin's JS that
you linked to in a script tag.
http://users.tpg.com.au/j_birch/plugins/superfish/

Also, once the initialisation code has run, it will add various
classes to your menu markup, including the anchors' "sf-with-ul" class
where relevant, so you do not need to add that to your markup
manually.

Regarding the images, they come as part of the standard download (zip
archive) and are used for the arrow and the shadow. In the
superfish.css file the images are referred to like this, for example:

background: url('../images/shadow.png') no-repeat bottom right;

This means that you either need to put the images in an 'images'
folder, one level higher than the directory that the CSS file is in,
or you can change the path to point to the images if you prefer to
keep them elsewhere.

Hope this helps.

Joel Birch.


[jQuery] Re: Superfish arrows and drop shadow

2008-11-14 Thread pbluetype

Thats the markup.

When you say 'You did call the plugin's initialisation code I hope?'
what do you mean exactly.

I'm a bit of a beginner as you probably have guessed.

Also where are the images stored? I haven't got any images for the
arrow and shadow myself, am I meant to?

Sorry, the page is only local atm so cant show you.

Thanks


[jQuery] Re: Superfish arrows and drop shadow

2008-11-14 Thread Joel Birch

Is that the mark-up output from the server, or is it the generated
source as shown in Firebug, ie. after the Superfish JS has run? You
did call the plugin's initialisation code I hope? Are the paths to the
shadow and arrow images correct?

If you show us your page I'm sure we can figure it out far more easily.

Joel Birch.