appeal to CSS guy Mike.... or anyone who can help

Home » Forums » Stylesheet Maker » appeal to CSS guy Mike.... or anyone who can help


Ambassador
143 posts

Ok, I am pretty knowledgeable in CSS but this DHTML menu is kicking my butt. I am hoping a different perspective may help. Here is the link: http://www.rivertime.net/clients/comal/menu.htm the menu is set in a span id but still doesn't like up properly it should be right under the Products heading. Any help is appreciated. Kim "...I am the master of my fate:
I am the captain of my soul."
-William Henley


Registered User
2,900 posts

Hiya

Think maybe you've forgotten the span?

here:
...
</script>
<noscript>Your browser does not support script</noscript>
<span id="menu"> </span>

<!-- REST OF BODY CONTENT BELOW HERE -->
...

Like where i've used it on this page:
http://www.summerset.co.nz/web/flatbush … ge=village

right click - view source to see the code :) Have fun
~ Fe Pixie ~


Ambassador
143 posts

Fe, I have the span
<td colspan="2"><span id="menu"></span></td>
right in the table where I'd like it to be... Just like you have yours... It's just the placing... I guess I can find another way to do this. Thanks though! Kim "...I am the master of my fate:
I am the captain of my soul."
-William Henley


Senior Advisor
1,172 posts

I'll take a look at the page and get back to you.
Might not get back for a day or 2 tho, working on a clients website right now...

Mike... ..........................................
http://www.photoshopuser.com/register.h … ode=friend
http://www.designconsultingltd.com
http://www.wpdfd.com


Senior Advisor
6,076 posts

Kimberly Moreland wrote:
Fe, I have the span
<td colspan="2"><span id="menu"></span></td>
right in the table where I'd like it to be... Just like you have yours... It's just the placing... I guess I can find another way to do this. Thanks though! Kim

Kim,
Can't find the post I put in for some reason, but I did this to your page, but all in HTML I'm afraid!!
www.janwyse.com/fishing.html
I resolved it in my own way.........I also suggested that you change the width of your vertical menu very slightly to make allowances for the difference in width underneath the products
Janys http://blogthemeforge.blogspot.com/
(my photographs and graphics as freebies to liven up your blog, web site or desktop)
http://artycraftycreations.blogspot.com
(exchanging crafting ideas)


Senior Advisor
1,172 posts

Kim,
This only works in Internet Explorer though.

Change 2 lines in your code

1. change your doc type to this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

In your menu Javascript change this line to this,
(please note the offset is negative -275)

var StartTop=-275; // Menu offset x coordinate

(in Firefox the offset is -219)

Just curious, but where did you get this jscript or what did you use to create it?


Mike... ..........................................
http://www.photoshopuser.com/register.h … ode=friend
http://www.designconsultingltd.com
http://www.wpdfd.com


Senior Advisor
6,076 posts

Mike Crone wrote:
Kim,
This only works in Internet Explorer though.

Change 2 lines in your code

1. change your doc type to this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

In your menu Javascript change this line to this,
(please note the offset is negative -275)

var StartTop=-275; // Menu offset x coordinate

(in Firefox the offset is -219)

Just curious, but where did you get this jscript or what did you use to create it?


Mike...

Quite right, though for some reason it works in Opera also.
Janys http://blogthemeforge.blogspot.com/
(my photographs and graphics as freebies to liven up your blog, web site or desktop)
http://artycraftycreations.blogspot.com
(exchanging crafting ideas)


Senior Advisor
1,172 posts

Depends on your version of Opera.
I am using v8.53 and it doesn't work in that one.
Opera 9 (beta) just passed the "acid test" for browsers, meaning that it will be the most compliant on standards of any browser when it is released.

It makes it difficult to write web pages when the users browsers are not compliant and you have to rely on hacks and quirks mode just so the user can see your pages at all!!
I have to test clients webpages in:
IE5, IE5.5, IE6, IE7, Firefox 1.0, 1.5, 1.7, Opera 6,7,&8 and on Mac browsers like Safari and Linux browsers like Konquerer. It makes for a real challenge to make sure it looks good in all these browsers.

It all depends on how standards compliant your browser is.

By changing the doc type it puts IE into "quirks mode" and allows the menu to be adjusted.

Oh well, one day when all browsers are compliant.....

I can dream can't I ???

Mike... ..........................................
http://www.photoshopuser.com/register.h … ode=friend
http://www.designconsultingltd.com
http://www.wpdfd.com


Advisor
540 posts

Mike Crone wrote:
I have to test clients webpages in:
IE5, IE5.5, IE6, IE7, Firefox 1.0, 1.5, 1.7, Opera 6,7,&8 and on Mac browsers like Safari and Linux browsers like Konquerer. ...

Mike,

Just out of curiosity, how do you maintain multiple versions of IE and Firefox (and Opera)? Do you have multiple machines? Or is it possible to upgrade the various IE's without having the upgrades write over the old ones?

Howard Howard
Mostly just lurking these days ...


Ambassador
143 posts

Mike, thanks for taking the time. The script was created with ther version of CC DHTML menu builder. I used your variable and it worked perfect. When I tried earlier it only pushed it farther down but I did not use a negative value. I am only in the preliminary stages of this site so I will worry about how it looks in Firefox later I suppose. Thanks again everyone for the help, I am always glad to return it when I can. Thanks Kim "...I am the master of my fate:
I am the captain of my soul."
-William Henley

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.