John C
|
Hi guys.
I was wondering how to make the top menu links open in new window. Anybody knows?
Thanks
|
|
Diego
|
John C
Go to Design > Edit HTML
Search in template code this text:
jQuery("ul.art-hmenu").append('<li><a href="'+itemlink+'"><span class="l"></span><span class="r"></span><span class="t">'+itemname+'</span></a></li>');
you should add target="_blank" to <a> tag. the result will be:
jQuery("ul.art-hmenu").append('<li><a href="'+itemlink+'" target="_blank"><span class="l"></span><span class="r"></span><span class="t">'+itemname+'</span></a></li>');
this will open 1-level links in new window (or tab).
|
|
John C
|
Thanks it's working
|
|