I have a client who wants a specific function on their website and I'm a bit stumped how to do it.
Basically, if you check out their existing site you can see 4 round buttons.
What they want is for when someone hovers (or clicks if using an iPad) over one of the buttons the line of text below, that currently says "Professional Sign Language Interpreting, Consultancy, and Logistics", changes to something else.
So for example, if they hover over the "Phone Us" button, "Professional Sign Language Interpreting, Consultancy, and Logistics" would change to "Call Us : +44(0) 999 999 9999"
What would be the best way to go about that?
Edit
I'm currently using this code that I found on another thread;
$('.button').bind('hover', function() {
// suppose <a id='about' class='menu'> tag
$('p.tagline').hide(); // hide all texts
$('#tag-' + this.id).show(); // show the one with id=text-about
});
Which works fine.
Is there a way I can make it work on click OR hover and possibly fade in/out instead of just switching?
Any help would be most appreciated.