Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] ako_nav
It’s been updated again. Now we’re up to version 0.7.
And rather than try to explain it my self, I’ll just quote the email that I got requesting this new feature
When i build my list of links trough name=“1,2,3…” and use url=” #1, #2, #3 etc… “ i noticed that if you had more names than urls, those more names without url assigned are still linking to an url ( the root ? ). Would it be possible to avoid this: when names at the end of the name list don’t have a corresponding link at the end of the url list attached, not to link them to anything. Have <li> without the a href inside when a link is not specified at the end of the url list ?
Last edited by akokskis (2005-10-09 22:55:23)
Offline
Re: [plugin] [ORPHAN] ako_nav
i’m stil having problems with this highlighting the current menu item – might jut be me though, will try the update
Offline
Re: [plugin] [ORPHAN] ako_nav
Make sure you have css that targets the current item like so: a.current{background: yellow;}. If you are having problems with the plugin applying the current class well… that’s another story.
Refresh Dallas and other Refreshing Cities.
Offline
Re: [plugin] [ORPHAN] ako_nav
Sekhu, I’m leaving town now for about a month, but when I get back, I’ll try to help you and figure out exactly what it is that’s going on with the plugin on your site and why it doesn’t seem to be working…
Offline
Re: [plugin] [ORPHAN] ako_nav
Hi,
I havent tested this plug-in yet, but it seems to be very useful…
I will give it a try in few minutes..
meanwhile, I have a suggestion:
the header tag (h<span style=“font-style:oblique;”>n</span> by default), can be specified by the user?
I mean: if in next releases of this plugin, the header tag can be replaced by a tag selected by the user.
So, it wont be a header necessarily… it can be any HTML tag.
The idea behind is this:
before the navigation list, I add an invisible < p class=“invisible” > that says: “You are here” (here = section name).
I hide it with a “display:none” rule.
With CSS enabled, the currentc section is “graphically” pointed, by a rule in the stylesheet.
So, if CSS is disable, the visitor can read wich section they are navigating.
Well… there are more possibilites than the one I suggested.
I dont know if this makes sense, but I think this add-on can make this plugin even more flexible.
You can output something like this:
<code><div>
<p>You are in: about</p>
<ul>
<li><a href=”/”>home</a></li>
<li><a href=”/about”>about</a></li>
<li><a href=”/contact”>contact</a></li>
</ul>
</div></code>
PS: excuse my english
Last edited by maniqui (2005-07-25 17:01:01)
Offline
Re: [plugin] [ORPHAN] ako_nav
> tinyfly wrote:
> Make sure you have css that targets the current item like so: a.current{background: yellow;}. If you are having problems with the plugin applying the current class well… that’s another story.
Using the class/css value I can create the current – it’s just using the pluign it sometimes appears, but 90% disappears and doesn’t highlight. So I an have an li listed as current and add a css value to it, no worries there, just making it change dynamically is posing a problem
Offline
#19 2005-08-17 05:24:41
- andjules
- Member
- From: toronto
- Registered: 2004-10-20
- Posts: 44
Re: [plugin] [ORPHAN] ako_nav
from the features:
class=“active” is automatically added to the current page’s li
actually, it adds class=“active” to the current <code><a></code>
which is currently a drag for me – I’m applying the green marinee theme and the bullet images are in the <code><li></code> CSS (I’d like to mod it so there is a special bullet for the active menu item)
how about curclass boolean (0=a, 1=li)?
the other advantage, is that if you go for the curlink=0 option (don’t link the current section), you could still get special styling
Last edited by andjules (2005-08-17 05:26:49)
Offline
Re: [plugin] [ORPHAN] ako_nav
Give me about a week, when I should have some more time (I’m about to move into school), and then I should be able to pull through on this for ya.
I’ll update ya when it’s done. (Or sooner, if the need presents its self.)
Offline
#21 2005-08-17 05:59:11
- andjules
- Member
- From: toronto
- Registered: 2004-10-20
- Posts: 44
Re: [plugin] [ORPHAN] ako_nav
that’d be great (when you have time). thanks for taking the interest. and thanks for a great plugin.
Offline
Re: [plugin] [ORPHAN] ako_nav
Howdy all, just wanted to stop by and announce the newest release of ako_nav, now at v.0.8. The latest change was the feature request by andjules, basically allowing the <code>class=“active”</code> to be added to either the <code>a</code> or the <code>li</code> tag.
The option for this is classtag. If it is set to 0, then the <code>class=“active”</code> is added to the <code>a</code> tag. If it is set to 1, then the <code>class=“active”</code> is added to the <code>li</code> tag. By defualt, <code>class=“active”</code> is added to the <code>a</code> tag (0).
As always, let me know of any issues / problems / feature requests… I’m often more than happy to oblige.
And lastly, sorry for this taking so long. Been awful busy this entire summer, and well… yeah, it happens.
Last edited by akokskis (2005-10-09 22:55:48)
Offline
#23 2005-09-06 18:49:42
- andjules
- Member
- From: toronto
- Registered: 2004-10-20
- Posts: 44
Re: [plugin] [ORPHAN] ako_nav
sweet – thanks!
Offline
Re: [plugin] [ORPHAN] ako_nav
Not a problem at all. ;)
Offline