Web Client

Customizing the Style of Native Tabs on Web Client

Many people like the default look of the native tabs in Smart Client, but don't like how the tabs style in Web Client.  So, using this code, you can add your own custom style to the native tabs in Web Client.  

Making Roll-Over Links in Web Client

Source: Bob Cusick, Servoy

OK - so I wanted to create links in Web Client that looked the default color, but then when hovered over, would change color and be linked to a method. Here's how it works in a nutshell - you need to have a CSS style that will undecorate the text when it's a link, and do underline it when it's rolled over. Then, you create some calculations to display the data and perform the method you want. Here's ONE WAY to do it:

Play a Movie from a Media Column

Uses the Servoy Blobloader to play a movie (or any file)  in the web browser. Set this calculation to display as HTML_AREA.

return "<html><a href='media:///servoy_blobloader?servername=udm&tablename=movies&dataprovider=movie&rowid1=" + 
        movie_id + "&rnd=" + Math.random() + "'>View Movie</a></html>"
Syndicate content