• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Adding small pop-up window with text when a Hotspot is clicked

I've just got Dreamweaver (and the answer is probably in the manual somewhere), but please help anyway?
I'd like to do the following:
Existing pages are a frameset (top, border, display); clicking a name in border shows a .jpg file in display; there are a lot of (graphics) names - each one has the name in the graphic, as well.
I'd like to make the name in the graphic a hotspot and cause a small window to open giving more details about the graphic.

How do I do this?
Just using Alt in the graphic does not serve, I think - text only remains there for a short while.


 

0
Angie111297
Asked:
Angie111297
  • 2
1 Solution
 
intheCommented:
yep i gues you realise the alt tag is for if the image does not display (for instance user has images turned off in webbrowser)they would see alt tag instead.

do you mean the image has its name embedded in the image.
if so then here is approx steps of creating hotspot to open new window:

Right click the image and choose properties so the properties dialog window is showing.
in the bottom right corner of properties window click the grey arrow to drop down/open the properties window (some of the properties are hidden until this is done including hotspot/imagemap tools).

in the map field type some name and using one of the hotspot tools select an area of the image (the area with image name if this is to be the hotspot)

now to open popup window you can either use a behavior or type the link in the hotspot properties direct and select _blank for target.

for a behavior can set more details of the popup window so for tat dont type anything in "link" but instead  select the hotspot and do a f8 (opens behavior window or do it off) and add a behaviour by clicking the "plus" sign and choosing the "open browser window" behaviour  which opens a dialog with which you can set the popup windows url,size ,turn off the new windows toolbars etc ..
and thats about it.

hope it makes sense to follow ;-)

Regards Barry



0
 
namiesiaoCommented:
or you may want to use layers. create a layer and make it hidden by default and use onMouseOver to show the layer when the cursor moves over the name. IMO layers looks nicer and you also have control over the position of the layer.
0
 
Angie111297Author Commented:
thanks to both of you, I think I'll use the layer option as I can place it where I want.
0
 
namiesiaoCommented:
Thanks Angie =)
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now