By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,817 Members | 2,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,817 IT Pros & Developers. It's quick & easy.

Go Menu Background Color

P: n/a
I'm using a JavaScript go menu on my home page and would like to change the
background color, font type and font color...can this be done with
JavaScript?

--
Thanks...
www.javaholics.net
Oct 6 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"Javaholics" <in**@javaholics.net> wrote in message
news:t4******************@newsread2.news.atl.earth link.net...
I'm using a JavaScript go menu on my home page and would like to change
the background color, font type and font color...can this be done with
JavaScript?


document.getElementById("menuId").style.background Color = '#ffcc33';
....

--
Dag.
Oct 6 '05 #2

P: n/a
"Javaholics" <in**@javaholics.net> wrote:
I'm using a JavaScript go menu on my home page and would like to change the
background color, font type and font color...can this be done with
JavaScript?


Yes, but you shouldn't. Use an alternate stylesheet, you could then use
javascript to get the selection to stick across your site.

--
Spartanicus
Oct 6 '05 #3

P: n/a
Can you elaborated just a bit on why you think I shouldn't?

Do you mean when you say 'stick across your site', that I might want to see
my Go Menu on all my pages?

--
Thanks...
www.javaholics.net
"Spartanicus" <in*****@invalid.invalid> wrote in message
news:a6********************************@news.spart anicus.utvinternet.ie...
"Javaholics" <in**@javaholics.net> wrote:
I'm using a JavaScript go menu on my home page and would like to change
the
background color, font type and font color...can this be done with
JavaScript?


Yes, but you shouldn't. Use an alternate stylesheet, you could then use
javascript to get the selection to stick across your site.

--
Spartanicus

Oct 6 '05 #4

P: n/a
Being new to JavaScript I'm assuming the script you provide needs to be
inserted somewhere within my current script...? So as not to impose upon
your time and ask that you show me how to accomplish this, can you point me
to another area on the web that might help explain in further detail the
information you supplied?

--
Thanks...
www.javaholics.net
"Dag Sunde" <me@dagsunde.com> wrote in message
news:l8*******************@juliett.dax.net...
"Javaholics" <in**@javaholics.net> wrote in message
news:t4******************@newsread2.news.atl.earth link.net...
I'm using a JavaScript go menu on my home page and would like to change
the background color, font type and font color...can this be done with
JavaScript?


document.getElementById("menuId").style.background Color = '#ffcc33';
...

--
Dag.

Oct 6 '05 #5

P: n/a
Please don't insert quotes below a sig separator, it results quotes
disappearing when following up. Top posting also doesn't help.

"Javaholics" <in**@javaholics.net> wrote:
Can you elaborated just a bit on why you think I shouldn't?

Do you mean when you say 'stick across your site', that I might want to see
my Go Menu on all my pages?


I misread your message, I thought you wanted to change the background
colour and fonts of the entire page.

--
Spartanicus
Oct 6 '05 #6

P: n/a
I don't understand what you're telling me not to do...if its important to
you that I understand, please elaborate.

--
Thanks...
www.javaholics.net
"Spartanicus" <in*****@invalid.invalid> wrote in message
news:t3********************************@news.spart anicus.utvinternet.ie...
Please don't insert quotes below a sig separator, it results quotes
disappearing when following up. Top posting also doesn't help.

"Javaholics" <in**@javaholics.net> wrote:
Can you elaborated just a bit on why you think I shouldn't?

Do you mean when you say 'stick across your site', that I might want to
see
my Go Menu on all my pages?


I misread your message, I thought you wanted to change the background
colour and fonts of the entire page.

--
Spartanicus

Oct 6 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.