Menu not work

More
12 years 3 weeks ago #27995 by ivan.milic
Replied by ivan.milic on topic Menu not work
Try:
Code:
<a id="contact" name="contact" style="text-align: center;" >Contact Us</a>

and make sure link is #contact also remove " external" from menu item class
The following user(s) said Thank You: JohnSmithers

Please Log in to join the conversation.

More
12 years 3 weeks ago #28011 by JohnSmithers
Replied by JohnSmithers on topic Menu not work
Okay removing the " external" part made this work. Perhaps if you have time you could explain what this does exactly?

There was an instruction earlier to include this and that is why I would be particularly interested in this.

Great stuff. cheers

Please Log in to join the conversation.

More
12 years 3 weeks ago #28017 by ivan.milic
Replied by ivan.milic on topic Menu not work
If it has " external" that tell it that link is not targeting current page

Please Log in to join the conversation.

More
11 years 11 months ago #29624 by mojastran
Replied by mojastran on topic Menu not work
Hello,

I added menu item linked to article, followed your instruction and it works.

But I have the same problem (links not working) in hot-carousel-pro module, which is displaying articles.
Link to the article is the same as in menu. I presume this is also because of template settings. Please check zwcad.mojastran.net/ - carousel is placed in panel on the right side (aktualno).
Links in the panel on the bottom are ok.

Best regards

Please Log in to join the conversation.

More
11 years 11 months ago #29630 by ivan.milic
Replied by ivan.milic on topic Menu not work
Use this code:

jQuery(".scroll, .mp_topmenu a:not(.external)").click(function(event){
if(jQuery(this.hash)[0]){
event.preventDefault();
try{
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
}
});

Please Log in to join the conversation.

More
11 years 11 months ago #29637 by mojastran
Replied by mojastran on topic Menu not work
Thank you, it works.

:)

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum