Javascript
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Tutorialized ForumsWeb Design & DevelopmentJavascript

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old August 17th, 2008, 07:08 PM
marko2028 marko2028 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 5 marko2028 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 26 sec
Reputation Power: 0
Please help me with rollover magnify image

The title probably doesn't make much sense but all i'm looking to do is when my mouse goes over an image a bigger one pops up to the upper left of it. Here's a link t o exactly what i'm looking for

on-site.com/attract

If you know the code or a tutorial with how to do it that would be very helpfull, i've been searching everywhere for this. I can paypal you a few dollars for your help alsono biggie.

Reply With Quote
  #2  
Old August 17th, 2008, 07:43 PM
marko2028 marko2028 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 5 marko2028 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 26 sec
Reputation Power: 0
This is the code I have now

The only problem with this is when the image pops up it in random places I just want it to be right next to the mouse cursor on the left side, also you have t o roll out of the big image in order to have it disapear I would rather it disapear after rolling out of the small one. Thanks for taking your time to read this. Hope this code below could help others as well.



<style>
#container { border:1px solid #ccc; width:300px; height:200px; }
</style>

<script>
function showImg(imgSrc,target) {
document.getElementById('largeImage').src=imgSrc;
document.getElementById('largeImage').style.displa y='';
document.getElementById('largeImage').parentNode.h ref=target;
}
</script>
</head>
<body>

<div id="container">
<img id="id1" src="small1.gif" onMouseover="showImg('large1.jpg','(address));">
<img id="id2" src="small2.gif" onMouseover="showImg('large2.jpg','(address));">
<img id="id3" src="small3.gif" onMouseover="showImg('large3.jpg','(address));">
</div>

<div id="large">
<a href="">
<img id="largeImage" src="" onMouseOut="this.style.display='none';">
</a>
</div>

Reply With Quote
  #3  
Old August 18th, 2008, 04:33 PM
Magic Toolbox Magic Toolbox is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 1 Magic Toolbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 37 sec
Reputation Power: 0
Thumbs up JavaScript image magnify

You could use Magic Zoom to display a larger image. It is a JavaScript tool that shows an large image to the side of a smaller image.

Alternatively, try the Magic Magnify tool which works like a magnifying glass over the image.

(I can't post the URL here because I am a new user, but you will find Magic Zoom and Magic Magnify if you search on Google!).

Reply With Quote
  #4  
Old August 18th, 2008, 05:47 PM
marko2028 marko2028 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 5 marko2028 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 26 sec
Reputation Power: 0
Thanks for the reply

Quote:
Originally Posted by Magic Toolbox
You could use Magic Zoom to display a larger image. It is a JavaScript tool that shows an large image to the side of a smaller image.

Alternatively, try the Magic Magnify tool which works like a magnifying glass over the image.

(I can't post the URL here because I am a new user, but you will find Magic Zoom and Magic Magnify if you search on Google!).


I just want an image the same image to pop up, i'm not really looking to have a piece of it zoom in, just need a big image to pop up next to the small one on as rollover. But thanks for the reply again.

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentJavascript > Please help me with rollover magnify image


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT