Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2007
    Posts
    6
    Plugin Contributions
    0

    Default How do I link up my navigation... This seems like it should be easy

    I'm doing a navigation setup similar to the one used as the top nav at apple.com where it requires 1 background image for all the link states. I didn't really consider this until I went in to implement this structure... but how am I supposed to link it up? I need to link each list item to it's category(I will have a specific # of categories so it wont be dynamic), then once each category is hovered on I need the subcategories to display within their own list...which I'm assuming will have to be dynamic... It is easy for me to make look the way I want in html and css but I'm totally lost now on the php and linking this up. I've searched all over the forums and found nothing of use. I set up my top navigation in a list structure like so:
    <div id="mainNav">
    <ul>
    <li class="panel1"><a href="index.php"></a></li>
    <li class="panel2"><a href="#"></a></li>
    <li class="panel3"><a href="#"></a></li>
    <li class="panel4"><a href="#"></a></li>
    <li class="panel5"><a href="#"></a></li>
    <li class="panel6"><a href="#"></a></li>
    <li class="panel7"><a href="#"></a></li>
    <li class="panel8"><a href="#"></a></li>
    </ul>
    </div>

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do I link up my navigation... This seems like it should be easy

    Not sure if you could get an idea or two from this:

    http://www.zen-cart.com/index.php?ma...roducts_id=479

  3. #3
    Join Date
    Apr 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: How do I link up my navigation... This seems like it should be easy

    I tried inspecting a similar module actually, but I still didn't see what I am supposed to use. Also, I need to target specific categories for the first tier nav (that one is still dynamic) and I need the 2nd tier(hover/flyout state) to be drawn in as a list dynamically. Sorry if any of this was confusing.

  4. #4
    Join Date
    Apr 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: How do I link up my navigation... This seems like it should be easy

    anyone?

  5. #5
    Join Date
    Apr 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: How do I link up my navigation... This seems like it should be easy

    So, I see that you can target category links with this and modifying the category #:

    <a href="index.php?main_page=index&cPath=1"></a>


    But, I still don't know how for each of these static links I can tack on their dynamic subcategories for the hover state. Any ideas?

  6. #6
    Join Date
    Apr 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: How do I link up my navigation... This seems like it should be easy

    I'm not a programmer, I work as a designer so I don't totally get a lot of this php stuff that structures zen cart. I'm just guessing but is there a way to echo an array into a list of links depending on which category I want? Is that how it would work?

 

 

Similar Threads

  1. How can i reproduce product information like on this website? (link)
    By toutou21 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Mar 2010, 09:59 PM
  2. How.. do I create navigation like this?
    By creepycreatures in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Mar 2009, 03:43 PM
  3. Additional images... should they work like this?
    By Alex Clarke in forum General Questions
    Replies: 2
    Last Post: 23 Oct 2008, 12:36 PM
  4. this should be an easy one...
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Oct 2006, 08:02 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR