Shape 5

General Category => Wordpress Talk => : cwebmaster September 23, 2014, 09:47:56 AM



: s5_page_scroll content flash problem
: cwebmaster September 23, 2014, 09:47:56 AM
This problem happens 90% of the time with chrome/ie11 and occasionally with firefox. If you are viewing the very top of the page it always works.

If you make one of the links in a menu to an id (#s5_top_row2_area1 for example in the BigPicture theme) it puts an onclick="s5_page_scroll(#s5_top_row2_area1 )" on the <a> and turns the puts href="#". Whenever you click on this link from a different location on the same page you get a quick flash of the loading location and then the page scrolls as normal. If I remove the href="#" the scroll works as normal.

Do I need js that goes overthe menu and removes href='#' ? If anybody else has had this problem and knows an easy fix please let me know!

You can see the problem on http://www.mastervibe.com/ while using chrome.


: Re: s5_page_scroll content flash problem
: Tristan Rineer September 24, 2014, 07:45:21 AM
I see you also have a Joomla membership; are you having the same issues with Joomla as well, or only WP?


: Re: s5_page_scroll content flash problem
: cwebmaster September 24, 2014, 07:48:01 AM
I have not tried this on a Joomla site and only know about the problem with wordpress.


: Re: s5_page_scroll content flash problem
: Tristan Rineer September 24, 2014, 07:54:14 AM
In that case, it most likely has something to do with the way WP handles menu generation.  Your idea of using javascript to fix it seems to make the most sense; I'm not a javascript programmer, but I'll forward this thread to someone who might be able to help.


: Re: s5_page_scroll content flash problem
: Tristan Rineer September 25, 2014, 06:02:34 AM
I've been told to have you replace vertex/s5flex_menu/flexmenu.walker.php with the one in the attached zip file.  Please let me know if that works; if it does, I'll be upgrading the patch with that file.