hamster
Posts: 12
|
| Posted: 02/24/2008, 11:24 PM |
|
Hi
How would I change the style of the tabs?
I need the tabs to be on the left side vertical and not top horizontal.
I tried playing around with css files
(Js->yui -> build-> tabview -> assets folder and edit the tabview.css and border_tabs.css) and managed to get kinda close
any ideas?
|
 |
 |
wkempees
|
| Posted: 02/25/2008, 4:46 AM |
|
Ok, so what I did to solve your challenge:
1: Opened HelpFile and searched for TabbedView, read the explanation and
clicked the Yahoo link
2: Read all the info on TabbedView on Yahoo page.
Specially the how and what as well as the skins section.
Because that was als my first thought, it must be in the CSS.
Well reading the stuff at Yahoo and thinking that they could not heft left
out anything as important as this, I searched the page for the word
'orientation'as that is a term used in horizontal vertical lef right
portrait landscape and so on.
It turned out to be sooo easy....
Design page as described by CCS, place TabbedView, Place Tabs, add content
You should now have a working tabbedView, if not correct that first.
Open your page in HTML view
find the lines:
//TabbedViewPanelYahooTabbedView Start @3-FA1CB63C function
TabbedViewPanelYahooTabbedView_start() {
or similar, and change them to this
//TabbedViewPanelYahooTabbedView Start @3-FA1CB63C function
TabbedViewPanelYahooTabbedView_start( {orientation : 'left'}) {
That's it.
I have tried to add this to the 'features' property of the TabbedView, but
no luck so far.
Walter
"hamster" <hamster@forum.codecharge> schreef in bericht
news:247c26d19ac93b@news.codecharge.com...
> Hi
>
> How would I change the style of the tabs?
> I need the tabs to be on the left side vertical and not top horizontal.
>
> I tried playing around with css files
> (Js->yui -> build-> tabview -> assets folder and edit the tabview.css and
> border_tabs.css) and managed to get kinda close
>
> any ideas?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
wkempees
|
| Posted: 02/25/2008, 4:49 AM |
|
Possible values:
{orientation : 'top'} - default
'left', 'right', 'bottom'
|
|
|
 |
hamster
Posts: 12
|
| Posted: 02/25/2008, 5:11 AM |
|
HI
I tried... {orientation : 'left' }
and it worked perfectly! I hope you'll solve yours soon..
thanks
|
 |
 |
wkempees
|
| Posted: 02/25/2008, 3:49 PM |
|
I have some more news for u.
Created TabbedView.
Panel1
Tab1
Tab2
(with or without the altered orientation).
Now on Tab1 using GridBuilder (from examples) build Grid on Countries (no
update).
On Tab2 do the same using directory_categories.
Generate or LivePage
Page opens, Tab1 is default opened, Countries table showing, click
Next,Next, all is well
Switch to Tab2, Directory_Categories is showing, click Next.
Anyone knows how to, from BeforeShow of the Tab (I think) set or reset
:active ?
(Ajax / Java or PhP)
Walter
(why O why is this not standard behaviour in CCS)
"hamster" <hamster@forum.codecharge> schreef in bericht
news:247c2be832c891@news.codecharge.com...
> HI
> I tried... {orientation : 'left' }
>
> and it worked perfectly! I hope you'll solve yours soon..
> thanks
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
ReneS
Posts: 225
|
| Posted: 02/26/2008, 3:26 AM |
|
Bump, please see Walter's last post, anyone?
Rene
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 02/28/2008, 4:29 PM |
|
Bump
I now know I need some experienced JS'er to aid us.
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
andrefogelman
Posts: 117
|
| Posted: 02/29/2008, 1:13 PM |
|
This is an issue that I raised with support and it was sayed that it would only be supported in CCS 4.1.
Yahoo tabbed view does have a method for switching progrmatically but it does not work in CCS.
If you look at the online example of ajax features this problem is present.
Choose to insert a new record and you are not switched to the appropriate tab to insert data.
Support said that I should use a html tab instead of the ajax built in to attain the features that we are discussing.
|
 |
 |
wkempees
|
| Posted: 02/29/2008, 3:15 PM |
|
Thanks for the info, working on a solution but will take time.
Walter
"andrefogelman" <andrefogelman@forum.codecharge> schreef in bericht
news:247c8757db89d0@news.codecharge.com...
> This is an issue that I raised with support and it was sayed that it would
> only
> be supported in CCS 4.1.
> Yahoo tabbed view does have a method for switching progrmatically but it
> does
> not work in CCS.
> If you look at the online example of ajax features this problem is
> present.
> Choose to insert a new record and you are not switched to the appropriate
> tab
> to insert data.
> Support said that I should use a html tab instead of the ajax built in to
> attain the features that we are discussing.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
andrefogelman
Posts: 117
|
| Posted: 03/05/2008, 8:48 AM |
|
Please have a look at:
http://blog.davglass.com/files/yui/tab7/index.php#tab3
I was no able to make this work either. Maybe I lack the knowledge
|
 |
 |
|