Simple Menu. Easy Money
Re: Simple Menu. Easy Money
it is not easy to ask the menumanager for the first and the last item of a (sub)menu but the rest is easy. in my opinion the only possibility is to ask for an id and then set the first and last attribute
Last edited by SimonSchaufi on Tue Apr 01, 2008 6:03 pm, edited 1 time in total.
Re: Simple Menu. Easy Money
I think a good solution would be to do that dynamically. This can be done by jquery (www.jquery.com).
Include this into the head of your template:
And it should work
Include this into the head of your template:
Code: Select all
<__script__ type="text/javascript" src="loaction of jquery file.js"></__script>
<__script__ type="text/javascript">
$(document).ready(function(){
$('.menu>ul>li:first').addClass('first');
$('.menu>ul>li:last').addClass('last');
});
</__script>
Re: Simple Menu. Easy Money
i have done almost everything already apart from first and last item
Re: Simple Menu. Easy Money
The job is done.
Last edited by SimonSchaufi on Fri Jul 04, 2008 2:29 pm, edited 1 time in total.
Re: Simple Menu. Easy Money
It is very good ,I will help you if you pay more money ! Email:hanidc@qq.com