Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Is it possible to add alt text?

Locked
parkerjnc
Posts: 15
Joined: Wed Sep 05, 2012 5:15 am

Is it possible to add alt text?

Unread post by parkerjnc »

Is it possible to add alt text (aka hover text or tooltip) to objects? The idea being that if you hover over an object and/or its label you would get a little bit more explanation of the purpose of that object.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Is it possible to add alt text?

Unread post by admin »

parkerjnc,

Add this to the JavaScript section of a form..

Code: Select all


function nuLoadThis(){

   document.getElementById('cus_name').title = 'Enter Customer Name';

}


Steven
parkerjnc
Posts: 15
Joined: Wed Sep 05, 2012 5:15 am

Re: Is it possible to add alt text?

Unread post by parkerjnc »

Thanks for the tip. :D This works well. I'm still trying to get used to nuBuilder and all the cool ways you can interject JavaScript and html code. Extremely extensible.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Is it possible to add alt text?

Unread post by admin »

Cheers.
Locked