External Menu item

  • virgil00
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #25374 by virgil00
External Menu item was created by virgil00
I would like to create an external menu item in the main menu. I added a menu item, made sure that the external link was selected but it doesn't work. I have included a link and you should be able to see the last menu item called "Login".

www.jobstrak.com

I need to create an external link in the main menu that goes to a separate website. Can you please help.

Thanks!

-Kimo

Please Log in to join the conversation.

More
11 years 11 months ago #25382 by ivan.milic
Replied by ivan.milic on topic External Menu item
Open:

/templates/hot_one_page/js/hot_onepage.js

replace:

jQuery(".scroll, .mp_topmenu a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});

with:

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

Then use " external" for "Link CSS Style" in menu item settings for such menu items
The following user(s) said Thank You: virgil00

Please Log in to join the conversation.

  • virgil00
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #25384 by virgil00
Replied by virgil00 on topic External Menu item
This worked perfectly. Thank you very much.

Please Log in to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum