Hi Klaus,
Is there an attribute to set a border to the area? I have tried with <area border="2" ...> but it seems border does not exist.
Also, trying to answer a thread from machart (new approach for widescreen presentation) I have made a working border to the area in this way:
<!-- border -->
<plugin name="border_top" url="border_x2.png" enabled="false" align="lefttop" edge="lefttop" />
<plugin name="border_bottom" url="border_x2.png" enabled="false" align="leftbottom" edge="leftbottom" />
<plugin name="border_left" url="border_x2.png" enabled="false" align="lefttop" edge="lefttop" />
<plugin name="border_right" url="border_x2.png" enabled="false" align="righttop" edge="righttop" />
<!-- action to set the border of the area -->
<action name="set_border">
set(plugin[border_top].width,get(area.width));
set(plugin[border_bottom].width,get(area.width));
set(plugin[border_left].height,get(area.height));
set(plugin[border_right].height,get(area.height));
</action>
Display More
Here an example working with this code: http://andorra360.com/test/ForumKrpano/machart/area.html
It is ok.
But, before using this working border code, I was using the same code with the plugins aligned in a different way... Like this:
<!-- border -->
<plugin name="border_top" url="border_x2.png" enabled="false" align="top" edge="top" />
<plugin name="border_bottom" url="border_x2.png" enabled="false" align="bottom" edge="bottom" />
<plugin name="border_left" url="border_x2.png" enabled="false" align="left" edge="left" />
<plugin name="border_right" url="border_x2.png" enabled="false" align="right" edge="right" />
<!-- action to set the border of the area -->
<action name="set_border">
set(plugin[border_top].width,get(area.width));
set(plugin[border_bottom].width,get(area.width));
set(plugin[border_left].height,get(area.height));
set(plugin[border_right].height,get(area.height));
</action>
Display More
Here an example working with this code: http://andorra360.com/test/ForumKrpa…er_problem.html
Here, the sides of the border have a strange behaviour... if you try to resize the browser, when the area.width or area.height are odd, the corresponding border does not match the entire area.width or area.height.
Is it a bug?
Anyway, I like the new area feature... It gives a lot of new possibility. Great
Thank you Klaus.
SAlut.