Any javascript experts around here?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dial
    Confirmed User
    • May 2006
    • 1225

    #1

    Any javascript experts around here?

    having an issue with a theme from http://www.elegantthemes.com/ that I bought...and their support is taking too long to answer...GFY is just SO damn quick

    this is the theme

    http://www.elegantthemes.com/preview/ArtSee/

    now, see the right sidebar up top, the about us drops down, right?

    here is the javascript for that slider thing http://www.elegantthemes.com/preview...e/js/slider.js - specifically these lines
    Code:
    $(document).ready(function(){
    
    	$(".btn-slide2").click(function(){
    		$("#panel2").slideToggle("slow");
    		$(this).toggleClass("active"); return false;
    	});
    	
    	 
    });
    how do I make it so that about us slider is open when the page loads?
    boom chicka wah wah
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55679

    #2
    try changing return true; for it
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • dial
      Confirmed User
      • May 2006
      • 1225

      #3
      Originally posted by fris
      try changing return true; for it
      nopw, that didn't work, but here is an pretty damn cool theme for your efforts

      http://www.wpthemespress.com/ikarus-...-2000-options/
      boom chicka wah wah

      Comment

      • drocd
        Confirmed User
        • Aug 2007
        • 128

        #4
        Try this:
        Code:
        $(document).ready(function(){
        	$(".btn-slide2").click(function(){
        		$("#panel2").slideToggle("slow");
        		$(this).toggleClass("active"); return false;
        	});
               $("#panel2").slideToggle("fast");
               $(".btn-slide2").toggleClass("active");
        });
        230-699

        Comment

        • dial
          Confirmed User
          • May 2006
          • 1225

          #5
          Originally posted by drocd
          Try this:
          Code:
          $(document).ready(function(){
          	$(".btn-slide2").click(function(){
          		$("#panel2").slideToggle("slow");
          		$(this).toggleClass("active"); return false;
          	});
                 $("#panel2").slideToggle("fast");
                 $(".btn-slide2").toggleClass("active");
          });
          you fucking rock!
          boom chicka wah wah

          Comment

          Working...