Opening pictures from an image map.

G

Guest

This is probably going to be really simple to some people .... I have created
an image map I want to be able to open up the picture associated with each
section of the image map in its own, sized to the picture, window. I have
tried using behaviours with the "onclick" bit but all that does is open ALL
the pictures at the same time no matter where you click on the image map! I
have been able to open up a complete new BIG window using the target frame
bit but I want them to open up in their own window the same size as the
individual picture which does vary.

Help.... please
 
G

Guest

Hi Rob, glad to see someone else is working today also.... funnily enough I
did come across that very programme but it says it DOESNT support image
maps.... ;-( I didnt think that this was going to be so difficult to do as i
have seen it around all over the place,..... any other ideas??
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

Ah,,,I'm not working today...just putting off mowing the lawn again.

Sorry, I didn't realize it didn't support image maps.
 
G

Guest

Thanks for trying anyway......

Rob Giordano (Crash Gordon®) said:
Ah,,,I'm not working today...just putting off mowing the lawn again.

Sorry, I didn't realize it didn't support image maps.
 
S

Steve Easton

Take a look at this.
It's something I've been "playing" with.

There are comments in the source. It's a work in progress but it might give you an idea.

http://www.95isalive.com/test/
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

It doesn't appear to be resizing the new window to the image though.
 
S

Steve Easton

Are you on dialup??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

It doesn't appear to be resizing the new window to the image though.
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

no, vdsl


Steve Easton said:
Are you on dialup??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

It doesn't appear to be resizing the new window to the image though.
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

working now.

top row first two worked but the others were pop-up blocked, allowed popups and now they're resizing correctly.
 
S

Steve Easton

I probably need to change the click event for the thumbnails to a href "javascript"
instead of a simple onclick()



--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

working now.

top row first two worked but the others were pop-up blocked, allowed popups and now they're resizing
correctly.
 
S

Steve Easton

Clear your cache files and try it again

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

working now.

top row first two worked but the others were pop-up blocked, allowed popups and now they're resizing
correctly.
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

jah works goot.


Steve Easton said:
Clear your cache files and try it again

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

working now.

top row first two worked but the others were pop-up blocked, allowed popups and now they're resizing
correctly.
 
G

Guest

Rob and Steve,

Thanks guys for looking at this but you lost me about 4 posts ago.... can
you put it into beginner speak please. When i tried the site steve the pics
were about 2cm squared?? Shame about the time delay to here in the UK.

Thanks once again. I am using an image map created in FP2003 by the way.

Chris.
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

Sorry we went way off on a tangent. We were trying to link a image hotspot to a pop-up window image right?
 
G

Guest

Hi Rob,

lol, Yes I was trying to link a pop up window which pops up to the size of
the image which does vary. I have created the image map and put the hotspots
on it where i want them but I can only get the pictures up in full screen
with the picture in one corner which looks naff. Can you advise in layman
terms please.

Chris.
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

moi?
I'm a noob with javascript...I believe the tangent Steve & I were on may lead you to a solution.
 
G

Guest

Hi Rob,

Yes we were. I already have the image map created with hot spots all I want
to do is when the picture opens up from the hotspot it is the same size as
the pictures dimensions not full screen.

Thanks again for the help.
 
S

Steve Easton

Chris, it can be done with JavaScript, but I can't post an example until sometime tomorrow.

The other alternative is to create a page for each image and then link to the individual pages.
Each page will need an onload event in the body tag to force it to resize to the actual image size.

Not as hard as it sounds.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

Go to Steve page link he gave and look at the javascript code, you may be able to figure out how he was doing it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top