Hey Guys,
Problem in question can be seen on the right side of the pages linked - the right sidebar. Filter Category and Filter Date drop-downs.
I have a hidden container (.show-container) which shows when a user clicks on a link (.toggle-trigger).
On this page ( the toggle works correctly; the hidden container shows/hides itself when .toggle-trigger is clicked.
However, on this page ( we have the exact same code (as it is the exact same element pulled in via PHP) but the hidden container does not show/hide itself when .toggle-trigger is clicked.
I am aware that there is a problem with a different javascript file called aside-scroll.js and firebug shows the error as:
$("#scrollbox").offset() is null
[Break on this error] var top = $('#scrollbox').offset().to...ss('margin-top').replace(/auto/, 0));
Is it possible that the error in this JS file could be affecting the other JS file?
I am so confused at to why the javascript file in question (slide-toggle.js) would work on one page and not another.
Hope somebody have an idea!
Many Thanks,
Ali
Problem in question can be seen on the right side of the pages linked - the right sidebar. Filter Category and Filter Date drop-downs.
I have a hidden container (.show-container) which shows when a user clicks on a link (.toggle-trigger).
On this page ( the toggle works correctly; the hidden container shows/hides itself when .toggle-trigger is clicked.
However, on this page ( we have the exact same code (as it is the exact same element pulled in via PHP) but the hidden container does not show/hide itself when .toggle-trigger is clicked.
I am aware that there is a problem with a different javascript file called aside-scroll.js and firebug shows the error as:
$("#scrollbox").offset() is null
[Break on this error] var top = $('#scrollbox').offset().to...ss('margin-top').replace(/auto/, 0));
Is it possible that the error in this JS file could be affecting the other JS file?
I am so confused at to why the javascript file in question (slide-toggle.js) would work on one page and not another.
Hope somebody have an idea!
Many Thanks,
Ali