WCF/WF - css pull down menu - does not clear columns (web page problem)

Asked By computervirusremoval computervirusremoval
15-Sep-08 01:02 AM

css pull down menu - does not clear columns (web page problem)


Using CSS menus

    I used CSS menus as PULL DOWN web pages menus

    so when you click on the YELLOW (black lettering), the BLACK (with yellow lettering) pulls down

    ie:    Home Page
             Map Espana

    Each COLUMN disappears when you go to the next column.

 

Here is the problem:


but when you click "stop the music"

the columns of menus STAY - they do not "refresh" and disappear to show the NEXT menu column

 

web pages with music:

http://www.3973cds.com/3973cdssidislimane.htm
http://www.3973cds.com/3973cdspartytime.htm
http://www.3973cds.com/3973cdspartytime2.htm
http://www.3973cds.com/3973cdshome.htm

 

reply  reply

15-Sep-08 02:07 AM

Hi,

Try to refresh webpage forcefully by form.Refresh() command.

-Paresh

if  if

15-Sep-08 07:39 AM
if form.refresh() did not work then try to look some problem in css file there may be some prob in .(dot )on that class or any other porb

standard2.css  standard2.css

15-Sep-08 08:27 AM

Here is my css page

this is called standard2.css

 

/* Use this page to overwrite styles found in standard1.css - do not change standard1.css */

 

#nav {
 padding: 0 0 0 10px;
 margin: 0;
 list-style: none;
 width: 825px;
 height: 20px;
 background:#ffff00;
 margin-bottom: 5px;
 
 }
 
#nav ul {
 padding: 0;
 margin: 0;
 list-style: none;
}

#nav a {
 display: block;
 color:#000000;
 text-decoration:none;
}

#nav li {
 font-family:Arial, Helvetica, sans-serif;
 color:#000000;
 background:#ffff00;
 font-weight:bold;
 float: left;
}

/*Drop down menu tags*/

#nav li ul {
 position: absolute;
 width: 125px;
 left: -999em;
 border: 1px solid #ffff00;
}

#nav li ul li {
 width:119px;
 font-family:Arial, Helvetica, sans-serif;
 font-size:10px;
 font-weight:normal;
 border-bottom: 1px solid #ffff00;
 clear:left;
 padding: 3px;
 background: #000000;
}

#nav li ul li a {
 color: #ffff00;
 background-color:#000000;
 display:block;
 }


#nav li ul li a:hover{
 color: #ffff00;
 background-color:#ccc;
 margin:0px;
 display:block;
}

#nav li:hover ul, #nav li.sfhover ul {
 left: auto;
}

/*End Drop down menu tags*/

.pic{
float:left;
padding:0 5px 5px 0;
}
.text{
clear:right;
padding-bottom:30px;
}

.story{
padding-bottom:50px;
}

input, button, select, textarea {
 font-family: verdana, arial, sans-serif;
 font-size: 12px;
 margin-top: 0;
 margin-bottom: 0;
 }

here is standard1.css - says do not make changes here  here is standard1.css - says do not make changes here
15-Sep-08 08:27 AM

/* Standard tag definitions */

/* DO NOT Use this page to overwrite styles found in standard1.css - use  change standard2.css */

 

p {
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 line-height: 150%;
 padding: 0px 10px 10px 0px;
 margin:0;
 }
 
h1 {
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 18px;
 color: #609;
 padding: 0px 10px 0px 0px;
 font-weight: bold;
 margin:0;
 }
 
h2 {
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 14px;
 padding: 10px 10px 0px 0px;
 font-weight: bold;
 margin:0;
 color: #609;
 }
 
h3 {
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 padding: 10px 10px 0px 0px;
 font-weight: bold;
 margin:0;
 color: #000;
 }
 
li {
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size:12px;
 line-height: 150%;
 }

a {
 color: #090;
 text-decoration:none;
 }
 
a:hover {
 color: #090;
 text-decoration:underline;
 }

hr {
 height: 1px;
 color: #ccc;
 background-color:#ccc;
 }
 
img {
 display: block;
 border: 0px none;
 }
 

/* ids for defining areas of the page and how they should be styled */

#boundary {
 width: 750px;
 margin:0px auto;
 border:0px none;
 }
 
#header {
 background-color:#fff;
 clear:both;
 width:750px;

 margin:0px auto;
 padding: 10px 0 0 0;
 }
 
#wordmark {
 display: block;
 float:right;
 padding: 0;
 border: 0px none;
 margin: 0;
 width: 170px;
 height: 50px
 }
 
#section_id {
 display: block;
 float:left;
 padding: 0;
 border: 0px none;
 margin: 0;
 width: 540px;
 height: 50px
 }

 
#content {
 clear:both;
 padding:0;
 }
 
#menu {
 background: #609;
 width: 744px;
 font-size: 11px;
 font-weight:bold;
 font-family: Arial, Helvetica, sans-serif;
 color: #fff;
 padding: 3px;
 text-align: left;
    margin: 0 0 10px 0;
 }
 
#menu ul {
 margin: 0;
 padding: 0;
 border: 0px none;
 text-align:center; list-style-type:none
 }
 
#menu li {
 font-family: Arial, Helvetica, sans-serif;
 font-size:11px;
 list-style: none;
 line-height:100%;
 margin: 0;
 padding-top: 0px;
 padding-left: 0px;
 display: inline;
 }
 
#menu li a:link {
 color:#fff;
 text-decoration: none;
 }
 
#menu li a:visited {
 color: #fff;
 text-decoration: none;
 }
 
#menu li a:hover {
 color:#c9f;
 text-decoration: none;
 }
 
/* Suckerfish insert */ 

#menu li ul {
 position: absolute;
 width: 10em;
 left: -999em;
}

#menu li:hover ul {
 left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {
 left: auto;
}

/* end Suckerfish insert */ 

#doubleleftcol {
 display: block;
 float: left;
 width: 548px;
 padding: 0;
 border: 0px none;
 }

#leftcol{
 float: left;
 width: 143px;
 border: 0px none;
 margin-left:0px; margin-right:5px; margin-top:0px; margin-bottom:10px; padding-left:3px; padding-right:0; padding-top:0; padding-bottom:0
 }
 
#leftcol ul {
 list-style: none;
 margin: 0;
 padding: 7px 0 0px 0px;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 }

#leftcol li {
 list-style: none;
 margin: 0;
 padding: 5px;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 11px;
 }

#centercol {
 float: left;
 width: 385px;
 border: 0px none;
 margin: 0;
 padding-left:3px; padding-right:3px; padding-top:0; padding-bottom:0
 }


#rightcol {
 float: left;
 padding: 0;
 width: 190px;
 border: 0px none;
 margin-left:5px; margin-right:0; margin-top:0; margin-bottom:0
 }
 
#rightcol ul {
 list-style: none;
 margin: 0;
 padding: 7px 0 0px 0px;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 }

#rightcol li {
 list-style: none;
 margin: 0;
 padding: 5px;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 11px;
 }

#sidebar {
 text-align: center;
 border: 1px solid #609;
 padding: 0 0 10px 0;
 width: 190px;
 margin: 0;
 }
 
#sidebar p {
 text-align:left;
 font-size: 11px;
 padding: 10px;
 }
 
#sidebar ul {
 font-size: 10px;
 list-style: none;
 margin: 0;
 padding: 0 3px 0 3px;
 border-top: solid #b4b4b4 1px;
 }

#sidebar li {
 text-align: center;
 font-weight:bold;
 list-style: none;
 padding: 3px 0 3px 0;
 margin:0px;
 display:block;
 border-bottom: solid #b4b4b4 1px;
 }

#sidebar li a:link {
 color: #609;
 text-decoration: none;
 margin:0px;
 display:block;
 }
 
#sidebar li a:visited {
 color: #609;
 text-decoration: none;
 margin:0px;
 display:block;
 }

#sidebar li a:hover {
 color: #fff;
 background-color:#609;
 margin:0px;
 display:block;
 }

#footer {
 display:block;
 float:none;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 10px;
 clear:both;
 border-top: 1px solid #609;
 padding: 10px 0 20px 0;
 width: 750px;
 margin-top: 20px;
 }
 
#footer p {
 padding-top: 10px;
 }
 
/* custom classes */

.alt {
 display: none;
 }

.caption {
 font-family:Geneva, Arial, Helvetica, sans-serif;
 font-size: 10px;
 }

.nav_about_box {
 background-color: #609;
 font-family:Arial, Helvetica, sans-serif;
 font-size: 11px;
 color: #fff;
 font-weight: bold;
 text-align: center;
 padding: 1px;
 }

.general_items {
 background-color:#eee;
 font-family:Arial, Helvetica, sans-serif;
 font-size: 11px;
 color: #000;
 font-weight: bold;
 text-align: center;
 padding: 0px;
 border-top: 1px solid #000;
 border-bottom: 1px solid #000;
 margin: 20px 5px 10px 0;
 }
 
.thumbnail {
 padding: 5px;
 }
 
.printalso {
 display:none;
 }

mouse event - display:block (not clearing)  mouse event - display:block (not clearing)
25-Sep-08 09:15 AM
By pointing me to 'mouse events' - I was able to find the section of code that handled the menu - and find the missing code:

see the THIRD display:block; below...

I had copied the code from another web site - which consistently handled menus in a great way. However, they only had ONE level of menus - they did not use pull down (or secondary) menus - thus they did not know they had an issue (or in this case, a walking time bomb).

#nav li ul li a {
color: #ffff00;
background-color:#000000;
display:block;
}


#nav li ul li a:hover{
color: #ffff00;
background-color:#ccc;
margin:0px;
display:block;
}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;
display:block;
}
Create New Account
help
How can we know a state of a thread? (A) What is use of Interlocked class ? (A) What is a monitor object? (A) What are wait handles? (A) What is ManualResetEvent and Webservices (B)What is an application domain? (B) What is .NET Remoting? (B) Which class does the remote object has to inherit? (I) what are two different types of remote using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object? (A) How will implement Page Fragment Caching? (B) Can you compare ASP.NET sessions with classic ASP? (B) Which are of using Query Strings? (I) What is Absolute and Sliding expiration? (I) What is cross page posting? 93 (I) How do we access viewstate value of this page in the next page ? (I) Can we post and access view state in another application? (I) What is SQL Cache substitution? Chapter 6: OOPS (B) What is Object Oriented Programming? (B) What is a Class? (B) What is an Object? (A) What is the relation between Classes and Objects? (B
cannot be used with indexers, destructors, or types. In C#, the static keyword indicates a class variable. In VB, the equivalent keyword is Shared. Its scoped to the class in which it occurs. Example a. Static int var / / in c#.net b. static void while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging enable the trace to true in the line in the html format of the page. %@ Page Language = ”vb” trace = ”true”AutoEventWireup = ”false” Codebehind = ”WebForm1.aspx.vb” Inherits = ”WebApplication2.WebForm1?> 2 Enable trace enabled = true. If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-provided calendar do you develop it? Do you copy and paste the code into each and every page of your application? Create the Calendar User Control The control we will create will contain
alot var Hi What are Master Pages in ASP.NET? or What is a Master Page? ASP.NET master pages allow you to create a consistent layout for the pages in your application. A single master page defines the look and feel and standard behavior that you want for all of the you want to display. When users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page. What are the 2 important parts of a master page? The following are the 2 important parts of a master page 1. The Master Page itself 2. One or more Content Pages Can Master Pages be nested? Yes, Master Pages
state = GetVisiblePanelName(); string panel = "Panel" + state + "Ticket" ; string TicketStatusID = "uxLookupField" + state + "TicketStatus" ; Panel pnl = ( Panel )Page.FindControl(TicketStatusID); DropDownList ticketStatus = ( DropDownList )pnl.FindControl( "LookupFieldTicketStatusDropDown" ); string TicketTypeID = "uxLookupField" + state + "TicketType" ; Panel pnl1 = ( Panel )Page.FindControl(TicketTypeID); DropDownList ticketType = ( DropDownList )pnl1.FindControl( "LookupFieldTicketStatusDropDown" ); I am trying to get the user control in LookupFieldTicketStatusDropDown. I am having difficulties so I will provide my ui code: <code> <% @ Page Title = "" Language = "C#" MasterPageFile = "~ / App_MasterPages / SIDWebClientMasterPage.Master" AutoEventWireup = "true" CodeBehind = "EditTicket.aspx.cs" Inherits = "KORE runat = "server" OnSelectedNodeChanged = "LeftNavTree_SelectedNodeChanged" / > < / asp : Content > < asp : Content ID = "Content4" ContentPlaceHolderID = "cphRight" runat = "server"> < div class = "content-body"> Features: &nbsp; < KORE : uxLookupTicketFeatures runat = "server" ID = "uxLookupTicketFeatures" / > < asp : Button ID = "btnSubmitFeatures" runat btnReOpenedTicketDevices" runat = "server" Text = "Devices" onclick = "btnReOpenedTicketDevices_Click" / > < / div > < table cellpadding = "0" cellspacing = "0" border = "0" class = "ThreeColumnLayout"> <!- - Field Row - -> < tr > <!- - Column 1 - -> < td class = "FormFieldLayoutCell ThreeColumnLabelCell"> < asp : Label ID = "lblReOpenedTicketNumber" runat = "server" Text = "Ticket #:" Font-Bold = "True"> < / asp : Label > < / td > < td class = "FormFieldLayoutCell ThreeColumnFieldCell"> < asp : Label ID = "lblReOpenedTicketNumberDisplay" runat = "server" Text = "-" Font-Bold = "True" CssClass = "FormFieldLayoutFormElement"> < / asp
Page Directive? What is the purpose of page directive in aspx page? Directive Syntax Directives are instructions used to specify settings (related to how a page should render and processed) used by the page and user control compilers when they process ASP.NET Web Forms page (.aspx) and user control (.ascx) files. These are the essential part of every ASP.NET Page or Control. Directives can be located anywhere in an .aspx or .ascx file, but the values, same as any HTML tag) that are specific to that directive. Special Note: The @ Page directive can be used only in .aspx files, and the @ Control directive can be used