The forum of the forums
Welcome on the Forumotion Support Forum.

To take full advantage of everything offered by our forum, please log in if you are already a member or join our community if you're not yet....



Create a free forum like this one.

Cool Color Changer

View previous topic View next topic Go down

Cool Color Changer

Post by Leeloo on August 10th 2010, 1:27 am

Cool Color Changer



Hello ForuMotion Users! Today I will be teaching you how to make a cool color changer on your forum. As of right now, it can only work with colors, but I should get it to work with images by playing with it. Anyway, here is an example of what it looks like:



The code is a mouse over code, which means the color will change when you scroll over the image. Now here is how to do this:

Step 1. Click on Modules.


Step 2. Scroll down to HTML and click HTML pages Management.


Step 3. Click Create a new HTML page.


Step 4. Add the code! You can change the color and/or image to whatever you want!

Code:
<a href="" onmouseover="document.bgColor='#2B60DE'"<img src="http://i191.photobucket.com/albums/z301/lastfmbadges/black.png" />


NOTE!: Do not change the "onmouseover" to "onclick." This code will not work with "onclick."
Click here for HTML color codes



Here are examples of sites using this code:
Example 1
Example 2


Exclamation This tutorial was written by KingOfSports for ForuMotion.com. The code was fully developed by KingOfSports for thefacebookforum.net. Exclamation



Leeloo
Administrator
Administrator

Female
Posts: 3511
Language: French, English
Points: 3977
Join date: 2007-09-04

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum