|
|
Frattoniser
new user
Reg'd: Tue
Posts: 2
|
|
I'm busy developing a new Flash website for my heating company and all looking quite how I want it at the moment apart from one issue. I have twelve images in three rows of four, which act as my menu. The titles of each roll up when hovered over, these are known as "button labels" and I need to have a couple with a line break, but the standard line break code </br> doesn't work and causes a syntax error when placed within the var command. Any ideas?
The var is as below in blue, didn't use the code tags as it took it all off the page:
var menu_label:Array = new Array
("WELCOME", "OUR SERVICES", "TESTIMONIALS", "GALLERY", "HEATING & HOT WATER", "SOLAR HEATING", "UNDERFLOOR HEATING", "BATHROOMS", "LATEST NEWS", "GAS SAFETY", "PRODUCT INFORMATION", "CONTACT" );
I need to break:
Heating & Hot Water
Underfloor Heating
Product Information
Thanks in advance for any help; please don't go too technical as I am still learning!
|
|
Sam
regular
Reg'd: Tue
Posts: 447
|
|
Have you tried \n ?
|
Frattoniser
new user
Reg'd: Tue
Posts: 2
|
|
Yep, tried that and it didn't work. Anyone else got any thoughts? Please?
|
|
|