[2.0.20] Fading Links

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply

Rating:

Excellent!
37
65%
Very Good
10
18%
Good
2
4%
Fair
2
4%
Poor
6
11%
 
Total votes: 57

AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

[2.0.20] Fading Links

Post by AbelaJohnB »

MOD Name: Fading Links
Author: Chance
MOD Description: Allows your hyperlinks to change color with mouseover javascript


MOD Version: 2.0.4 (Updated 04/14/06)

Download File: fading_links_204b.zip
mods overview page: View
File Size: 4858 Bytes

Security Score: 0

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version in the topic title. It may not work in any other versions of phpBB.
Last edited by AbelaJohnB on Mon Apr 30, 2007 12:28 am, edited 1 time in total.
AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB »

MOD Validated/Released :mrgreen:



Personal Notes:
I've removed mine from the MOD Database, to accommodate this one. .... I like it better <smile>
quentin
Registered User
Posts: 197
Joined: Tue May 20, 2003 7:30 am
Location: Geneva, Switzerland
Contact:

Post by quentin »

a stylish mod still working great in 2.06.
Thumbs up :D

Quentin
The largest message boards on the web !
Web Design Library (coming soon)
Friends sites: Heroes of might and magic - Biometric security
evighet
Registered User
Posts: 34
Joined: Thu Jul 24, 2003 2:07 pm
Location: Helland
Contact:

Post by evighet »

hey! Which part of the java exactly do I edit to change the default colours? heh, I'm not exactly java fluent!

thanx

-Evighet
Image
Chance
Registered User
Posts: 62
Joined: Tue Dec 11, 2001 3:33 am
Location: Ohio

Post by Chance »

By default, this uses the link and hover-link colors specified by the style.

Code: Select all

In overall_header.tpl:

<script language="JavaScript">
startColor = "{T_BODY_LINK}"; // MouseOut link color 
endColor = "{T_BODY_HLINK}"; // MouseOver link color 

</script>
If you want to change the colors it uses, you can either change these colors in your theme Or, you can edit this part of Overall_header.tpl and replace "{T_BODY_LINK}" and "{T_BODY_HLINK}" with any hexidecimal color values. For example, if you wanted to use a combination of greens, you could change it to:

Code: Select all

startColor = "#556B2F"; // MouseOut link color
endColor = "#8FBC8B"; // MouseOver link color
Scootersponge
Registered User
Posts: 27
Joined: Thu Sep 25, 2003 11:27 pm
Contact:

Post by Scootersponge »

Good
User avatar
alsakrah
Registered User
Posts: 166
Joined: Wed Dec 04, 2002 7:54 pm
Contact:

Post by alsakrah »

very cooooool mod
djwins
Registered User
Posts: 92
Joined: Thu May 01, 2003 7:06 pm

Post by djwins »

Can someone explain what this mod does?
Chance
Registered User
Posts: 62
Joined: Tue Dec 11, 2001 3:33 am
Location: Ohio

Post by Chance »

When you hover your mouse over a link, it will cause the color of the link to "fade" from its current color to whatever is defined as the "endColor". When the mouse moves off of it, it fades from the "endColor" to the "startColor".

[edit] ** NOTE: This MOD will have NO affect for users running a browser OTHER than Internet Explorer
kaimelar
Registered User
Posts: 42
Joined: Mon May 19, 2003 10:34 pm
Contact:

Post by kaimelar »

Very fun mod! I love the links like this :D thanks!
User avatar
websteve
Registered User
Posts: 18
Joined: Sun Sep 07, 2003 3:10 pm

Post by websteve »

Chance wrote: When you hover your mouse over a link, it will cause the color of the link to "fade" from its current color to whatever is defined as the "endColor". When the mouse moves off of it, it fades from the "endColor" to the "startColor".

[edit] ** NOTE: This MOD will have NO affect for users running a browser OTHER than Internet Explorer


This is the problem i'm having at the moment. Some links on my skin are different colours, but they fade to the "endColor" of the script.

Is there any way around this? apart from making them the "endColor" of course...

http://www.nothingspecial.net/ilmt/phpBB2/index.php if anyone wants to take a look. It's the category titles that are the problem...

ps. Great mod you've got there :) Looks great on all the other links.
User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Post by drumstix42 »

Not to critisize the mod, because I like it and use it.

But I know I've seen a MOD used that makes the link fade to a color and back again, over and over.

I'm not sure if it 'was' another mod, or if it was just this one and edited...

Just wondering, would it be easy to edit this mod to make it fade backand fourth, or would there have to be a different function made for that?

Thanx for any input :)
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )
clickhere
Registered User
Posts: 35
Joined: Sun Jun 29, 2003 5:07 pm
Contact:

Not working for me

Post by clickhere »

Why does the startColor = "#2AAAA"; // MouseOut link color endColor = "#EEEEFF"; // MouseOver link color text show up on my page? I have actually CCP the code from a forum that uses the code, so I know I am using the correct code. It works when I use it in an html file, but it is not working with the overhead_header file.
User avatar
dr_winston
Registered User
Posts: 31
Joined: Tue Oct 28, 2003 8:58 am

Post by dr_winston »

I'm being stupid I know, but when it says to "copy fade.js to fade.js", what does this mean? Where should I upload the fade.fs file?

thanks
User avatar
dr_winston
Registered User
Posts: 31
Joined: Tue Oct 28, 2003 8:58 am

Post by dr_winston »

sorted, thanks.
Post Reply

Return to “[2.0.x] MOD Database Releases”