Home > Structure > English > special tags > advancedparser tags > if_in_folder

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>

 

 You can specify more than one infoid separated with coma without spaces. In this way you can easily apply one style to more then one folders.

 

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 Webservices (factline5)
factID: 1249100.14 (...history); published on 10 Aug. 2010 09:27
 
Shortcuts:
Structure  >  English  >  special tags  >  advancedparser tags