GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Any javascript experts around here? (https://gfy.com/showthread.php?t=883301)

dial 01-22-2009 01:31 PM

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?

fris 01-22-2009 01:40 PM

try changing return true; for it

dial 01-22-2009 01:49 PM

Quote:

Originally Posted by fris (Post 15374005)
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/

drocd 01-22-2009 01:55 PM

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");
});


dial 01-22-2009 02:15 PM

Quote:

Originally Posted by drocd (Post 15374151)
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!


All times are GMT -7. The time now is 03:26 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123