tabs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm creating a "portal" type web app and i want to use a "tab" appearance for
navigation. How can i create a "tab" look navigation system for my portal?
 
I too am writing an application with tabs. Wrote mine "by hand" - some HTML
in a user control, and pass a variable to the UC with the current tab. Bit
basic I know but it does the job :o)
 
Not exactly tabs per se but I accomplished this by using buttons (!).

I put them all right next to each other in a user control, added a
method that changes the active tab and then used CSS to differentiate
(I basically made the button's bottom border go away and made its
background color the same as the page's and bolded the text so it looks
pretty much like a tab, even though it's just a button). The non-active
'tabs' have a totally different background and have all their borders.

It works, even though it may not be perfect.

James
 
Hmm.. never gave that one a thought! Guess that's my ASP roots coming through
:)

Another way of doing the tabs might be to use the Tab control that comes
with the IEControls thingy from ASP.NET - don't know if that's the link that
Steve gave - haven't checked.
 
The only problem with the IE Tab control is that it's not cross-browser
compatible - of course, if that's not what you're striving for, then it
doesn't matter. :)

James
 
Back
Top