Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Create a link with target #83

Open
lilicipute opened this issue Aug 6, 2014 · 8 comments
Open

Create a link with target #83

lilicipute opened this issue Aug 6, 2014 · 8 comments

Comments

@lilicipute
Copy link

Hi,

I am using the basicjs version and I fail to create a simple link.

I suppose I have to replace link: '#' by link: 'mypage.htm' in basicjs.js but it is not working... I can read the link in the statut bar of IE or FF but it does not load.
Moreover, I would like to define a target. Is this option avalaible ?

Thank you in advance, and sorry for spelling errors, I am learning english...

@Photospirit
Copy link

Hi,
I have the same issue with version 2. Links are not working in the menu. So I switched back to version 1 and then it works.
Cheers, chris

@Photospirit
Copy link

ok found the setting for version 2. In the jquery.multilevelpushmenu.js set the option "preventItemClick:" from true to false.

@OneHoopyFrood
Copy link

Thank you @Photospirit , that helped me.

To the maintainers: I think this is a bit of a silly option, and certainly shouldn't be set true by default.

@FrankHouweling
Copy link

I agree, also thought this was a bug. I would find setting this to false by default a good adjustment.

@sveliz
Copy link

sveliz commented Apr 7, 2015

Hi, @Photospirit i tried no modify that Option in the file jquery.multilevelpushmenu.js and the jquery.multilevelpushmenu.min.js, and i doesnt work, do u know if i have to change other option.

Thank you.

@Photospirit
Copy link

Hi sveliz,
I was using it on V2 only. Not sure what version you are using. In the meantime, I'm using a different menu anyway which is similar/same to the one here: http://tympanus.net/codrops/2013/08/13/multi-level-push-menu/

Might be an alternative to try...
Cheers, Chris

@sveliz
Copy link

sveliz commented Apr 8, 2015

Hi @Photospirit , Thanks for the quick reply, i have used the version 2 and i add an option to the next code and it Works Great:

<script> $(document).ready(function(){ // HTML markup implementation, overlap mode $( '#menu' ).multilevelpushmenu({ containersToPush: [$( '#pushobj' )], preventItemClick: false }); }); </script>

See that i add preventItemClick: false and that's all

Thanks.

@Coop56
Copy link

Coop56 commented Feb 8, 2016

I used this as well - setting preventItemClick to false solves the issue and allows you to use a menu item to link to a new tab.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants