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 > Spry menus - using images for buttons
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Spry menus - using images for buttons

Réponse
 
LinkBack Outils de la discussion
Vieux 02/10/2008, 16h09   #1
david_allen_mac
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Spry menus - using images for buttons

A search of the forums shows two approaches, to use an image for a button in a
Spry menu.

One of them uses HTML to put an <img> into the [LI]. Here is the example I
found cited [contributed by arandlett - though said there not to work in IE7].

<ul class="MenuBarVertical" id="MenuBar1">
[LI]<img src="images/bullet.png" align="left" /><a class="MenuBarItemSubmenu"
href="index.htm">home</a></li>
[LI]<img src="images/bullet.png" align="left" /><a href="#">About</a> </li>
[/BULLET]

The other advises "find "background-color" and change it to "background-image:
url(link/to/image)" " [contributed by The only RaM].

Underlying of course, is the question, how does the HTML interplay (or not!)
with the Spry javascript?

By this time, there must be pretty wide experience. After all, putting
interesting buttons in the popups/dropdowns is in many ways what this is about.

We would be quite appreciative to learn what experience indicates, now, is
best practice. Or, does it depend, on ... ?

Thanks in advance for your , David Allen

  Réponse avec citation
Vieux 11/10/2008, 21h45   #2
david_allen_mac
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spry menus - using images for buttons

Let me add a note to my own post.

We would still be delighted to hear others' experience, with images in Spry
menus. One thing does emerge with a little further look: The Spry menu is
suited to using the _same_ image for each button. If the desire is to vary that
image (such as to use an unusual font, so that the text changes on each image),
then Fireworks clearly is the tool of choice.

Again, we would be pleased to hear other experiences, David Allen

  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 19h58.


Édité par : vBulletin® version 3.7.4
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 ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08292 seconds with 10 queries