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 > Dynamic Changes to MenuBars
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Dynamic Changes to MenuBars

Réponse
 
LinkBack Outils de la discussion
Vieux 03/10/2008, 18h04   #1
AmeliaBob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Dynamic Changes to MenuBars

I have an application where I want the user to be able to select from a groupl
of items in a drop down menu. I do not know at design time how many there
might be. Prior to laoding the html page I will know. How can I do this?

  Réponse avec citation
Vieux 04/10/2008, 14h48   #2
Maneet Puri
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Dynamic Changes to MenuBars

Hi,

I assume that you are using Javascript for creating the drop down menu and
this javascript work on arrays for fetching the item in and menu, having said
this there are two solutions to your problem: -

a) If you can change the extension of the page to PHP or ASP then you can
directly fetch the items to be displayed from the database and create the array
for javascript on fly.

b) If you have to keep HTML as the extension then create an XML file for the
list of items and in the Javascript instead of using array as source of items
use this XML file and whenever there is a new item to be added then it will
simply have to be added in the XML file.

Hope this s.

Best Regards,

Maneet
LeXolution IT Services (P) Ltd.
http://www.lexolutionit.com

  Réponse avec citation
Vieux 04/10/2008, 16h59   #3
AmeliaBob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Dynamic Changes to MenuBars

Actually I was using the Spry widget
  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 05h43.


É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,07823 seconds with 11 queries