Home > Structure > English > special tags > advancedparser tags > if_in_folder
A newer version of this fact exists. (view)

if_in_folder
 

<if_in_folder 123456.0>.......</if_in_folder>

 

You can change the platform appearance by using this tag. For example, if you open a folder you may want that the left frame color changes or whaterver other stylelistic change happens.

 

This example shows a style tag, that is originally included in the header of a factline platform. The border color is changing every time a specified folder is opened:

 

<style>
.platform .leftframe {
    border-right: 8px solid #BABDCD;
<if_in_folder 282194.0>
    border-right: 8px solid #B2B2B2;
</if_in_folder>
<if_in_folder 282203.0>
    border-right: 8px solid #f0e285;
</if_in_folder>
<if_in_folder 282741.0>
    border-right: 8px solid #D7C6D7;
</if_in_folder>
<if_in_folder 282938.0>
    border-right: 8px solid #e7e38c;
</if_in_folder>
}
</style>

 

info3 - 125057.2
You can use this tag only in html mode and at the very beginning of the html text you should type <advancedparser/>! 

 

 




Metainfo:
Author: Webservices GmbH factline; Copyright: factline Webservices GmbH; Published by: factline GmbH (factline6)
factID: 1249100.8 (...history); published on 21 Oct. 2008 17:19
 
Shortcuts:
Structure  >  English  >  special tags  >  advancedparser tags