?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

?

Post by Ruth »

I have a request which I think is not something most would want. Do you do such things for a charge...if it's feasible and who and how would I contact someone about it to find out if it can be done and more importantly if I have the funds to pay for it? :lol:


Ruth
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

What is it, maybe we can do it anyways.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

May I email? Since I'm not in the field, it's hard to explain and make sure I'm being clear on what I want. I end up going on for a long time to make sure I"m understood.

Ruth
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Go ahead, shoot! :)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

OK, I put the style code in the body tag

Code: Select all

<BODY style="color:#ff0000;"> 
and that works fine. You learn something new everyday. :) Now as to the little snippet

Code: Select all

pagefontcolor = "#000000";
if( document.body.style.color != "" )
{
  pagefontcolor = document.body.style.color;
}
Where in the data file do I put that and is it just like that, no <style code in it? And, :oops: feeling real dumb here, but it's just I don't have much knowledge of the subject, but what do you mean by menu code includes ? Is that the javascript code calling the menu files?

Ruth
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Yeah the style code is in the javascript, as you can see with the ...document.style.color... see? Its just a code-ish way of calling on the styles of a page. And yes the menu code includes are the <SCRIPT src='milonic_src.js'></SCRIPT> looking lines. hehe

Yes put that snippet at the top of the menu_data file, its the easiest there. That will grab the pages color style and store it. And then later in your menu, in the styles, set the
fontcolor= pagefontcolor; // (no quotes)
That will put the pages color in the fontcolor and whatever else you want it in.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply