2 Replies - 620 Views - Last Post: 09 June 2012 - 11:44 PM

#1 toraza  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 08-June 12

jquery fix issue

Posted 09 June 2012 - 01:58 PM

I want to enhance the jerkness of jquery on my site
check below
pligg. marsgibson. info
remove spaces
see the first two stories first one expands smoothly but the second one does not first one has just one line of text in the expanded body so I wonder if that is key difference as all others have two lines or more in the expanded text (and dont expand as smoothly).

how to fix this

My jquery
jQuery(document).ready(function(){
	jQuery(".toggle_container").hide();
	 jQuery("p.trigger").click(function(){
	jQuery(this).toggleClass("active").next().slideToggle("slow");
toggle_container.stop(true, true).delay(900).slideDown('slow');
toggle_container.stop(true, true).delay(900).slideUp('slow');


	});
});





My style.css
pligg. marsgibson. info/ templates/ wistie/ css/ style. css
remove spaces

Is This A Good Question/Topic? 0
  • +

Replies To: jquery fix issue

#2 e_i_pi  Icon User is offline

  • = -1
  • member icon

Reputation: 801
  • View blog
  • Posts: 1,700
  • Joined: 30-January 09

Re: jquery fix issue

Posted 09 June 2012 - 04:11 PM

I didn't notice any significant difference. Sometimes Javascript slows down on slow computers, or when a computer is running a lot of applications at a time. Have you tried shutting down all applications except the browser?
Was This Post Helpful? 0
  • +
  • -

#3 toraza  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 08-June 12

Re: jquery fix issue

Posted 09 June 2012 - 11:44 PM

Please see again
when click the plus sign
jquery element comes down smoothly then jumps (when expand)
just after "Read more"
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1