Announcement

Collapse
No announcement yet.

css and tabs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    css and tabs

    Having a Friday moment.

    I want to use css to generate tabs for the pages to match up with a design I have been asked to do..
    normally the code would be something like this:
    HTML Code:
     <div id="header">
        <ul>
          <li><a href="#">Home</a></li>
          <li id="current"><a href="#">News</a></li>
          <li><a href="#">Products</a></li>
          <li><a href="#">About</a></li>
          <li><a href="#">Contact</a></li>
        </ul>
      </div>
    where you set the id to be current for the page you are on, to display the tab..

    Any ideas of how to get this to work with the act_primaries?
    Thanks in advance (I hope)
    Jenny
    Hanson Web Design
    www.hansonwebdesign.co.uk
    jenny@hansonwebdesign.co.uk
    Actinic hosting, Actinic Software, template design and re-design

    #2
    Any ideas of how to get this to work with the act_primaries?
    Off the top of my head, I would investigate inserting the class tags via a CUSTOMVAR - that way, you could have a different value for each section.

    Comment


      #3
      Chris
      But what about the brochure pages! No where to change the netquotevars, or is there?
      jenny
      Hanson Web Design
      www.hansonwebdesign.co.uk
      jenny@hansonwebdesign.co.uk
      Actinic hosting, Actinic Software, template design and re-design

      Comment


        #4
        Hmmm - you are quite right - a solution with custom properties would only work in store sections - not brochure pages.

        For brochure pages I'm afraid you are looking at different brochure primary templates for each page.

        Comment

        Working...
        X