Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Adding Yellow Fade
I have just read a post over at YourTotalSite that gives you a quick and dirty way to add the Yellow Fade Technique to any anchor which appears at the end of the URL string. So, Im hoping I can use it to highlight the latest post in a thread (as the link from the discussion list ends #item_x).
Its basically just a JS file, but I cant seem to get it to work. The JS file is here:
http://www.36-degrees.co.uk/assets/YellowFade.js
the example is here: http://www.36-degrees.co.uk/assets/YellowFadeExample.html
and the original article is here:
http://www.yourtotalsite.com/archives/javascript/yellowfade_technique_for/Default.aspx
Cheers
Stuart.
0
This discussion has been closed.
Comments
<?php /* Extension Name: YellowFade Effect (For Stuart) Extension Url: http://michaelraichelson.com/hacks/vanilla/ Description: Adds the YellowFade effect on some stuff. Version: 0.1 Author: Michael Raichelson Author Url: http://michaelraichelson.com/ */ if(in_array($Context->SelfUrl, array("index.php", "categories.php", "comments.php", "search.php", "post.php", "account.php", "settings.php"))){ $Head->AddScript("./js/YellowFade.js"); } ?>
$Head->AddScript()
is how all the other JS is referenced when a page is built from what I'm looking at.Do you have the .js file in the vanilla js directory or somewhere else?
Is it named with the Caps in the file name (YellowFade.js)?
1 sec.links for everything are over here