![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
need some html work done.
I am trying to make a "more info" link open up a table under a set of cells of a toplist that will show more info of a site. I seen pimproll do this in the members area but couldn't break the code up and make it work myself
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
|
Would something as simple as this work?
Code:
<a href="#" onclick="document.getElementById(infodiv).style.display = 'block';return false;" title="">more info</a> <div id="infodiv" style="display: none;">stuff</div>
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
possibly.. will test it in a sec.. thanks
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
|
oops, sorry - forgot quotes around the id. should be
Code:
<a href="#" onclick="document.getElementById('infodiv').style.display = 'block';return false;" title="">more info</a> <div id="infodiv" style="display: none;">stuff</div>
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
almost.. now here is where i get picky..
I need it the open link to turn into a close link. also possibly something less dramatic when opening.. more like sliding open.. like a garage door coming down. but this will be a table opening the detail.. and click the link again.. and it closes. |
![]() |
![]() ![]() ![]() ![]() ![]() |