Results 1 to 3 of 3

Thread: Chrome CSS Menu Script

  1. #1
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default Chrome CSS Menu Script

    1) Script Title: Chrome CSS Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:
    This menu is almost exactly what I want. However I wonder...

    in the <body> I have to list every link and href and all that. Since this menu will be the same on every page it appears on, so I wonder the buttons themselves.. or the top layer links (home, recourses, etc) link to demo.htm# is there a way to make it go to page_you_are_on.php# ??

    Also, I need a pretty small and clean source code, is there a way to put the links and <ul> stuff inside the .js or another file and call it like I do the css and the .js pages, instead of having to put it all in the body of each page?

    Thanks for any help.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  2. #2
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    if you can use php on your site you could put the contents of the menu in another page and include the menu throu a php include
    also of you can use php you can make a <link to page you are on> but of you cantthere is always more to try becouse there is a posebility somewhere in js to het the current page (try to google for it)i hope this helps a bit

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Thanks for that, the include is something I already thought of, but it doesn't help, as all the codes are still shown in the source code after it is all included.

    I don't want all that in the source code... if possible... too much going on in there.

    I know it is a silly request, and I may just have to deal with it... just hoping not, LOL
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •