Afficher un message
Vieux 21/02/2008, 14h25   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Image Mouse Overs = Small source pic to large mouse oevr

You can do this many ways ways -

1. Don't use swap image - use Show/Hide layer instead. Have the alternate
image in a hidden layer that is shown when the trigger is 'tickled'. Using
this method you can have images that are any dimension.

2. Use swap image, but remove the dimensions from the original image's tag,
i.e., change this -

<img name="original" width="150" height="220" ...

to this -

<img name="original" ...

Now when you swap in your offsize image, there is no predefined size to
change it to. Be aware that this method may well result in an unpleasant
and undesirable 'rearrangement' of your page layout as it adjusts to your
new image's dimensions.

3. Pad the smaller image with canvas background color on all sides so that
all the images *are the same size*.

4. Use a SetText behavior to change the image reference in a container on
the page so that it will show the desired larger image in the proper place.
You can see an example here -

http://dreamweaverresources.com/tuto...extoflayer.htm


5. Use the PVII ShowPic extension - http://www.projectseven.com/

Take your pick....



--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"crashpolo" <webforumsuser@macromedia.com> wrote in message
news:fpjrlm$83a$1@forums.macromedia.com...
> Hi
>
> Just need to pick someones brains really ....mouse overs are fairly
> straight
> forward if you wanna swap the same size image but what if the mous eover
> image
> you want to display is larger ?
>
> I figured this out years ago and now cant remember for the life of me how
> to
> do it ...I think you edit the script dreamweaver puts in...
>
> So to recap ...small source image then mouse over to display a large
> one...also can you re do the positioning on where the mouse over displays
> ?
>


  Réponse avec citation
 
Page generated in 0,05179 seconds with 9 queries