Top 7 link and text effects using javascript/css
In this article I will run through my favourite ways of enhancing links and text on your website using Javascript and CSS. I don’t recommend the use of these all the time. Only on small website in certain scenarios are they appropriate due to slowing down the speed of your website and often many have accessibility issues. Having said that they are very cool and I hope your like them. If you have any others you would like to suggest please post a comment and I will add it to the list.
-
Scrollovers

This was the first javascript linking effect I came across. I used to use it a lot on headings. Great little tool which makes your links flip over when you roll over them. Give it a try!
-
Jquery/Mootools Link Nudging

I only discovered this neat trick a couple of weeks ago on David Walsh’s website (fantastic source of information). When you hover over a link the link moves to the right by increasing the padding-left using javascript. Give it a try!
-
Links With Icon Cues

This was the first javascript linking effect I came across. I used to use it a lot on headings. Great little tool which makes your links flip over when you roll over them. Give it a try!
-
Menu Fading

I also just recently came across this effect. It can be very versatile and create some really wonderful effects. There is a great tutorial on CSS Tricks showing how to implement the effect. Give it a try!
-
Javascript Text Replacement

This is an extremely powerful and useful tool. It gives you the ability to use non-standard fonts on your website without the use of flash or any images. A truly amazing piece of code. There are many different versions of this out there. I suggest checking out cufon because its so easy to set up. Give it a try!
-
CSS Only Grunge Text

This is a pretty cool and simple effect. Basically you create a grunge PNG image. Then on your headers or the text you want to use simply position the PNG over the top. Trying reading the following link for the code to use it. Give it a try!
-
CSS Only Gradient Text

Another simple trick just link the grunge only text. This time you just create a 1px wide PNG and do the same effect. Webdesigner wall has a great article about it which will explain to completely along with multiple demos and example code. Give it a try!
Like this post?
If you liked this post and want to keep up-to-date with the website, please consider subscribing to our rss feed or following us on twitter.
Want to learn CSS fast?
Sick of reading tutorial after tutorial? Just want to learn CSS quickly and simply? Why not try lynda css screencast tutorials. You can learn everything you need to know about CSS in one place. The website is a great learning resource for all languages, CSS included. Why not check the website out for more details.




thanks, it is very useful tutorial ,I have submitted a link of this article to our website in order to share it with more people. check:
http://www.webmasterclip.com/story/top-7-link-and-text-effects-using-javascriptcss
Thanks for that Edward. Im glad you liked the article. You website looks great, I will be sure to check back on it.
so good !
i like it thanks
Is it possible to add a link to the revealed image? I tried just adding the link before the code for the image – but then nothing worked. Love the effect, though!
Couldn’t figure out why it wasn’t working either. Changed the facebox.js and now I got smile on my face. Thanks for posting this.
hi im working with this example but it doesn´t work in my computer,
after putting the information in the boxes i click in submit and appears
\nReply-To: \”".ucwords($_POST['first_name']).”\” \nX-Mailer: PHP/” . phpversion() ); } ?>
in the bottom, what can i do??
Thank you
This is very cool, however when I hit submit in chrome, the error message or confirmtion are opening in new page instead of in facebox. Any ideas?
Because you did not check / correct the paths to jquery.x.x.x-min.js and jquery.form.js in the head of index.php
Fantastic tut, many thanks.
I too am having an issue with the success or failure message showing in a new window in Safari(only).
I see you suggest to check the paths to the relevant js files. These must be correct because it works in all the other browsers, please can you give me some ideas as what to change. Many thanks
I have found out how to fix safari
Never put and/or tags to the remote file (html, php)
what contains the modal-form
It is really good and it worked for me too but is not model how can we make it model.
I mean to say if click outside the area of Facebox DIV it will go disappear I need something like until I press close button or ESC key it should not go.
this works great..I am using this contact form..But the thing is the mail at the receivers side is very ordinary.. so how can we make that in table with some background color…? can any one plzzz
cooool
this is really helpful!
HHIS I sohuld have thought of that!
the email will be gererated again if the user can click the submit button. any method to resolve this? possible to disable the button once successfully sent or close the facebox?