473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Go Menu Background Color

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
6 1159
"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
"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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Pote | last post by:
I have a menu bar in a top level window as follows menuBar = Menu(rootWin) menuBar.add_command( label='Quit', command=rootWin.quit) configMenu = Menu(menuBar, tearoff=0)...
4
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following...
1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
2
by: namratha247 | last post by:
Hi, Can anybody please help me with this problem. In my application, I'm using Menus. and the CSS for the menu is as given below ccMenu.css /* Root = Horizontal, Secondary = Vertical */...
16
by: stevedude | last post by:
CSS newbie again. I have a problem trying to get coffee mug images within anchor tags to center with my link text for a vertical list menu. If I use the horizontal/vertical properties of...
1
by: CKich30 | last post by:
When viewing my page (siuehockey.net) in Firefox, it's setup how I want it to look. When i viewed it using IE, the menu at the top runs into the "Cougar Hockey/cougarhockey.net" at the top left....
7
by: milestogofromhere | last post by:
It is late so this is probably something really obvious but I am not seeing it. Can someone please help? Here is the page in question: html - http://www.itsyourplate.com/index2.php css -...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.