I'd like to start making profiles that allow you to click to view different pieces of text/images. An example of this is like on this profile: [x]. I was wondering if anyone could either explain how it's done, or link me to a website that explains it. I've tried googling but I can't quite find what I'm looking for. I'd like to know how the user made it so that you click on the treasure chest to display the treasure, as well as clicking the "weeks" to change the image. Thank you! xx
Looks like it's done using anchors! Check out the first solution on this page. You should be able to style each div however you want in the CSS to add transitions, positioning etc. :)
(What are the chances that when I post this I'll have been ninja'd again? :P)
Haha. Let me know if you have any problems with it :)
//headdesk
Nope. I'm confused. ;-;
So, this is the html I need to use:
a
Aand, this is the css:
, {
display:none;
:target{ display:block;
Yeah? And then. Uh. No. I don't know what next. Where does the image go that I want to be "clickable" and where does the text go what I want to display when the image is clicked? ;-;
The image goes within the anchor link, and the text you want to display when clicked goes in the div. So it should look like this:
I don't think you need the class="page" bit unless you're also styling things by class. ;)
once wrote a short section on this here [topic not found]
it's under Advanced: Anchor links. Maybe it'll help!