Reply to Re: drop down menus

Your name:

Reply:


Posted by Ben C on 04/18/07 15:38

On 2007-04-18, Desmond <otuatail@aol.com> wrote:
> Any help on this one. I am trying to work out how drop down menus
> work. The website below
> has been very helpfull, but the last section on javascript is
> confusing me. I don't know how to implement
> it. functions should be in a seperate file like functions.inc and the
> styles should be in there own file
>
> How do i add the sfHover = function() as described here?
>
>
> http://www.htmldog.com/articles/suckerfish/dropdowns/
>

Put the text into a file (hover.js is a better name than functions.inc).
Then in your <head> element put

<script type="text/javascript" src="hover.js"></script>

The script should run as soon as that script element is parsed, which
will initialize sfHover and cause it to be called once the document has
loaded.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация