473,398 Members | 2,404 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,398 software developers and data experts.

Javascript MouseOver button

I'm very frusterated..Been trying to make mouseover buttons and cant
get it to work...can someone but up some sample code to show how to do
it, with a one button sameple and how to add additional please. or
point me in the direction of a tutorial..I want to be able to make
them for my site
Jul 23 '05 #1
3 2031
In article <e2**************************@posting.google.com >,
ri******@yahoo.com enlightened us with...
I'm very frusterated..Been trying to make mouseover buttons and cant
get it to work...can someone but up some sample code to show how to do
it, with a one button sameple and how to add additional please. or
point me in the direction of a tutorial..I want to be able to make
them for my site


That depends on what you mean by a mouseover *button*.

Taken literally...
<input type="button" onMouseOver="window.status='moused!';"
onMouseOut="window.status='';" value="hover me">

If that's not what you meant, please clarify.

--
--
~kaeli~
What if the Hokey Pokey IS what's it's all about?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
kaeli <ti******@NOSPAM.comcast.net> wrote in message news:<MP***********************@nntp.lucent.com>.. .
In article <e2**************************@posting.google.com >,
ri******@yahoo.com enlightened us with...
I'm very frusterated..Been trying to make mouseover buttons and cant
get it to work...can someone but up some sample code to show how to do
it, with a one button sameple and how to add additional please. or
point me in the direction of a tutorial..I want to be able to make
them for my site


That depends on what you mean by a mouseover *button*.

Taken literally...
<input type="button" onMouseOver="window.status='moused!';"
onMouseOut="window.status='';" value="hover me">

If that's not what you meant, please clarify.


No not put of a form button.

I'm constructing a set of buttons to go on the main page of my
website....These buttons when clicked by the mouse go to the various
pages that they are linked to within my site.. Also When the mouse
cursor is on the button the text on the botton appears to be turned on
like a lightbulb in the button...the set of buttons are going to be
used for navigation to other areas (pages) on my site..Does this
clarify it better for you..i hope
Jul 23 '05 #3
In article <e2**************************@posting.google.com >,
ri******@yahoo.com enlightened us with...

I'm constructing a set of buttons to go on the main page of my
website....These buttons when clicked by the mouse go to the various
pages that they are linked to within my site.. Also When the mouse
cursor is on the button the text on the botton appears to be turned on
like a lightbulb in the button...the set of buttons are going to be
used for navigation to other areas (pages) on my site..Does this
clarify it better for you..i hope


Oh, yeah, sure.
Those are rollover images. No one uses real buttons for that. I know a
lot of people call them buttons, but they're not. ;)
You need two images. One has the "on" text and one has the "off" text.
Many image programs, like Photoshop, or development IDEs, like
Dreamweaver, can create the code for you.
If you want to do it yourself, see the link below.

http://www.webreference.com/js/column1/

--
--
~kaeli~
The definition of a will?... (It's a dead giveaway.)
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing...
8
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing...
3
by: richk | last post by:
For some reason when I add additional buttons a 3rd button and beyond i cant get the effect to work and I get errors...I cant understand why... <SCRIPT LANGUAGE = "javascript"><!-- if...
3
by: John Ortt | last post by:
I appologise for reposting this but I have been trying to find a solution all week with no avail and I was hoping a repost might help somebody more knowledgable than myself to spot the message... ...
2
by: Bendik Engebretsen | last post by:
I'm an ASP newbie and have just started experimenting with ASP.NET 2.0 using the VS.NET 2005 Beta. As a starting point I have used the 'Personal WEB site' starter kit. I am now trying to figure...
2
by: sgMuser | last post by:
Hi, I am not a good developer of Javascript codes. Needs this help to make some modification to this famous free javascript from Anarchos. i am using this in one of my webpage. What it does is,...
5
by: den2005 | last post by:
Hi everybody, Problem with dragging effect of resizing is working but having problem with setting a flag to determine if mouse button is click or not. Is there anyone knows how to fixed this? I...
2
by: OmniX | last post by:
Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for...
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...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.