PDA

View Full Version : some people can't view my css menu


Leilani
09-13-2006, 04:21 PM
I just put up a new css menu from opencube:

http://leilanimunter.com/index2.html

and apparently my sister and her co-workers, using IE 6.0, cannot see the menu. the rest of the site looks fine. i can see it on mine and a few others i have asked to look at it can see it.

can you tell me if you can see the menu?

and also what could be causing this problem.

Thanks!

Leilani
Life is short. Race hard.
http://leilanimunter.com

-i-dont-know-
09-13-2006, 04:40 PM
It's because the menu is JS. If users don't have JS enabled, they can't see it.

ascskate
09-13-2006, 04:48 PM
well first of all anyone who uses IE should be shot. no offense but come on. IE has problems with everything.

i see the menu but im using Firefox.
It's because the menu is JS. If users don't have JS enabled, they can't see ot. haha i see now. i never looked at her source. i just went by wat she said


used the W3 markup Validator and got this
http://validator.w3.org/check?uri=http%3A%2F%2Fleilanimunter.com%2F

no doctype!!!!!!!
27 Errors!

you need, i repeat need a doctype!!
http://validator.w3.org/docs/help.html#faq-doctype

and you should prolly try and fix those errors.


hope i could help.....somewhat


ascskate

Leilani
09-13-2006, 04:48 PM
is it common for people to not have js enabled?

can i change the script to make it more user friendly?

ascskate
09-13-2006, 04:51 PM
i wouldnt say its common but some people do.

and to answer your quesiton
can i change the script to make it more user friendly?

no not really. i mean im not an expert on java script but java script is java script so if they have it disabled then they cant see it period

you could try a flash menu. that would prolly be more compatabile.

just a thought


ascskate

Leilani
09-13-2006, 04:55 PM
okay i followed that link, do i just put this at the top of every page?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>

is this the correct thing to post? It says in the link you sent, that this is for common html.

where are the other 27 errors? how do i find those and fix? are they important to fix or is it not necessary? I am a amateur as you can tell...

-i-dont-know-
09-13-2006, 04:55 PM
About 93% of users have JS enabled.
Switch to a pure css one with no JS for maximum compatibilty, or atleast provide an alternative in <noscript> tags.

Leilani
09-13-2006, 04:57 PM
i don't know what doctype to post? I don't use a program, I just write the html by hand in notepad.......... can you tell me what doctype to use?

ascskate
09-13-2006, 04:59 PM
to fix the errors click on the link i gave you and it will tell you wat errors you had. then go into ur code and fix them, simple as that.

and yes that doctype should go at the verry top of your code. before any thing else!



and to i-dont-know- i would recommend the latter suggestion as she is a n00b. ;)


ascskate

-i-dont-know-
09-13-2006, 04:59 PM
You'd ideally want to use an xhtml one, but try this one:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


and to i-dont-know- i would recommend the latter suggestion as she is a beginner.
Ya, but you can get some good pre-made css menus:
http://css.maxdesign.com.au/listamatic/

ascskate
09-13-2006, 05:00 PM
and why not an XHTML???

ascskate

Leilani
09-13-2006, 05:00 PM
About 93% of users have JS enabled.
Switch to a pure css one with no JS for maximum compatibilty, or atleast provide an alternative in <noscript> tags.

1. how do i provide an alternative?

2. i used opencube's free css menus, I didn't know there were pure css ones and others, can you explain how I would know by the program which one's are pure css?


THANK YOU for your help!!!!!!

ascskate
09-13-2006, 05:02 PM
i would just go with the pure css ones. dont worry about the alterantive menu

in my opinon.


ascskate

-i-dont-know-
09-13-2006, 05:02 PM
1)Anything you put in <noscript></noscript> after your script tags will be shown if the user doesn't have JS enabled.
2)See link above^^^

and why not an XHTML???
You could go with xhtml, but then you'd have a load more errors to smooth out

ascskate
09-13-2006, 05:05 PM
i guess she should do that alternative menu
i recant my remarks from earlier. your right.

i hope i could help you Leilani.

but i -dont-know- prolly helped more.....:(



You could go with xhtml, but then you'd have a load more errors to smooth out
i use it, dont have any problems. maybe thats just me idk



ascskate

Leilani
09-13-2006, 05:05 PM
how can i tell if it is a pure css menu? i am using navigation studio, the free program that opencube used to offer. not their new one that you have to pay for. the menus from nav studio you can use for free as long as you link to opencube on every page.

sorry for all the questions, i go in circles for a living, and occasionally hit concrete walls at very high speeds, so I'm not very good at this computer stuff! :)

Thanks again

Leilani

-i-dont-know-
09-13-2006, 05:08 PM
The ones on here are pure css (and html obviously):
http://css.maxdesign.com.au/listamatic/
Try turning off JS, and see if a menu still works. If it does, then that is fine, if it doesn't then it uses JS in some part of it.

Leilani
09-13-2006, 05:08 PM
and to i-dont-know- i would recommend the latter suggestion as she is a n00b. ;)


ascskate


what is a n00b? do i want to know? code word for computer idiot? :D

ascskate
09-13-2006, 05:09 PM
haha, no problem.

btw i want your job....;)

umm about the pure css. it might tell you on the site your getting them from.
u can prolly Google "pure CSS menus" and find some stuff. worth a try


ascskate

ascskate
09-13-2006, 05:11 PM
no n00b means like a noobie or beginner.
dont worry everyone is called one for a while.

ascskate

Leilani
09-13-2006, 10:22 PM
1)Anything you put in <noscript></noscript> after your script tags will be shown if the user doesn't have JS enabled.


okay so everyone seems to agree that i should add a no script tag as an alternative, but what do I put and where? sorry you will have to walk me through this....

ps. asckate, you should come to the racing school i work at if you have the racing bug, http://fasttrackracing.com

Leilani
09-13-2006, 11:31 PM
i was just about to add that tag you gave me to all my pages, and i have this at the top of all of the ones i've checked so far:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML>


is that not enough? does it have to be the full tag you posted above?

erisco
09-13-2006, 11:42 PM
Leilani, your documents will be much more, obviously more, suitable for HTML 4.01 transitional than XHTML 1.0 Strict.

Having a pure CSS menu at this point would serve literally no purpose. People using IE cannot see your current Javascript one, but they cannot see pure CSS ones either. You can add a dash of javascript to enable them for IE users, but it seems beyond your needs to reconstruct your menu. So don't worry about it.

If you really are interested for readings sake: http://www.htmldog.com/articles/suckerfish/dropdowns/

So get that doctype on there, get the noscript tags in there, and fix the errors you have. If you really really want to have the menu working in internet explorer (there will be fixes for your current menu setup, but I don't personally know javascript or how your menu is structured) you could try the suckerfish dropdowns with the very short and sweet javascript fix for IE.

ascskate, given the current level Leilani is designing at, although I do it all the time, it would be premature at the moment to tear down the site to bring it to XHTML. Really on a practical note, browsers still support HTML 4.01, no worries.

If you do want to learn more about XHTML Leilani, let me know

Leilani
09-14-2006, 12:04 AM
hi erisco, your icon photo is framed in my house, love that picture. thank you for your feedback.

this is the doctype tag that was suggested to me in this discussion:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

this is the one that is already up on all of my pages, and has been from the beginning:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML>

if this one that is already there is okay, i don't understand why i am being told that i have no doctype???

also, i don't know what i need to post in the noscript tags-- what or where i put them???

Thanks for your help, this n00b appreciates it!

Pegasus
09-14-2006, 12:39 AM
Leilani, the doctype you have now, the shortened version, does strange things to IE. If you use the full doctype, the one suggest, then it'll force IE to be standards-compliant and, hopefully, work as it should.

Don't quote me on it, because I'm not that well versed in Javascript, but I believe it goes just under your </script> tag. You can put a basic menu in there in HTML and it'll show for anyone who doesn't have Javascript enabled.

*lol* Oh, and while it's nice of you to offer, the disgusting truth is that these guys will have to wait a few years before they can attend your driving school. They need to be old enough to get their driver's license, don't they? *grin*

Peg

Leilani
09-14-2006, 01:34 AM
thanks pegasus... yes, a drivers license is required and preferrable experience with a stick shift transmission! ;)

okay so just to re-cap, before i change every single page on my website, this is what i want it to read, at the top of each page:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

is that right? it is going to be such a pain to go through every page so i just wanted to make sure before i did it, that i was doing it right! THANKS!!!!!

Pegasus
09-14-2006, 01:51 AM
I prefer standard transmissions to automatics, myself. Better control, especially in the wintertime. ;)

Okay, that's the doctype you use. If you're using Dreamweaver or FrontPage to create the site, you should have a "Global Replace" in your "Find and Replace" function. Replace the entire short doctype with the long one and you'll only have to do it once.

Peg

ascskate
09-14-2006, 08:09 AM
yes i would have to have drivers lisence to attend a racing school.
i still havent got my learners permit. :(


thats right, your getting advice from a 14yr old but hey its been good advice so far i would think :rolleyes:

racing school is something that for a long time i have said i wanted to do when i get older. i cant wait! :D

haha, this has nothing to do with your problem with your site...


ascskate

Pegasus
09-14-2006, 09:33 AM
*g* I'm only teasing, ascskate. I'm no end impressed at the age and experience some of the members here have got. I'm still trying to wrap my brain around some concepts that you seem to find simple.

Peg

Leilani
09-14-2006, 01:15 PM
yes, it's pretty cool to know how knowlegable you are at that age. that's awesome. you will be a genius by the time you are our age! :D

i am not using dreamweaver or frontpage, i just write the html in notepad so i will just have to go into each page one by one........... :o

ascskate
09-14-2006, 03:09 PM
haha, thx peg. ;)

and leilani have fun with that...... lol


ascskate

ascskate
09-14-2006, 04:37 PM
peg do u know y this got moved? ur a mod so i thought i might ask


ascskate

-i-dont-know-
09-14-2006, 04:54 PM
I'm guessing because it is about Javascript more than CSS (or whatever forum it was in before). But does it really matter?

ascskate
09-14-2006, 04:59 PM
i was just wondering...

yah i see what you are saying. it was orignally about CSS but changed to java script bout half way through.

ascskate

erisco
09-14-2006, 05:14 PM
Leilani, yes that is the correct doctype you should be using. Without the link to the doctype, it isn't a complete doctype, and never trust a browser to figure it out ;)

http://alistapart.com/stories/doctype/ - an article on doctypes, good one to read.

Also Peg is correct of where the noscript tag is located.

One more year and I can, try *hehe*, to get my G1. Then you need a G2, and then a full drivers license. Sometimes... well at least it keeps the roads a little safer, especially with people like me on the roads. Legal age to drive is 16 btw in Ontario. It really is annoying, I think to graduate to G2 takes a year, and from G2 to your full license is another year I believe. AH well.

ascskate
09-14-2006, 05:16 PM
wtf is a G1 and G2? is that something that just in canada, eh? ;)

ascskate

Leilani
09-14-2006, 10:21 PM
one more question before i embark on my journey of replacing every single doctype tag on my site.......

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html>

is this okay for the tag? or should the <html> after the <doctype> tag be more like the one on this site which= <html dir="ltr" lang="en">

Pegasus
09-14-2006, 10:26 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Language" content="en-gb">

That's what I have as the beginning to my site.

erisco
09-14-2006, 10:48 PM
Leilani, this

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html>

is fine. Happy replacing :D

Leilani
09-14-2006, 11:08 PM
oh i'm sure i will have a great time, until 3 am and then i might start to get a little bit tired.... :sleepy:

thanks for all your help everybody!

and here a picture of my car so that you will recognize me if you ever see me on the track! :D

http://leilanimunter.com/Images/Texas2Step/19_lg.jpg

Pegasus
09-14-2006, 11:20 PM
*drool* As much as I'd like to say I could drive something like that, I doubt it. Too much power for these old hands to control. I'd spin out for sure.

Peg

Leilani
09-14-2006, 11:48 PM
no such thing! there was a guy racing nascar named hershel mcgriff that raced (and raced well) until he was 74 years old. Paul Newman also raced into his 70s. So you have plenty of time!!! and the good news is, you are old enough to come to the racing school. try and make it sometime, it's a blast, you would love it!!!

http://fasttrackracing.com

Pegasus
09-15-2006, 12:01 AM
After I buy a standard and get some practice in. It's been a while since I've driven standard and I'd feel better grinding my gears and not yours. :)

Hey, I could do that. Best I've managed was about 110mph, but that was in the dark and I couldn't see the countryside whistling past. The taxi I was driving was a retired police interceptor and they hadn't finished all the tweaks to bring it back to 'street legal'. But that was a blast. Taking corners would be a bit harder, I should think.

I've got an idea. How about *you* drive and I'll just cheer you on from the sidelines? *g* I don't normally watch car races, but I've got incentive now. I know my youngest likes watching them. Something to surprise her with.

Peg

Leilani
09-15-2006, 12:08 AM
we tell our students who don't have experience with the stick shift to go rent a car for a day or two and practice on it. that way you are not hurting your own car!

110 is not bad at all, but we will get you going faster than that! I also give rides in my race car at the racing school. we have a car that has a passenger seat in it and I can take you for 3 laps around the track and take you up to about 160 mph on the big tracks.

i can send a driver card for your daughter if you like, you can private message me your address....

Pegasus
09-15-2006, 12:14 AM
I appreciate the offer, Leilani, but getting to the States is a bit of a problem for us right now. I only work part time and the oldest is off to university next year. Things are going to be a bit tight. I have the sites bookmarked, though. When the finances settle down, I'll see about arranging a trip.

Peg

Leilani
09-15-2006, 12:31 AM
when i type in that <doctype> tag, it completely messes up the menu by opencube, it's not readable at all, i launched one of the pages so you can see what it does:

http://leilanimunter.com/archives.htm

this is with the old <doctype> tag that I had:

http://leilanimunter.com/index2.html

why is it doing that?

Leilani
09-15-2006, 12:32 AM
i think i need to use a different tag. help!!!!!

ascskate
09-15-2006, 07:40 AM
did you use the doctype that ericso gave you or peg?

ascskate

Leilani
09-15-2006, 11:59 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html>

ascskate
09-15-2006, 03:27 PM
ok, well i dont see why thats not working. thats really strange.

maybe peg or erisco will have a suggestion because im stumped.

and o yah did u end up using the no script tags?


ascskate

Leilani
09-15-2006, 03:50 PM
i was fixing the <doctype> stuff first, and will go back and add no script or switch to pure css format later. trying to take one step at a time, this is a painful process! :eek:

ascskate
09-15-2006, 03:54 PM
i feel your pain ;) my first site had more problems than i could ever imagine.

heres my current site if you wanna check it out.

www.ascskate.ueuo.com

i love it. its very simple and abstract i think.


are you still having problems with the doctype??

ascskate

Pegasus
09-15-2006, 06:17 PM
The javascript isn't designed to work with a doctype, so the doctype has to go - for now. Your sister will just have to enable javascript in order to see the menu, I guess.

Now, for the noscript section... Hmmmm...


<noscript>
<a href="link1.html" title="To Section One">Link1</a> | <a href="link1a.html" title="To First Sublink">Link1a</a> | <a href="link2.html" title="To Section Two">Link2</a> (... and so on until all the links are mentioned)
</noscript>

That's one way of doing it. I'm not sure how you'd get the links up any other way.

Peg

Leilani
09-15-2006, 11:58 PM
The ones on here are pure css (and html obviously):
http://css.maxdesign.com.au/listamatic/
Try turning off JS, and see if a menu still works. If it does, then that is fine, if it doesn't then it uses JS in some part of it.


the problem with those is, i need sub menus within the list:

http://leilanimunter.com/biography.htm

see how this menu is, can i find a similar one as pure css???

THANKS!!!!!

ascskate
09-16-2006, 12:05 AM
sry this is not about your problem, but you live in NC? where is corneilus? i live in wake forest.

im guessing you go to lowes motor speedway alot.
ever been to rockingham dragway? if you havent you really should. its really fun.

ascskate

Leilani
09-16-2006, 12:14 AM
thanks for all your help guys and gals

pegasus, i decided to keep the new doctype you gave me, and will put in a pure css menu instead of the js one i have:

http://cssplay.co.uk/menus/basic_dd.html

problem is i don't know how to program it, will have to figure that out. any advice would be greatly appreciated!!! :)

meanwhile, asckate i like your site, and shoulda known you were a skate rat. i was one when i was your age. just got done watching lords of dogtown-- movie and documentary.... :)

yes, I live in cornelius and give ride alongs in my race car at Lowes and Rockingham (oval) where you can ride in the passenger seat with me driving for 3 laps, and i take you around at about 165 mph.... it's like $90 and i do it for http://fasttrackracing.com. you should come sometime, it's so fun!!!

okay i have to get to bed as I have a race to run tomorrow, wish me luck!!!

Leilani
09-16-2006, 12:17 AM
i just noticed that this menu i want to use:

http://cssplay.co.uk/menus/basic_dd.html

does not work in mac ie5, is that a common browser??

ascskate
09-16-2006, 12:18 AM
cool. i would love to but im not old enough i think. right?

good luck with your race. where you racing? what series? to many qeustions i kno

ascskate
09-16-2006, 12:22 AM
and yes i love skating. still havent seen that movie yet. (lords of dog town)
ive never been to rockingham raceway, sucks they dont race nascar there anymore. and the stopped racing at north wilkesboro. made me mad. its pretty sad that the state that it pretty much started in, they only have one race. they got rid of north wilksboro and moved it to freaking mexico.

ascskate

Leilani
09-16-2006, 12:28 AM
yes, it is sad. nascar goes where the $$$$$$ is, not where the heart is.

i am racing in indiana, in a late model race. i race in ASA and NASCAR Elite division.

My schedule is here:

http://leilanimunter.com/schedule.htm

ps. any thoughts on my menu questions?

Leilani
09-16-2006, 12:29 AM
our school requires you to be 18 but Richard Petty Driving Experience has insurance to cover minors so you can go there........

ascskate
09-16-2006, 12:31 AM
o yah im sry. i got off track.

its not really a common browser because most people who use macs prolly use either safari or firefox. shouldnt be a problem to put it up if thats the only thing it doesnt work on.

ascskate

Pegasus
09-16-2006, 12:31 AM
Leilani, I've seen the one you've chosen. I'll work on it tomorrow morning while you're playing tag on the raceway. I can get you a sample page of how the whole thing goes together by the time you're done beating the socks off the guys. I'll keep a space open for the checkered flag you're going to bring home. ;)

Peg

ascskate
09-16-2006, 12:32 AM
leilani, only would be a few people who would have problems with it . i wouldnt worry about it.

Leilani
09-16-2006, 12:45 AM
thanks for your help, you guys are awesome!!!

Pegasus
09-16-2006, 12:48 AM
No problem. It gives me a good reason to steal the computer from the kids. :)

Peg

ascskate
09-16-2006, 12:53 AM
No problem. It gives me a good reason to steal the computer from the kids.

see thats why im glad i all of our family members have there own computer. i would die if i didnt have my own.

and leilani, im glad i could help you. it was a pleasure. good luck with your race.

ill pray to god to keep you safe. ;)

ascskate

Pegasus
09-16-2006, 12:56 AM
We all have our own computers, but there's a shortage of power outlets and my computer is down, so we only have my oldest girl's computer connected to the Internet. Once my computer is fixed, I'll be looking at networking all three together - provided I can find a suitable power cord for the third computer.

Peg

ascskate
09-16-2006, 12:59 AM
ohh, ok. thats cool.

ascskate