Welcome to Pintexx Forum Sign in | Join | Faq

pinTab

Started by YenChiuGu at 05-01-2006 10:21 . Topic has 1 replies.

Print Search
Sort Posts:    
   05-01-2006, 10:21
YenChiuGu is not online. Last active: 01.05.2006 08:28:25 YenChiuGu

Top 150 Posts
Joined on 05-01-2006
Posts 5
Scrollable tab & resize tab
Reply Quote
Hi ,
When I try to mix scrollable tab & resize tab, I found a problem about the two scroll buttons.
It will render two buttons at their position correctly at first. But I try to resize size of browser, position of two buttons is still at their old place. It doesn't follow changed size to adjust their position.

--YCG

HTML below is how I produce this situation.
------------------------------------------------------------------------------------------------------------------------------------------------
<html>
<head>
<script>

function tabCreate(objTab,id)
{

objTab.design = "1";
objTab.orientation = "0";
objTab.tabarea = true;
objTab.designmode = "IMAGE";
objTab.tabMode = "2";

var item = objTab.createItem();
item.text = "Common";
item.title = "Common";
item.active = true;
item.url = "../evaluation/p1scroll.html";
objTab.add(item);

var item = objTab.createItem();
item.text = "Options";
item.title = "Options";
item.active = false;
item.url = "../evaluation/p2scroll.html";
objTab.add(item);

var item = objTab.createItem();
item.text = "Misc";
item.title = "Misc";
item.active = false;
item.url = "../evaluation/p3scroll.html";
objTab.add(item);

objTab.create();
}

// this function is called when an item is clicked
function tabEventTabClick(objItem)
{
//alert("Item clicked: " + objItem.text);
}


</script>
</head>
<body style="margin: 10px; overflow:hidden;BACKGROUND-COLOR: #ece9d8">
<table width="100%" height="100%" border=0>
<tr>
<td height="1%"><div style="font-family: arial;font-size:12px;">The tabstrip is resized if browser is resized:</div>
</td>
</tr>
		  <tr>
<td>
<iframe id="tab" style="WIDTH: 100%; HEIGHT: 100%"
src="tab/pinTab.html?id=tab" frameBorder="0"></iframe>
</td>
</tr>
</table>
</body>
</html>



   Report 
   05-01-2006, 2:01
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: Scrollable tab & resize tab
Reply Quote

Hi,

thank you for this hint.
This is indeed a bug.

Regards,
Hans-Peter


   Report 
Pintexx Forum » Developer Produ... » pinTab » Re: Scrollable tab & resize tab