Installing Fixed Anchor breaks anchor reference
-
Hi
I installed the plugin and all anchor links defaulted to the top of the i page instead of to the intended Alumni.
Note: I have currently deactivated it.
Is there a known conflict with 3-click themes?
the menu for this page is currently in bottom right position
http://www.cbaspeakersbureau.com/mlb-alumni
-
Hi,
sorry to hear that. There is no known conflict with 3-click themes, because we didn’t check this kind of themes before.
I guess the 3-click themes already implement button-click event(s) and therefore interfere with the Fixed Menu Anchor plugin. Is it possible to provide a link to the theme you use for my own tests? Can you describe how the 3-click themes work and how you want to implement our plugin into the theme?
Best,
k00niHi,
is this sufficient?
http://www.cbaspeakersbureau.com/mlb-alumniif you need login credentials, please send me a private email.
Thanks
MelHey,
i may was a little bit unclear about the information i need. On the link you posted i clicked on “Al Leitner” on the right list and it jumped directly to him, showing me that: https://postimg.org/image/61ri36to7/
Is that as intended? Is our plugin activated on that installation? If not, please do, so that i can check it out.
Thanks and sorry for the inconvenience.
k00niif you need login credentials, please send me a private email.
Please don’t. It’s something that is actively discouraged and plugin authors should not take anyone up on that offer.
Thanks Jan, I was not aware.
Hi k00ni,
I have cloned the site for testing and activated the plugin here:
http://www.cbaspeakersbureau.com/mlbtest/mlb-alumni/Mel
Thanks for sharing the new link. I found the bug and will publish a new version in the near future (probably today).
Could you please check it with the new version and post, if it fixes your problem?
Thanks,
k00niThank you!
Yes, I will be glad to test and post.Best,
MelHey Mel, is the new release helping you?
Hi k00ni,
the new release is working perfectly:
http://www.cbaspeakersbureau.com/mlb-alumni
see links on right sidebar to test.Thank you!!!
Hi k00ni,
I made some changes on MLB list on this page:
http://www.cbaspeakersbureau.com/mlb-alumni
I turned it into a select option drop down and added code, a function, to respond to the on select event.Now the Fixed Anchor no longer works. The MLB alumni disappears under the fixed header.
Any suggestions?
Thanks in advance.Hi Mel,
interesting approach to use Fixed Menu Anchor š
Without seeing your implementation, i guess the click event does not carry the anchor-name or href properly.
Please have a look in [1] (function fixedMenuAnchor_getTopValueOfAnchorTarget). It asks for the href and name attribute of the clicked element. If you can set that, it may work.
Can you paste/post me your code, which responds to the on select event?
Regards,
k00ni[1] – https://plugins.svn.wordpress.org/fixed-menu-anchor/trunk/js/fixed-menu-anchor.js
Hi k00ni,
the code is from the developer of the theme.function g1_custom_redirect_from_select() {
?>
<script>
(function($) {
$(document).ready(function () {
$(‘select#search-mlb-alumni-by-first-name, select#search-mlb-alumni-by-last-name’).on(‘change’, function() {
var $select = $(this);window.location.href = $select.find(‘option:selected’).val();
});
});
})(jQuery);
</script>Hi,
as i understand your code right, you using window.location.href to force a redirect. The target URL is the value of the selected option.
But that way our plugin can’t help you, because the browser reloads and will jump exactly to the anchor-target with the menu overlapping the anchor-target, which is the opposite of what you want.
Implementing the select box to work with the Fixed Menu Anchor plugin requires additional time and therefore can not be part of the general support, unfortunately. But, you can hire me to develop this. My contact mail is konrad.abicht@plugins-first.io
Kinda regards
k00niHi Mel,
i am closing this topic now and mark it as solved because your original problem was solved. For further questions don’t hesitate to open another topic.
Kinda regards,
k00ni
The topic ‘Installing Fixed Anchor breaks anchor reference’ is closed to new replies.