Source language: Translate to:

global styles

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

global styles

Postby TinTin » Wed May 13, 2015 11:33 am

Any chance we could set styles for complete pages and all elements on a page?

I wan't to hide mouse cursor on a specific page, but having to set style on all elements is quite long process.. as opposed to setting that style for the specific page.

Just a heads up for future version..

If anyone knows if I can do it with JS at the moment I would appreciate it.

Ta
TinTin
 
Posts: 162
Joined: Sun Dec 06, 2009 4:03 am
Location: UK

Re: global styles

Postby Gaev » Wed May 13, 2015 11:41 am

TinTin:

I haven't tried this ... but since the C in CSS stands for Cascading ... you might try and place all your widgets inside a Container ... and assign the appropriate property to the Container ... perhaps the child objects will all inherit this property.
User avatar
Gaev
 
Posts: 3728
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: global styles

Postby TinTin » Wed May 13, 2015 11:49 am

Thanks Gaev,

Actually thinking back I think that does work as I did have some elements within a container and it did apply to all within (for transparency from memory) I'll give it a go with the hide cursor property and report back for others who may need to do something similar.

cheers
TinTin
 
Posts: 162
Joined: Sun Dec 06, 2009 4:03 am
Location: UK

Re: global styles

Postby TinTin » Wed May 13, 2015 11:55 am

works a treat! thanks :-)
TinTin
 
Posts: 162
Joined: Sun Dec 06, 2009 4:03 am
Location: UK

Re: global styles

Postby Neosoft Support » Wed May 13, 2015 2:18 pm

Similarly, you can also use the App Properties > Styles page to modify css properties of a specific page. For example:

#NewPage2 {
cursor: crosshair !IMPORTANT;
}

Of course, some objects have their own css properties that will supersede the page's css.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 1 guest