NS4 (mac and win) nighmares

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bacherc
Beginner
Beginner
Posts: 7
Joined: Mon Dec 16, 2002 5:01 pm

NS4 (mac and win) nighmares

Post by bacherc »

My most honorable and knowledgeable friends-

Using relative positioning (table bound) to try to make my life easier. However, my image-based horizontal menus are appearing with sizes that defy explanation (at least any my pea-size brain can come up with). I have used widths and not used widths, to no avail.

see url below and please advise.

(please click on "registered users" at the bottom and you can use the username: frog1234 and password: 1234)

My humblest of thanks

chris

http://216.111.5.71:8017/portal/Atoz/hazlogin.jsp
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I don't get it, I tried frog1234/1234 frog1234/frog1234 frog/1234

maz
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

"This UserID has already been taken. Please provide a different UserID".
John
bacherc
Beginner
Beginner
Posts: 7
Joined: Mon Dec 16, 2002 5:01 pm

my apologies

Post by bacherc »

My aplogies:

on the bottom of the page please click on the link: "If you are returning user please click here"

Then enter the case-sensitive username: Frog1234
and password: 1234

thanks very much

chris
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Was starting to get into this when I noticed your Subject is NS4. Not having that any longer I won't be able to see your problem.

However, a few suggestions...

1. Please dump the window resize code! You'll find quite a few folks (not only here) very sensitive to that. It's my desktop, and I have things arranged the way I want. For you to come in and rearrange that is an intrusion. Further, since your site is a fixed width, my 21" monitor is left with a lot of whitespace on the right side, all of which is wasted. Why resize? Sorry to be so blunt, but it's just friendly advice... :)

2. Clean up your _data code syntax. You have...

Code: Select all

aI("text=More...;;separatorsize=1")
The end of your lines should be...

Code: Select all

aI("text=More...;;separatorsize=1;");
Notice the two additional ; .

You can also remove the double ;; . In this example, More...;; should be More...; .

3. You dropped the drawMenus(); off the end of the file.

4. You don't specify a doctype in your html, yet some of your lines are xhtml format...

Code: Select all

<meta http-equiv="Content-Type" content="text/html" />
...and some aren't. At the very least it won't validate, and I'm not sure what else might be happening.

5. At the end you have </body></table> as the last lines, which is invalid. Should be </body></html>. I have no idea where that </table> belongs.

Just some constructive thoughts.
John
bacherc
Beginner
Beginner
Posts: 7
Joined: Mon Dec 16, 2002 5:01 pm

thanks

Post by bacherc »

Thanks John-

Yes, I do have sloppycodeitis, I will address this.

I figured out my problem, which was that I had given widths to the images and that, for some reason, caused them to blow up out of proportion.

They work fine now.

thanks for your help

chris
:oops:
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Glad you found the problem.

I didn't see any images in your menu, or do you mean the > ?

Sloppy (since you used the word!) code is kind of a hot button with me. But the most important thing, however, is that as the browsers become more compliant bad code will no longer work, or if it does it will not display properly. Might as well start clean... :)
John
Post Reply