I'm a school teacher trying to get a web page update working doing a drop-down menu.
The code works at http://hms.sps.lane.ed u but the update that uses more css, including "navigation body" "wrapper" and "header" at http://hms.sps.lane.ed u/new/, the drop-down menu only works in IE. I don't understand enough of css to debug this.
Hoping someone can help. -
#navigation-wrapper {
-
float: left;
-
margin-left: 42px;
-
width: 205px;
-
font-size: .8em;
-
}
-
#navigation-header {
-
height: 12px;
-
background-image: url(../images/nav-header.gif);
-
background-repeat: no-repeat;
-
background-position: top;
-
}
-
#navigation-body {
-
background-image: url(../images/nav-bg.gif);
-
background-repeat: no-repeat;
-
background-position: bottom;
-
}
-
#navigation-wrapper ul {
-
margin: 0;
-
padding: .5em 0 1em 2.25em;
-
}
-
#navigation-wrapper ul li {
-
margin: 0;
-
padding: 0 0 .5em 0;
-
list-style-type: none;
-
}
-
#navigation-wrapper a {
-
color: #1e7e1c;
-
font-weight: bold;
-
text-decoration: none;
-
}
-
#navigation-wrapper a:hover {
-
color: #0000FF;
-
}
-
#navigation-wrapper a:visited {
-
color: #1e7e1c;
-
font-weight: bold;
-
text-decoration: none;
-
}
-
.dropmenu {
-
position: absolute;
-
top: 0;
-
left: -500px;
-
background-color: white;
-
border: 1px solid #999;
-
border-bottom-width: 0;
-
font-family: Arial, Helvetica, sans-serif;
-
font-size: 10pt;
-
width: 155px;
-
font-weight: normal;
-
line-height: 14px;
-
z-index: 100;
-
}
-
.dropmenu ul {
-
margin: 0;
-
padding: 0;
-
list-style-type: none;
-
}
-
.dropmenu li {
-
display: inline;
-
}
-
.dropmenu a, .dropmenu a:visited, .dropmenu a:active {
-
width: 100%;
-
display: block;
-
text-indent: 3px;
-
border-bottom: 1px solid #999;
-
padding: 1px 0;
-
text-decoration: none;
-
font-weight: normal;
-
color: #1e7e1c;
-
}
-
.dropmenu a:hover {
-
background-color: #CCC;
-
color: #124C11;
-
font-family: Arial, Helvetica, sans-serif;
-
font-size: 10pt;
-
font-weight: normal;
-
line-height: 14px;
-
}
-
5 3645
The problem will lie with that you used IE to initially test this instead of one of the other more modern browsers hence the reason it doesn't work with them. You also have 119 XHTML errors but changing the doctype to HTML reduces that to 28 or so.
In your CSS, you have two errors from using "mso" properties which do not exist. And as long as I'm harping on you, tables should never be used for layout.
All that said, I would validate for that list of html errors, the most significant being misplaced tags for body and other elements. You get a hundred more errors using the xhtml doctype because that is case sensitive and other relatively minor problems that come from using that.
@drhowarddrfine
Thanks for the info and the quick response. I did some cleaning and removing of tables on the http://hms.sps.lane.edu/new/ site BUT the drop down menus are still only working in IE.
(I don't yet know how to format the 3 columns on the first page w/o using tables, but removed the tables in the navigation bar.)
After looking at this again, I think this might actually be a javascript issue. I'll have one of them look at it.
Dormilich 8,658
Recognized Expert Moderator Expert
the Error Console reports an unknown variable (jQuery is not defined, HMSjavascript.j s (line 245)) and tons of CSS errors with respect to some top/left statements.
the top/left statements require a unit to be passed*, not only a number. - function moveObjectTo(objectID,x,y) {
-
var el = getElement(objectID);
-
el.style.left = x + "px";
-
el.style.top = y + "px";
-
}
Hooray for Firebug!
* - there’s a crucial difference between "1px" and "1em" or "1%" …
@Dormilich
Woo hoo! That fixed it!!!! Thank you. I'm just a middle school teacher with only a little knowledge. I would NOT have found that. Thanks so much!
By the way, how do I fix those "tons of CSS errors with respect to some top/left statements" you mentioned? I don't know what that means?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: riehe |
last post by:
Dear all
I want to drop a node from a nodegroup. Can someone confirm if its
enough to redistribute a node group with a partition map which doesn't
include the node to be dropped?
I can't see any other way to drop node 3 from my setup of 5 nodes than
to make a partmap file, DNODE_tmap, formatted so
1
2
4
|
by: Ian Dobson |
last post by:
Hi, I need to drop a schema from a database but it has 400 tables in it.
Is there an easy way to do it other than
drop table schema1.table1
drop table schema1.table2
etc.. to 400 and then
drop schema schema1?
thanks
|
by: BuddhaBuddy |
last post by:
Platform is DB2/NT 7.2.9
The table was created like this:
CREATE TABLE MYTEST (
MYTESTOID bigint not null primary key,
FK_OTHEROID bigint not null references other,
FK_ANOTHEROID bigint not null references another,
FK_LASTLYOID bigint not null references lastly,
unique (FK_OTHEROID,FK_ANOTHEROID))
|
by: Lauren Quantrell |
last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.)
onto a field in Access2K and capture the full file path.
I found an posting below that says this is possible but I cannot
simutate it.
Can anyone help?
Thanks
**************************
previous post:
Message 1 in thread
|
by: WindAndWaves |
last post by:
Hi everyone,
Has anyone got any experience with drop and drag in Access?
I would like to make a calendar style form where my users can drop and drag
appointments....
I am using Access 2003 and I have access to .net and the like, but I would
really like to keep it simple.
| |
by: VB Programmer |
last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2
listboxes? Thanks!
|
by: Darren |
last post by:
I'm trying to create a file using drag and drop.
I want to be able to select a listview item drag it to the shell and create a file.
Each icon in the listview represents a blob in a database.
When I drop onto the shell I want a file created with a specified name containing the data from the database.
I've looked at the FileDrop format but it look to have only the filename and not the data.
TIA
|
by: uwcssa |
last post by:
I try to drop a table as:
I got: During SQL processing it returned:
SQL0478N The object type "TABLE" cannot be dropped because there is
an object "sch.SQL070515104729271", of type "FUNCTION", which depends
on it. SQLSTATE=42893
Then I tried to do
|
by: Thi |
last post by:
Hi,
I am trying to develop an application that allows the users to drag a few
file(s) from a zip archive to a destination.
My question is, how do i determine where the drop destination is because i
need to do some validation checking before extracting the files from the zip
archive (e.g. validate archive password).
Any help or some sample codes would be very much appreciated.
|
by: Romulo NF |
last post by:
Greetings,
I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with drag&drop on the same page (which was not possible). Now i´ve a new concept of the script, more object oriented.
I´ve also commented the whole code so you guys can easier understand it engine.
What exactly we need when trying to make a column drag &...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |