Log In · Register

 
"view more" "see more", clicking to see more info
goofipinay
post Jul 22 2009, 07:43 AM
Post #1


can't believe I let people call me Lynne on here 5 yrs ago o
****

Group: Member
Posts: 243
Joined: Oct 2004
Member No: 54,591



I hope I can explain this right...
On some sites, I remember seeing (I guess fake?) links that if you click them (usually saying "more..." or something), more info pops up underneath, moving everything else down...
Then if you click a different one (on the same page) the info that popped up before disappears, everything moves up, and info on whatever you clicked on shows up.

Does that make sense?

I searched some things, but I didn't exactly know what to search for, ya know? mellow.gif
 
 
Start new topic
Replies
goofipinay
post Jul 22 2009, 08:33 AM
Post #2


can't believe I let people call me Lynne on here 5 yrs ago o
****

Group: Member
Posts: 243
Joined: Oct 2004
Member No: 54,591



ah, okay I see
yea it was 4,5,6


I think I found another one ?
I'm messing around with it before I mess around with those, to see which ones I like best =]
Thanks! (that was fast! haha)

CODE
<script type="text/javascript">
function toggleMe(a){
var e=document.getElementById(a);
if(!e)return true;
if (e.style.display == "true") {
    e.style.display = "block"
}
else {
    e.style.display = "none"
}
return true;
}
</script>

<a href ="#" class=menutoggle" onclick="return toggleMe('para1')">[see more]</a>
<p id="para1">
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
</p>


okay it doesn't quite seem to be what I want...
do you know how to get it to work all on one link/button ?

edit again:

okay, I got it :) thanks
Reason for edit: Please use [code] tags instead of [quote] tags when posting codes. - Mike
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: