- Posts: 16
- Thank you received: 0
Browser Page Control
- cpaddon@q.com
- Topic Author
- Offline
- New Member
-
Less
More
5 days 18 hours ago #16664
by cpaddon@q.com
Browser Page Control was created by cpaddon@q.com
Hi Dima,
Every time I click on a group menu item to activate a place marker or overlay, the page automatically returns to the top of the page. Is there any way to disable this action.? It's very annoying to have to scroll back down to the map.
Thanks,
Christopher
Every time I click on a group menu item to activate a place marker or overlay, the page automatically returns to the top of the page. Is there any way to disable this action.? It's very annoying to have to scroll back down to the map.
Thanks,
Christopher
Please Log in or Create an account to join the conversation.
- Dima
-
- Offline
- Platinum Member
-
3 days 5 hours ago #16668
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Browser Page Control
Hi Christopher
Check browser console for errors
I think there is an error, which cause to page scrolling
Check browser console for errors
I think there is an error, which cause to page scrolling
Don't forget support my developments: post review in JED , donate , help with translation

Please Log in or Create an account to join the conversation.
- cpaddon@q.com
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
2 days 21 hours ago - 1 day 23 hours ago #16671
by cpaddon@q.com
Replied by cpaddon@q.com on topic Browser Page Control
Hi Dima,
Unfortunately, I cannot detect an error on the browser page. Research in other Joomla forums suggest the following:
...the default event for # is just to jump up to the top of the document.
To prevent this from occurring:
Pass the event into the function, and use preventDefault();
$(".comment-here").click(function(e){
e.preventDefault();
$(".comment-form").slideToggle('slow');
})
$(".main-btn.orange").click(function(e){
e.preventDefault();
$(".comment-form").slideUp('slow');
})
You could also use return false; instead, which goes a bit further than just preventing the default event, it will stop events bubbling up to parent elements.
I'm completely lost as this is way above my pay grade. Can I fix it with a template over ride? Any suggestions?
Unfortunately, I cannot detect an error on the browser page. Research in other Joomla forums suggest the following:
...the default event for # is just to jump up to the top of the document.
To prevent this from occurring:
Pass the event into the function, and use preventDefault();
$(".comment-here").click(function(e){
e.preventDefault();
$(".comment-form").slideToggle('slow');
})
$(".main-btn.orange").click(function(e){
e.preventDefault();
$(".comment-form").slideUp('slow');
})
You could also use return false; instead, which goes a bit further than just preventing the default event, it will stop events bubbling up to parent elements.
I'm completely lost as this is way above my pay grade. Can I fix it with a template over ride? Any suggestions?
Last edit: 1 day 23 hours ago by cpaddon@q.com. Reason: corrected smiley
Please Log in or Create an account to join the conversation.
- Dima
-
- Offline
- Platinum Member
-
2 days 8 hours ago #16674
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Browser Page Control
Can you give me direct link to your page with map?
I'll check it
I'll check it
Don't forget support my developments: post review in JED , donate , help with translation

Please Log in or Create an account to join the conversation.
- cpaddon@q.com
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
1 day 23 hours ago - 1 day 23 hours ago #16678
by cpaddon@q.com
Replied by cpaddon@q.com on topic Browser Page Control
I tested it with some alternative browsers and had the same result.
Here's the link:
titaniclifeboatacademy.org/coverage-map?...externalmarkerlink=0
Thank you so much for your help!
Here's the link:
titaniclifeboatacademy.org/coverage-map?...externalmarkerlink=0
Thank you so much for your help!
Last edit: 1 day 23 hours ago by cpaddon@q.com. Reason: corrected smiley
Please Log in or Create an account to join the conversation.
- Dima
-
- Offline
- Platinum Member
-
1 day 10 hours ago #16679
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Browser Page Control
Hi
In browser console I can see error
Uncaught TypeError: fv_link.addClass is not a function
Check my docs
wiki.zhuk.cc/index.php/Zh_GoogleMap_Desc...patibilityModeAnchor
Just set in component options "Compatibility mode" to JQuery (if in your page JQuery is enabled) or Internal
In browser console I can see error
Uncaught TypeError: fv_link.addClass is not a function
Check my docs
wiki.zhuk.cc/index.php/Zh_GoogleMap_Desc...patibilityModeAnchor
Just set in component options "Compatibility mode" to JQuery (if in your page JQuery is enabled) or Internal
Don't forget support my developments: post review in JED , donate , help with translation

Please Log in or Create an account to join the conversation.
Time to create page: 0.300 seconds