We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Text Change
Topic Started: Jul 7 2011, 01:29 AM (340 Views)
Numark
Member Avatar
Member
[ *  *  *  *  *  * ]
Board Address: Private
Board Software: ZB
Description: I think this should be relatively easy to do but I was wondering if it would be possible to create a small code that would enable this:


Code:
 
Link Text <img>


And when you click on the small image the link changes to another link. So for example I would have three predetermined links in order and hte button would act as a next button. So I would have Link Text 1 (button). Once you click on the button/image Link Text 2 (button) would appear.






Edited by Numark, Jul 7 2011, 01:29 AM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<div onclick="this.innerHTML='TEXT 2'" style="cursor: pointer; display: inline-block">TEXT 1</div> <img src="IMAGE_URL" alt="ALT_TEXT" />
Try that.
Offline Profile Goto Top
 
Minato
Member Avatar
Let Me Be With You
[ *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic