gregcool Posted March 7, 2006 Share Posted March 7, 2006 I am not quite sure how to word what I am looking for in order to find it via searches.I am creating a page for my clan on Halo 2. For the members page, I would like to try to show their pic/name, then when they click on the pic, I want to expand out their profile info in the same general area (don't want to open a new page, but want to be able to hide and expand their profiles). Could anyone give me any recommendations on this, or maybe some different ideas. Really just need to know what to search for.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/4347-question-about-hiding-and-expanding/ Share on other sites More sharing options...
obsidian Posted March 7, 2006 Share Posted March 7, 2006 well, you'd need to use javascript for that, so i'll move this topic to that forum as you'll probably get some more accurate responses for what you're after there.basically, what you'll need to do is echo in the markup the entire profile for each user, but HIDE the div containing their profile initially using CSS. then, when they click on a corresponding image, simply change that div back to being visible. the tricky part is keeping track of which one is open so they can then click on the image again to hide the one that's open... Quote Link to comment https://forums.phpfreaks.com/topic/4347-question-about-hiding-and-expanding/#findComment-15109 Share on other sites More sharing options...
gregcool Posted March 7, 2006 Author Share Posted March 7, 2006 Thanks, I'll look into some javascripts. If anyone else as any ideas, that would be great, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/4347-question-about-hiding-and-expanding/#findComment-15118 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.