dropdowns have disappeared
-
Tobias, we seemed to have lost our dropdown boxes across all tables. Most notably, it can be found here: http://www.willburt.com/products/light-towers/ez-specs/fold-down/. Do you know if maybe a plug-in update caused this or did you update the shortcode for the Column Filter Widgets extension? I figured I should ask you first before I consult the web developers. Wonderful plug-in by the way, I can’t say that enough. Thanks again!
-
Hi,
thanks for your question, and sorry for the trouble.
This is caused by some JavaScript code for Google Analytics that you have placed at the top of your page:
var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, 0); function () { document.location = url; } }); }That function contains a syntax error which stops the execution of all remaining JS on the page.
Regards,
Tobiasthank you so much for the response Tobias. I’ll take a look at the code and straighten everything out. Thanks again for your help.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
TobiasWell, I’m still having some issues. I removed the Google Analytics code from my header.php and still don’t have the dropdown menus. I can’t seem to find the Google Analytics code anywhere else through out the site so I’m hoping that I perhaps missed it somewhere. However, when I go to the website and right-click and select “view source”, the Google Analytics code is gone.
Is there another string of code that could be affecting this or perhaps the Google Analytics code is located somewhere else other than header.php? Thanks for all of your help Tobias.
Hi
for me, that JavaScript code from above is still in the page, when I use “View Source”. That’s what you’ll have to find and fix or remove.
Regards,
TobiasThanks for your response Tobias. That string of code has been in there for over a year and hasn’t caused any problems up until last week. I removed the code last week but still couldn’t get the dropdowns back so I put the code back in to maintain our analytics tracking.
We’re currently working to figure out why the string of analytics code is all of a sudden conflicting with the plug-in.
Thanks Tobias!
Hi,
it’s not that JS code causing a conflict with TablePress, it’s that JS code having some sort of syntax error.
That simply stops the execution of all other JS in the page.To me, it appears that the line
function () {is missing something at the beginning. I suggest to check this with the original source of this JS code.
Regards,
Tobias
The topic ‘dropdowns have disappeared’ is closed to new replies.