473,507 Members | 5,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Image Viewer from Image Map

I have been struggling mightily in getting this to work with the scripts
I have seen. I have an image map that uses overlib to display
information about a school's campus:

http://dcavello.phenominet.com/about/tour.php

I would like onClick to generate a series of thumbnails located directly
above or below the image map. Those thumbnails would then be linked to
larger images which would pop-up in a new browser window. Does anyone
know of a javascript utility that I could use for this? I am not all
that familiar with Javascript, otherwise I would write my own utility.
Thanks for any help you can offer.

Ryan
--
To reply, please remove your robe.

Jul 20 '05 #1
3 2860
On Sun, 29 Feb 2004 13:07:00 -0500, Ryan Sullivan
<rp******@yourrobe.wideopenwest.com> wrote:
I have been struggling mightily in getting this to work with the scripts
I have seen. I have an image map that uses overlib to display
information about a school's campus:

http://dcavello.phenominet.com/about/tour.php

I would like onClick to generate a series of thumbnails located directly
above or below the image map. Those thumbnails would then be linked to
larger images which would pop-up in a new browser window. Does anyone
know of a javascript utility that I could use for this? I am not all
that familiar with Javascript, otherwise I would write my own utility.
Thanks for any help you can offer.

Ryan


The script below creates two images (named 1.jpg and 2.jpg) under the
"click here for images" text. You can change that by
moving the <div id="pictures"></div> tag around.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script type="text/javascript">
<!--
var pic1 = new Image();
pic1.src = "1.jpg";
var pic2 = new Image();
pic2.src = "2.jpg";

function doIt() {
var out = new String("<img src=" + pic1.src + "><img src=" + pic2.src
+ ">");
var location = document.getElementById("pictures");
location.innerHTML = out;
}
-->
</script>

</head>

<body>
<div onClick="doIt();">click here for images</div>
<br>
<div id="pictures"></div> <!-- place this wherever you like -->

</body>
</html>

Enjoy, Buba
Jul 20 '05 #2
Ok good job; however, I would place the popup images on the right. I have my
resolution set at 1024x768 I scrolled down to see the image and hovered over
top. I didn't see the popups until I moved back up. On the right it would
be easy to see the images and I wouldn't have to adjust my view. At the
resolution of 800x600 I would miss them totally.
Tom
"Ryan Sullivan" <rp******@yourrobe.wideopenwest.com> wrote in message
news:1M********************@wideopenwest.com...
I have been struggling mightily in getting this to work with the scripts
I have seen. I have an image map that uses overlib to display
information about a school's campus:

http://dcavello.phenominet.com/about/tour.php

I would like onClick to generate a series of thumbnails located directly
above or below the image map. Those thumbnails would then be linked to
larger images which would pop-up in a new browser window. Does anyone
know of a javascript utility that I could use for this? I am not all
that familiar with Javascript, otherwise I would write my own utility.
Thanks for any help you can offer.

Ryan
--
To reply, please remove your robe.

Jul 23 '05 #3
Ed
Ryan Sullivan wrote:
I have been struggling mightily in getting this to work with the scripts
I have seen. I have an image map that uses overlib to display
information about a school's campus:

http://dcavello.phenominet.com/about/tour.php

I would like onClick to generate a series of thumbnails located directly
above or below the image map. Those thumbnails would then be linked to
larger images which would pop-up in a new browser window. Does anyone
know of a javascript utility that I could use for this? I am not all
that familiar with Javascript, otherwise I would write my own utility.
Thanks for any help you can offer.

Ryan


Ryan,

I am using a screen resolution of 800x600 so I do not see the thumbnails
above the image map without having to scroll back up the screen. I
don't like that.

Secondly, some of the links don't work i.e. Multipurpose room, Gymnasium
and Power Building. Maybe you don't have images for these yet?

Thirdly, with Javascript switched off, the effect doesn't work - not
surprising. But then you do not have a <noscript> section in your HTML
to handle this.

Ed
Nov 24 '05 #4

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

Similar topics

4
13701
by: Shumit Rehman | last post by:
Hi I have a table which has path names to photos I would like to view. I would like to open some/any kind of image viewer(Paint) to see the picture when I click the pathname. The pictures are...
2
3819
by: John Fryatt | last post by:
Hi, Before I go on, let me just say I'm fairly new at this so excuse me if I say the wrong thing or use the wrong term. Anyway, what I am trying to do is to set up something where I can have a...
1
3187
by: Dan | last post by:
I must develop a (C-sharp) winforms application which should display some relatively large (e.g. 2~5 MB JPEG each) photographic images together with a rich set of related information: the...
0
3338
by: Jerry J | last post by:
I have a third party image viewer that can display various types of images. The image viewer is ActiveX and lives inside of Internet Explorer. To get the image viewer to retrieve an image, java...
4
2029
by: Troy | last post by:
Hi all, Im a little new to ASP.NET. I'm looking to create an image viewer that zooms in, pretty common. But I need to draw a box on the 1:1 scale image and 'zoom in' on another picture box. ...
1
1722
by: Kuldeep | last post by:
Hello All, Could you please give me some leads on building a Image Viewer in .NET or how to use Windows Picture and Fax Viewer. The actual purpose is to display the image in my web application...
1
7135
by: zee | last post by:
hello Is it possible to use Document Image Viewer Control in ASP.NET(2.0) because 1. The IDE is not adding this component in the toolbox and 2. when i use it so it give me following error ...
0
2350
by: Andrew | last post by:
Hello Ive been messing around with a simple raw image viewer using Pil and Tkinter However I am running into problems displaying the images they appear to be not correct I believe it is cause of...
4
6456
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I need to do a image viewer, just to view and zoom pictures in jpeg. I do not need to edit or save the picture. I am sure, there are some controls already made. I am thankful for any...
0
1632
by: marcellus7 | last post by:
Im looking for an image viewer that supports most types of image formats, including PDFs, and has the ability to rotate/zoom, and draw on an image. I've been looking but to no avail. Does anyone have...
0
7110
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
7314
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
7372
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
7482
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...
1
5041
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
3191
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...
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.