Welcome to TalkGraphics.com
Results 1 to 4 of 4

Thread: Navbars again!

  1. #1
    Join Date
    Feb 2004
    Posts
    5

    Default

    Hello!
    I'm completely lost!
    To keep related .html pages organized,
    I have several subfolders under / of my website.
    Each subfolder's main page is called index.html.
    I use the same template for all the pages,
    with one horizontal and one vertical navbars.
    (based on sabre them.)
    I would like to have horizontal bar to be identical for all the pages (it would be nice
    to be able to modify it only once if needed and not for every web page separately).
    For each subfolder I need a separate vertical
    navbar, which is to be shared among the web
    pages, located in that folder.
    Is it possible? I looked through the postings
    here and couldn't find any solutions (if I missed it, please excuse me). Could anyone
    point me to any docs, explaining this step-
    by-step (if such a doc exists)? I tried to
    create a project and then modify that vertical
    navbar, but because every subfolder has
    files, that share the name with the files from
    other folders (like index.html), xara keeps
    overwriting my menus. Is there a way to tell
    xara to keep vertical menu's files in the
    corresponding subfolders, so they don't get
    overwritten and place the horizontal's bar
    files in the root dir., so they can be shared
    among all the web pages?

  2. #2
    Join Date
    Feb 2004
    Posts
    5

    Default

    Hello!
    I'm completely lost!
    To keep related .html pages organized,
    I have several subfolders under / of my website.
    Each subfolder's main page is called index.html.
    I use the same template for all the pages,
    with one horizontal and one vertical navbars.
    (based on sabre them.)
    I would like to have horizontal bar to be identical for all the pages (it would be nice
    to be able to modify it only once if needed and not for every web page separately).
    For each subfolder I need a separate vertical
    navbar, which is to be shared among the web
    pages, located in that folder.
    Is it possible? I looked through the postings
    here and couldn't find any solutions (if I missed it, please excuse me). Could anyone
    point me to any docs, explaining this step-
    by-step (if such a doc exists)? I tried to
    create a project and then modify that vertical
    navbar, but because every subfolder has
    files, that share the name with the files from
    other folders (like index.html), xara keeps
    overwriting my menus. Is there a way to tell
    xara to keep vertical menu's files in the
    corresponding subfolders, so they don't get
    overwritten and place the horizontal's bar
    files in the root dir., so they can be shared
    among all the web pages?

  3. #3
    Join Date
    Jan 2004
    Location
    Gateshead,UK
    Posts
    27

    Default

    If you are trying to have 2 sets of navbars on the same web page then do this:-
    Create you horizontal navbars and save as normal. Making sure you know where Xara has places ALL of the files.
    Go to your top folder locate the file xaramenu.js and rename xaramenu1.js.
    Go into the html for your web page and locate the line containing xaramenu.js and change this to xaramenu1.js and save the file.
    Creat you vertical navbars and save ensuring your graphics files have a different name to the horizontal navbars.
    You will now have 2 sets of graphics files and 2 xaramenu.js & xaramenu1.js files.

    I have tried this and it works.

  4. #4
    Join Date
    Jan 2004
    Location
    Gateshead,UK
    Posts
    27

    Default

    See the following example

    http://www.avg.org.uk/twonavbars.htm

 

 

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
  •