Color of Menu tab when visiting page


Author Message
Garry

Posted: 5/1/2009
Quote message 

You can have it for menu but not sub menu with artisteer. Find out a template from suggestions which do this(I have seen lot of suggestions of your kind) and base your template upon it.
 
Warren

Posted: 5/1/2009
Quote message 

Quote Garry:

You can have it for menu but not sub menu with artisteer. Find out a template from suggestions which do this(I have seen lot of suggestions of your kind) and base your template upon it.


Thanks but I was kind of hoping there was an option for this like there is a hover backgound color option. This means I would have to re-do all the options I already chose for my template such as color of links, gradients etc just to get the menu tabs to be a different color when the page is being visited. Seems like lots of work for something that could be a simple option.

Oh well :(

 
Charles

Posted: 5/2/2009
Quote message 

You can change the class="active" attribute on each page in the HTML code. Move it to the corresponding link code for each page you create. Artisteer only creates one page. You have to change the others you create manually. Even a WYSIWYG editor will allow you to do this.
 
Warren

Posted: 5/2/2009
Quote message 

thanks Charles, that explains why the "Home" tab is always
showing as active.

I have the same code for the menu on every page because
I use an include file for the parts of the template that are
the same on every page. This includes the Menu.

I made it this way so if I added a new tab to the menu, then
I wouldn't have to add that tab to the code of every page.

I saw a way to use class="active" so it only works when you
are on that page. Something like this.

<body id="about">

then

<li class="about"><a href="/about/"> etc

and in the css file you have something too. I tried it but I
think it must only work with php.

Anyhow thanks again, your answer would work if I had
the menu code on every page and not an include.

Maybe I have to take the menu out of the include.

Now the thing is that my Menu is part of an include file. So I can't change
 
Jenny

Posted: 6/5/2009
Quote message 

Any updated yet ? I am still stuck in this problem, The menu visited link is always active on Home, and it take really too slow to load content whenever i add a new link on menu. It is also too slow everytime i fix code on joomla ext and it takes forever to appear. I dont get it why it's too slow to update content on page. Let me know if anyone has an idea.
Thanks
 
Garry

Posted: 6/5/2009
Quote message 

Quote Jenny:

Any updated yet ? I am still stuck in this problem, The menu visited link is always active on Home, and it take really too slow to load content whenever i add a new link on menu. It is also too slow everytime i fix code on joomla ext and it takes forever to appear. I dont get it why it's too slow to update content on page. Let me know if anyone has an idea.
Thanks


For website templates Artisteer generates only one page that is home page with class = active in navigation menu. While creating second page remove class=active from home page and insert it to new page(in navigation menu) and so on.

 
Warren

Posted: 8/10/2009
Quote message 

Quote Garry:

Quote Jenny:

Any updated yet ? I am still stuck in this problem, The menu visited link is always active on Home, and it take really too slow to load content whenever i add a new link on menu. It is also too slow everytime i fix code on joomla ext and it takes forever to appear. I dont get it why it's too slow to update content on page. Let me know if anyone has an idea.
Thanks


For website templates Artisteer generates only one page that is home page with class = active in navigation menu. While creating second page remove class=active from home page and insert it to new page(in navigation menu) and so on.



Still trying to figure this out.

Is there a way to make the tabs active without having to change every single page? As I said earlier, my menu is in an include file. If it was't then I would have to edit all my pages everytime I made a change to the menu. With it being in an include file I only have to change the one file and the menu changes on every page. Way less time taken this way.

So I think there must be a way to be able to keep my menu in an include file and still have the page you are visiting tab be active while on that page. Otherwise how could somebody with a 25 page site possibly want to change the code in the menu on 25 pages just because they added one new page.

anybody have a solution on how to use an include file for the menu and still have the different tabs activate?



 
lln24

Posted: 9/13/2009
Quote message 

I am very disappointed. I bought the Home edition, after a quick trial, and I didn't imagine that there is no menu functionality. Nowadays you can find so many free JS code for menu generation so I thought it's common sense for Aristeer to have it. But as I noticed you have no possibility to generate the text for the menu links in Aristeer and there is no JavaScript for active menu link – you need to go to each HTML page and change the predefined text and active link .css class. There are also many free sites for choosing web palette color, so in the end I am asking myself why did I pay for this product? and
 
Garry

Posted: 9/13/2009
Quote message 

@ Warren

Artisteer generates just one page(front/index page), you need to create all other pages you need by coping all the code from page.html, so while creating new pages you can assign class="active" very easily.

Fyou can do it as following, find out the following code in your page.html:

<div class="art-nav">
<div class="l"></div>
<div class="r"></div>
<ul class="art-menu">
<li><a href="#" class=" active"><span class="l"></span><span class="r"></span><span class="t">Home</span></a></li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">About</span></a>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Services</span></a></li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Solutions</span></a>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Contact</span></a></li>
</ul>
</div>


Notice first <li> tag contains: class=" active" and this <li> tag is for Home, it means it highlights home tab in menu. So while generating new pages cut the class=" active" from home and paste in the <li> tag if menu item which you want to highlight.
 
Marty

Posted: 10/6/2009
Quote message 

I am discovering the same problem myself here. The menus look and act perfect while building the template, but when I export, the menu buttons do not behave as I selected in the creation process.

To me it is rather odd, (but mostly irritating) that I have to go in and recreate the menus actions after I export. This is one of the MAJOR reasons I chose to buy Artisteer because I didn't want to get caught up screwing around with this kind of coding. The whole thing is preposterous!
 
Marty

Posted: 10/6/2009
Quote message 

This is a MONUMENTAL programming glitch in my opinion because every time you update the template.dwt (using Dreamweaver) file, you have to go back in to every page and manually correct the "active " buttons in the nav codes. If I am missing something here, PLEASE correct me, because that is simply a horrible programming breach to contend with.
 
Garry

Posted: 10/7/2009
Quote message 

@ Marty

You need to replace class"active" every time to correct you navigation menu highlighting
 
Whimsical

Posted: 7/11/2010
Quote message 

I've just found this thread after knocking my brains on this and I have to agree with Marty on this.

I use includes for most of the websites I create including navigation menus etc, much easier to edit one file if you add or remove pages, than having to try and edit every single page on a website.

I'm now going to have to spend hours going thru the css to try and sort it out

 
Chris

Posted: 3/5/2011
Quote message 

I'm not sure if I have the same issue:

Artisteer 2 created my template and I have 6 items in my TopMenu. These behave well on hover and when active.

However, when I click on a menu-item WITHIN an active page, then the tab for the active page reverts to Passive.

Is this supposed to happen?

C
 
Sajeev

Posted: 6/21/2011
Quote message 

Quote Garry:

@ Warren

Artisteer generates just one page(front/index page), you need to create all other pages you need by coping all the code from page.html, so while creating new pages you can assign class="active" very easily.

Fyou can do it as following, find out the following code in your page.html:

<div class="art-nav">
<div class="l"></div>
<div class="r"></div>
<ul class="art-menu">
<li><a href="#" class=" active"><span class="l"></span><span class="r"></span><span class="t">Home</span></a></li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">About</span></a>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Services</span></a></li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Solutions</span></a>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Contact</span></a></li>
</ul>
</div>


Notice first <li> tag contains: class=" active" and this <li> tag is for Home, it means it highlights home tab in menu. So while generating new pages cut the class=" active" from home and paste in the <li> tag if menu item which you want to highlight.