Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: naming arra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 35476 of 36703
Post > Topic >>

Re: naming array values?

by "Tim Williams" <timjwilliams at gmail dot com> May 4, 2008 at 11:24 PM

"Pukeko" <pukeko.taniwha@[EMAIL PROTECTED]
> wrote in message 
news:eab0f478-cfc2-483f-b888-e095d4c2dbee@[EMAIL PROTECTED]
> Hi, this is an array that is used for a dropdown menu.
>
> var imageArray = new Array(
> "ecwp://" + do***ent.location.host + "/massey/images/massey/
> massey_07_fullres.ecw",
> "ecwp://" + do***ent.location.host + "/sampleiws/images/usa/
> 1metercalif.ecw",
> "ecwp://" + do***ent.location.host + "/sampleiws/images/australia/
> parramatta.ecw";
>
> when the menu is displayed it shows the whole value
>
> "ecwp://" + do***ent.location.host + "/massey/images/massey/
> massey_07_fullres.ecw""
>
> is there a way i can just display a name for the image in the dropdown
> menu, like "Massey 2007"
>
> cheers

How are you building the menu ?  If you have code to do that (and it's 
always useful to include that in your post), then just adjust to suit.

Otherwise, you haven't provided enough information to answer your queston.

Tim
 




 6 Posts in Topic:
naming array values?
Pukeko <pukeko.taniwha  2008-05-04 21:29:23 
Re: naming array values?
"Tim Williams"   2008-05-04 23:24:57 
Re: naming array values?
Tom Cole <tcole6@[EMAI  2008-05-05 05:26:37 
Re: naming array values?
unbewusst.sein@[EMAIL PRO  2008-05-05 15:05:50 
Re: naming array values?
Thomas 'PointedEars' Lahn  2008-05-07 00:26:31 
Re: naming array values?
Thomas 'PointedEars' Lahn  2008-05-07 00:02:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 28 7:52:42 CDT 2008.