Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Mouseover enlarges text

NY2CA
Level 3
Level 3

Is there a way to blow up (enlarge the contents of a text box field) on mouseover and have it return to normal size after mouse moves off the field? I want to do this for effect and easier reading.

/Thanks.

3 Replies
Niall_O_Donovan
Level 10
Level 10

Hi,

You could use script in the mouseEnter event:

this.font.size = "16pt";

This may also change the font size of the caption (from memory), so you might need this:

this.font.size = "16pt";

this.cpation.font.size = "10pt";

Then on mouseExit event:

this.font.size = "10pt";

Hope that helps,

Niall

NY2CA
Level 3
Level 3

Hello Niall,

Thanks again! I was wondering if there was a way instead of increasing the font but have the field or text box isteld increase in size or pop-up larger on mouseover and go back to original size on mouseexit?

Happy Holidays.

Niall_O_Donovan
Level 10
Level 10

Hi,

Have a look at this example, in particularly on the last two pages. http://assure.ly/g80MVY

Hope that helps,

Niall