The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Need Help In JQuery Reply To: Need Help In JQuery


Hey Amanda,
Thankyou. I have created this and working fine but when i switch it from desktop to mobile view (CRLT Shift M firefox) or mobile to desktop it did not work without pressing refresh button.

<script type=”text/javascript”>
$(document).ready(function($) {
if ($(window).width() < 767) {
$(“.large–three-twelfths .folloter-li-box1”).hide();

` //Expand or collapse this panel

//Hide the other panels
$(“.large–three-twelfths .folloter-li-box1”).not($(this).next()).slideUp(‘fast’);



I want it to work on all resolution without doing any refresh.
Thankyou again.