PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > Image Mouse Overs = Small source pic to large mouse oevr
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Image Mouse Overs = Small source pic to large mouse oevr

Réponse
 
LinkBack Outils de la discussion
Vieux 21/02/2008, 12h43   #1
crashpolo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Image Mouse Overs = Small source pic to large mouse oevr

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
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
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 21h02.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09586 seconds with 10 queries