473,405 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Tab navigation with a User Control?

How would one implement a nav bar, that looks like folder tabs across
the top of the page, in a User Control? It's the tab visibility part I
can't figure out, not the User Control part.

Would you have two images for each tab, one for the selected tab and
another if it's in the background (not selected)? Is this the best way
to do it?

It would be nice if it had some mouseOver behavior. I could do this
with Macromedia Fireworks, but I'd prefer a .NET solution.

Thanks for your help
Nov 18 '05 #1
1 1431
Jon
Hi,
I'm sure there's lots of ways - the way I do it is use a <ul> with
display:inline for the tabs and some css to set a different background
colour onmouseover. You can then stick the whole menu in a user control -
the code would just be something like
<ul>
<li><a id="link1" href="page1.aspx">page 1</a></li>
<li><a id="link2" href="page2.aspx">page 2</a></li>
etc.....
</ul>
Advantage of CSS is there's no images or script - so quick to build, easy
to maintain and fast to download. If it helps I can throw together a quick
example.

Jon

"Bruce W.1" <no@direct.email> wrote in message
news:40***************@direct.email...
How would one implement a nav bar, that looks like folder tabs across
the top of the page, in a User Control? It's the tab visibility part I
can't figure out, not the User Control part.

Would you have two images for each tab, one for the selected tab and
another if it's in the background (not selected)? Is this the best way
to do it?

It would be nice if it had some mouseOver behavior. I could do this
with Macromedia Fireworks, but I'd prefer a .NET solution.

Thanks for your help

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alex S Moore | last post by:
My brain must have stopped working today. I cannot get this to work and am missing something that is probably obvious. A user control used for page navigation on a few screens has a few of...
2
by: David K. | last post by:
My question concerns C# Windows Forms user controls. I have created navigation user control. It gets the parent control's CurrencyManager to its bindable property. In the control, any change in...
3
by: David K. | last post by:
My question concerns C# Windows Forms user controls. I have created navigation user control. It gets the consumer application parent control's (a Form) CurrencyManager to its bindable property. In...
1
by: Dave | last post by:
I've built a custom server control that reads an xml file and builds a left side navigation system. When I drop that server control into a user control that will hold the left side navigation for...
5
by: Trisha | last post by:
I have a navigation user control navig.ascx that redirects to respective pages based on webcontrols.linkbutton clicks using response.redirect. I would like to control the look and feel of those...
2
by: rhungund | last post by:
Hi all. I have a user control I'm using as my "include" file for my flash navigation. My asp.net app is written in vb.net. The swf file takes a parameter which I would like to pass into my user...
3
by: fernandezr | last post by:
I have a navigation user control built using a sqlsitemap in our site's master page. After a user logs in the control doesn't refresh the data in the leftside navigation links. I found I can...
2
by: Charles Law | last post by:
I'll kick myself when you tell me, but ... I have a user control on a form, and I want the user control to see the arrow keys when I press them. If I press just about any other key the control's...
2
by: shapper | last post by:
Hello, I created a web user control, named Navigation, in my web site and added it to a page using LoadControl: Protected WithEvents ucNavigation As Navigation =...
0
by: burledivya | last post by:
Hi Every one, Iam Divya working as developer. I had some issues. In my 2 years this is the first forum i saw which is very active in posting the answers. I hope you could solve this also. Here...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.