CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/30/2008 9:02:39 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
newbie2C#
Asp.Net User
Is there a visited property that can be used with the menu control?3/30/2008 9:02:39 AM

0/0

I am trying to use as much css as I can with the menu I am building. Is there a visited property that can be used to change the color of the items in my dynamic menu that have already been clicked on? Would this be controlled with the anchor properties?

It seems that some of the dynamic hover style properties had to be set in  the aspx code. I had some truoble controlling the presentation of the dynamic hover style of the dynamic menu. Am I not doing something right?

-thanks

YILDIRIMADIGUZE
Asp.Net User
Re: Is there a visited property that can be used with the menu control?3/30/2008 11:59:13 AM

0/0

dynamic hover style properties  also set in css files. You must check css friendly adapters for how changing the style of the menu content.

Amanda Wang - M
Asp.Net User
Re: Is there a visited property that can be used with the menu control?4/1/2008 5:58:11 AM

0/0

Hi,

newbie2C#:
Is there a visited property that can be used to change the color of the items in my dynamic menu that have already been clicked on? Would this be controlled with the anchor properties?

In fact, the menitem's text is a link at the render time, so you can define the link's visited style of the dynamic menu.

For example, define the DynamicMenuItemStyle's CssClass :

 <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
        <DynamicMenuItemStyle CssClass="item" />
        </asp:Menu>

Then you can define the link's style for the DynamicMenuItemStyle, like below:

<style type="text/css">

.item  A:link {text-decoration: none}
.item  A:visited {text-decoration: none}
.item  A:active {text-decoration: none}
.item  A:hover {text-decoration: underline; color: red;}

</style>

If I misunderstand you, please let me know.

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Visual Basic.NET by Example Authors: Gabriel Oancea, Bob P Donald, Robert P. Donald, Pages: 950, Published: 2001
Dreamweaver CS3: The Missing Manual Authors: David Sawyer McFarland, Pages: 995, Published: 2007
Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005 Authors: Matthew MacDonald, Pages: 1036, Published: 2006
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Internet and the Law: Technology, Society, and Compromises Authors: Aaron Schwabach, Pages: 395, Published: 2006
How to Do Everything with Windows Vista Authors: Curt Simmons, Pages: 362, Published: 2006
OOP: Building Reusable Components with Microsoft Visual Basic . NET Authors: Ken Spencer, Tom Eberhard, John Alexander, Pages: 491, Published: 2002
The Codewriting Workbook: Creating Computational Architecture in AutoLISP Authors: Robert J. Krawczyk, William J. (FWS) Mitchell, Pages: 272, Published: 2008
Pro .NET 2.0 Windows Forms and Custom Controls in C#: From Professional to Expert Authors: Matthew MacDonald, Pages: 1037, Published: 2005

Web:
Chapter 13 -- Implementing an ActiveX Menu Control Now that you've acquired your shiny new Menu Button control, you can access it from the ActiveX ... The method used to add menu items is called AddItem. ... Every ActiveX control has a parameter property called CodeBase, ... And users who visit your site regularly or who have visited another site with the same ...
ASP.NET Tutorial When used as a menu system, TreeNodes have NavigateUrl properties to link to pages and ... Recall from previous tutorials how an control can bind to an external ... SiteMapPath control for a breadcrumbs trail of visited links. .... there is the need to translate between these names and expected Text and ...
Menu control being affected by style sheet .. - ASP.NET Forums a:visited {color:black; text-decoration:underline; outline:none;} ... So, how can I apply specific properties to the Menu control and ... When I look at the source of the page being sent to the browser, there's styles generated, ... And then, I can see them being used on the page in the menu code, ...
ASP.NET.4GuysFromRolla.com: Creating CSS Friendly Websites with ... Nov 29, 2006 ... When visited by an "uplevel browser" ASP.NET Web controls render HTML 4.0- compliant ... NET 2.0's control adapters can be seen with the ASP. ... Whether or not a control adapter is used depends on the settings in the ... The Menu control, for example, uses classes as opposed to inline styles when ...
Examining the skmMenu Server Control There are also some simple live demos of skmMenu in use: ... NET Menu Server Control, a menu can be defined recursively like so: a menu is a set of ..... NET page is visited, a TextBox control is added to the Page's Controls collection ... This template needs to be used for all properties whose value can be easily ...
Bad Tags | HTML Dog So you might think you're using the good tags, but there are a few pesky ... The CSS color and background-color properties can do this just as well when applied ... could be used within the body tag to specify the colour of links (non- visited, ... Tables will indeed allow better presentational control over the CSS ...
Hyperlink colors conflict with menu control - ASP.NET Forums Again, tried skin for menu plus a:link, a:visited, ... Seems that only when used in body tag does the link definitions not override the menu definitions. .... there are two values in the menu definition - do they both map to a:hover? ... This way, the hyperlink property of the Menu control would ...
CSS Menu Writer - Help Documentation Menu styles and designs can be further modified by changing settings in the Box, Type, and Design tabs. .... Link: Applies to links that have not yet been visited. ... The border column in the Menu Level control, when All is ... and export styles to be used in Menu Writer on other machines. ...
SitePoint Forums - Background image with menu control make link and visited the same look,set the background-color ... I don't like dynamic/popup menus any away, so I only used them when it's really needed ... You can even add custum properties / attributes the SiteMapNodes in the Web ... You cannot use the cssclass attribute on a Menu control that has ...
Links - Lesson 6 | Free CSS Tutorial | HTML.net A link can have different states. For example, it can be visited or not visited. ... This can also be used to create an effect for links: ... If you change the underlining and color of links there is a good chance that users will get ... As you will recall from lesson 5, the property text-decoration can be used to ...




Search This Site:










bulk email using windows services

how to read content from a page

comparevalidator issue: rise the date value to compare

what event can i catch this exception: 'ddlnames' has a selectedvalue which is invalid because it does not exist in the list of items.

passing multiple values to navigateurl in an asp:hyperlink control

call sub after search

how to select date from calendar control?

control load at runtime

popup calendar question

need to print in landscape

asp.net and jscript questions

how to: attach re: to subject

how i display my information..

add javascript event to a usercontrol

build error? i think its a handle? related to a control.

change xmleditgrid properties

htmlinputfile - moving the associated button

code to encrypt the password or any string

vb messagebox.show("message") in aspx ???

download files from image bank

cdonts

enabling button but not firing server side click event

crystal report report format

menus in asp.net

how to prevent users from choosing the first item in a dropdown list

sorting one ddl depending on another ddl

calendar control selectionchanged

display html in a textbox

buttons just stop working

how to have an injected i.e. dynamically added control always appear at top of a page?

  Privacy | Contact Us
All Times Are GMT