HI! How do we make a hotspot trigger a rollover. I have a circumstance that
needs this and I don't know how to go about this.
one image with two or more hotspots. when one hotspot is click then rollover
1.jpg will be triggered, but if the other is click then 2.jpg will be
triggered in the same location. Is this possible?
can someone help me?
Paul 6 2698
paul said the following on 4/15/2006 11:50 PM: HI! How do we make a hotspot trigger a rollover.
You use the onmouseover and onmouseout event handlers.
I have a circumstance that needs this and I don't know how to go about this.
Google is your friend.
one image with two or more hotspots. when one hotspot is click then rollover 1.jpg will be triggered, but if the other is click then 2.jpg will be triggered in the same location. Is this possible?
Yes, very possible and trivial in fact.
can someone help me?
Show your sample code first. Or, is a "can someone help me" another way
of asking "will someone write this code for me"?
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Randy Webb wrote on 16 apr 2006 in comp.lang.javascript : paul said the following on 4/15/2006 11:50 PM: HI! How do we make a hotspot trigger a rollover. You use the onmouseover and onmouseout event handlers.
I have a circumstance that needs this and I don't know how to go about this.
Google is your friend.
one image with two or more hotspots. when one hotspot is click then rollover 1.jpg will be triggered, but if the other is click then 2.jpg will be triggered in the same location. Is this possible?
Yes, very possible and trivial in fact.
can someone help me?
Show your sample code first. Or, is a "can someone help me" another way of asking "will someone write this code for me"?
True.
However the answer is simple, taken from one of my pages fron 2001:
<map name="myMap">
<area shape="rect" coords="1,111,70,241" nohref
onMouseOver="spotMyOver(1);"
onMouseOut="spotMyOut(1);"
<area ....
<img src="../images/xxx.jpg" border="0" usemap="#myMap"
onMouseOut="possibleMyOutDefault();">
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. wrote: Randy Webb wrote on 16 apr 2006 in comp.lang.javascript:
paul said the following on 4/15/2006 11:50 PM: HI! How do we make a hotspot trigger a rollover.
You use the onmouseover and onmouseout event handlers.
I have a circumstance that needs this and I don't know how to go about this.
Google is your friend.
one image with two or more hotspots. when one hotspot is click then rollover 1.jpg will be triggered, but if the other is click then 2.jpg will be triggered in the same location. Is this possible?
Yes, very possible and trivial in fact.
can someone help me?
Show your sample code first. Or, is a "can someone help me" another way of asking "will someone write this code for me"?
True.
However the answer is simple, taken from one of my pages fron 2001:
<map name="myMap"> <area shape="rect" coords="1,111,70,241" nohref onMouseOver="spotMyOver(1);" onMouseOut="spotMyOut(1);" <area ....
<img src="../images/xxx.jpg" border="0" usemap="#myMap" onMouseOut="possibleMyOutDefault();">
HI! thanks I will look into it. I dont know allot of JV as I am studing at
the moment flash, but I thank you for given the example as it gives me a
starting point. :)
Paul
paul wrote on 16 apr 2006 in comp.lang.javascript : However the answer is simple, taken from one of my pages fron 2001:
<map name="myMap"> <area shape="rect" coords="1,111,70,241" nohref onMouseOver="spotMyOver(1);" onMouseOut="spotMyOut(1);" <area ....
<img src="../images/xxx.jpg" border="0" usemap="#myMap" onMouseOut="possibleMyOutDefault();">
HI! thanks I will look into it. I dont know allot of JV as I am studing at the moment flash, but I thank you for given the example as it gives me a starting point. :)
What TH is JV ?????????????????
If you mean Java, that is another language,
not connected with JavaScript but in name.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. wrote: paul wrote on 16 apr 2006 in comp.lang.javascript:
However the answer is simple, taken from one of my pages fron 2001:
<map name="myMap"> <area shape="rect" coords="1,111,70,241" nohref onMouseOver="spotMyOver(1);" onMouseOut="spotMyOut(1);"
<area ....
<img src="../images/xxx.jpg" border="0" usemap="#myMap" onMouseOut="possibleMyOutDefault();">
HI! thanks I will look into it. I dont know allot of JV as I am studing at the moment flash, but I thank you for given the example as it gives me a starting point. :)
What TH is JV ?????????????????
If you mean Java, that is another language, not connected with JavaScript but in name.
opps a typo, I meant JS.
Paul
paul wrote on 17 apr 2006 in comp.lang.javascript : What TH is JV ?????????????????
If you mean Java, that is another language, not connected with JavaScript but in name.
opps a typo, I meant JS.
;-)
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Lovely Angel |
last post by:
Dear Friends
Hope you all doing great.
There is this thing which to me looks possible, but when I searched over
the net I couldnt find anything. Any ideas about this please do let m
eknow.
I...
|
by: gallery |
last post by:
I also cross-posted this in comp.infosystems.www.authoring.html. I think
it's more appropriate here.
I read somewhere that you can get Tim Murtaugh's Mo' Betta Rollovers to work
in Firefox using...
|
by: Frances Del Rio |
last post by:
Hi, I while back I was having a problem with rollovers, even though I do
them in a very conventional way:
function roll(i) {
document.src = eval(i + "_roll.src")
} // in which value passed...
|
by: Neven Klofutar |
last post by:
Hi,
How can I create image hotspots in VS2K3, and is there a way I can run them
as server controls somehow ?
Thanx, Neven
|
by: jediknight |
last post by:
Hi All,
I am very new to ASP.NET but have used c# for windows very much.
I would like to display an imagemap which has the background as the map
of a city centre and icons denoting important...
|
by: BP |
last post by:
Hi all!
I want to generate hotspots in an ImageMap "programatically" (not using a
graphical editor), ie I have a world map and a database containing city
coordinates, and I'd like to create a...
|
by: ZAIN786 |
last post by:
hiii plz help me out on this
how can i make hotspots in flash????i want to make hotspots on maps ??? i ll be grateful
cheerz
|
by: Aaron Smith |
last post by:
Does anyone know of a component where a end user can import a picture and
then draw out hotspots on that image but then be able to save the sizes and
locations of those hotspots relative to their...
|
by: Jahamos |
last post by:
Background:
I have copy and pasted an Excel flowchart into a Dreamweaver html page. I created a frame on the top of the page as a viewer. I created hotspot links over the flowchart items. Each...
|
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,...
|
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: 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,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |