473,473 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help with hover/zoom code

This is really puzzling me, maybe its just my feeble brain, that cant see
what Im doing wrong. I am trying to create a page that loads up several
thumbnail images, that when onMouseover. the larger image appears, but
leaves the description text intact. I can easily get it to work the way I
want with just one image on the page, but whenever or whereever on the page
i try to use the same code (except changing the position) to have another
picture (testing by just using the same pic over again) it stops working..

HEre are the two pages to compare. Is it something obvious that is just
escaping me?

This one works fine

http://freewebs.com/imagetest/zoom.html

This one does not????

http://freewebs.com/imagetest/zoom2.html
Any idea why? or how I can get it to do what I want?

email or reply here, any help GREATLY appreciated..

:)
Diane
Feb 22 '06 #1
6 5342
"Diane" <dh****@xhotmailx.com> wrote in message
news:7C***************@bignews1.bellsouth.net...
This is really puzzling me, maybe its just my feeble brain, that cant see
what Im doing wrong. I am trying to create a page that loads up several
thumbnail images, that when onMouseover. the larger image appears, but
leaves the description text intact. I can easily get it to work the way I
want with just one image on the page, but whenever or whereever on the page i try to use the same code (except changing the position) to have another
picture (testing by just using the same pic over again) it stops working..

HEre are the two pages to compare. Is it something obvious that is just
escaping me?

This one works fine

http://freewebs.com/imagetest/zoom.html

This one does not????

http://freewebs.com/imagetest/zoom2.html
Any idea why? or how I can get it to do what I want?

email or reply here, any help GREATLY appreciated..

:)
Diane


Ask your question in news:comp.lang.javascript
IEDesigner
Feb 22 '06 #2
IEDesigner wrote:
"Diane" <dh****@xhotmailx.com> wrote in message
news:7C***************@bignews1.bellsouth.net.. .

This is really puzzling me, maybe its just my feeble brain, that cant see
what Im doing wrong. I am trying to create a page that loads up several
thumbnail images, that when onMouseover. the larger image appears, but
leaves the description text intact. I can easily get it to work the way I
want with just one image on the page, but whenever or whereever on the

page

i try to use the same code (except changing the position) to have another
picture (testing by just using the same pic over again) it stops working..

HEre are the two pages to compare. Is it something obvious that is just
escaping me?

This one works fine

http://freewebs.com/imagetest/zoom.html

This one does not????

http://freewebs.com/imagetest/zoom2.html
Any idea why? or how I can get it to do what I want?

email or reply here, any help GREATLY appreciated..

:)
Diane


Ask your question in news:comp.lang.javascript
IEDesigner

In Mozilla both do nothing
Peter

--
http://lotto924.fateback.com
Feb 23 '06 #3
"Peter" <pj*****@wanadoo.nl> wrote in message
news:43***********************@news.wanadoo.nl...
IEDesigner wrote:
"Diane" <dh****@xhotmailx.com> wrote in message
news:7C***************@bignews1.bellsouth.net.. .

This is really puzzling me, maybe its just my feeble brain, that cant seewhat Im doing wrong. I am trying to create a page that loads up several
thumbnail images, that when onMouseover. the larger image appears, but
leaves the description text intact. I can easily get it to work the way Iwant with just one image on the page, but whenever or whereever on the

page

i try to use the same code (except changing the position) to have anotherpicture (testing by just using the same pic over again) it stops working..
HEre are the two pages to compare. Is it something obvious that is just
escaping me?

This one works fine

http://freewebs.com/imagetest/zoom.html

This one does not????

http://freewebs.com/imagetest/zoom2.html
Any idea why? or how I can get it to do what I want?

email or reply here, any help GREATLY appreciated..

:)
Diane


Ask your question in news:comp.lang.javascript
IEDesigner


In Mozilla both do nothing
Peter


No support for JavaScript in Mozilla? Now that's primitive.
IEDesigner
Feb 23 '06 #4
Peter wrote:
IEDesigner wrote:
"Diane" <dh****@xhotmailx.com> wrote in message
news:7C***************@bignews1.bellsouth.net...

This is really puzzling me, maybe its just my feeble brain, that cant
see
what Im doing wrong. I am trying to create a page that loads up several
thumbnail images, that when onMouseover. the larger image appears, but
leaves the description text intact. I can easily get it to work the
way I
want with just one image on the page, but whenever or whereever on the

page

i try to use the same code (except changing the position) to have
another
picture (testing by just using the same pic over again) it stops
working..

HEre are the two pages to compare. Is it something obvious that is just
escaping me?

This one works fine

http://freewebs.com/imagetest/zoom.html

This one does not????

http://freewebs.com/imagetest/zoom2.html
Any idea why? or how I can get it to do what I want?

email or reply here, any help GREATLY appreciated..

:)
Diane


Ask your question in news:comp.lang.javascript
IEDesigner

In Mozilla both do nothing
Peter


The first page works in SeaMonkey and Firefox, but not the second one.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Feb 23 '06 #5
Diane wrote:
This is really puzzling me, maybe its just my feeble brain, that cant see
what Im doing wrong.

1. You are using the same "name" for both images. To correctly change the
image src you must have unique names for them. Better yet, use the "id"
attribute.
2. There is no document property "pic". Use getElementById(). See
<http://www.mozilla.org/docs/dom/domref/dom_doc_ref48.html>

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 23 '06 #6
IEDesigner wrote:
>>
>>http://freewebs.com/imagetest/zoom.html
>>http://freewebs.com/imagetest/zoom2.html
>>

In Mozilla both do nothing


No support for JavaScript in Mozilla? Now that's primitive.

No, Mozilla does not bother with wildly incorrect Javascript.
IE apparently makes a good enough guess at the author's intent to leave
her confused. Had she used a modern browser she would have discovered the
problem on her own.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 23 '06 #7

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

Similar topics

2
by: Jo | last post by:
I don't know if this can be done.. But here is what i am trying to do... I have a tree menu on a frameless page. I have the menu on the right hand side and a CGI web form post on the left....
1
by: Richard | last post by:
A menu page has a set of A tages in a UL The menu (in IE) will only get the hover visualization if the mouse rolls over underlined text. I want it to happen if the rollover occurs anywhere in...
24
by: fehays | last post by:
Hello, I'm having a problem with the css hover effect in IE. I have an <a> tag with the following CSS: a.subNavItem { display:block; color:#464645; padding:2px 7px 4px 6px;...
1
by: mrjoka | last post by:
hi guys i have a work it was first implemented with the drop down list: <select name="zoom" onChange="showMap(this.form)"> <option value=7 <% if zoom = 7 then %>selected<% end if %>>Provincie...
8
by: mark.it.here | last post by:
Hi, I'm developping an image gallery based on CSS (no Javascript so far). You can see it here: http://www.myfilestash.com/userfiles/myed/index.html It only works well in Opera, Firefox,...
8
by: Z1P2 | last post by:
Line 22 Char 1 says object expected in the following code. For the life of me I can't figure out what it is. I'm sure I'm just overlooking some stupid bit of formatting or something. ...
0
by: murry19830507 | last post by:
i want creat an web application(c#.net),which contains an image and one radiobutton list with 3 radiobuttons(zoom in ,zoom out ,zoom window) when user checked on zoom in imge has to be zoom inthe...
0
victorduwon
by: victorduwon | last post by:
Hi Folks, i have a list based navigation menu with two tiers of navigation. The second tier displays when the tabs on the first tier are hovered over. The problem I have is that when the tabs are...
2
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts"...
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,...
1
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...
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,...
1
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.