From 1d653f00893bd611a908a5e6f261bec626cc2eeb Mon Sep 17 00:00:00 2001 From: "hewitt%netscape.com" Date: Wed, 6 Sep 2000 07:50:49 +0000 Subject: [PATCH] #46613 - windows classic tab control, r=hangas git-svn-id: svn://10.0.0.236/trunk@78255 18797224-902f-48f8-a5cc-f745e15eee43 --- .../global/resources/content/tabBindings.xml | 45 +++++++++++++++++-- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/mozilla/xpfe/global/resources/content/tabBindings.xml b/mozilla/xpfe/global/resources/content/tabBindings.xml index 8096e4f06b8..10bbd106aac 100644 --- a/mozilla/xpfe/global/resources/content/tabBindings.xml +++ b/mozilla/xpfe/global/resources/content/tabBindings.xml @@ -65,12 +65,29 @@ ]]> + + + + + + + 1) { @@ -79,8 +96,10 @@ } else if (tabs.length == 1) tabs[0].setAttribute("first-tab", "true"); - this.selectedTab = tabs[0]; } + this.selectedTab = tabs[0]; + var o = this.getAttribute("orient"); + if (!o || o == "") this.setAttribute("orient", "horizontal"); ]]> @@ -97,7 +116,7 @@ - + @@ -142,6 +161,26 @@ if (!this.selected) this.selected = true; ]]> + + + + + + + + + + + +