Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-22-2009, 01:31 PM   #1
dial
Confirmed User
 
Join Date: May 2006
Location: wherever you aren't
Posts: 1,225
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
dial is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2009, 01:40 PM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
try changing return true; for it
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2009, 01:49 PM   #3
dial
Confirmed User
 
Join Date: May 2006
Location: wherever you aren't
Posts: 1,225
Quote:
Originally Posted by fris View Post
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
dial is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2009, 01:55 PM   #4
drocd
Confirmed User
 
Join Date: Aug 2007
Posts: 128
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
drocd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2009, 02:15 PM   #5
dial
Confirmed User
 
Join Date: May 2006
Location: wherever you aren't
Posts: 1,225
Quote:
Originally Posted by drocd View Post
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
dial is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.