Re: [OT] JS snippet needed
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66923
interpreted = N
texte = ** Correction **devaulw@onebox.com wrote:> Can you post what you ended up using?> > BillSure.... this uses an "ID=" param for the
element called det_pic.----START Script (need to fill in WebDNA voids)----[!] ** Format the array with WebDNA search stuff ** [/!]var array2Data = new Array();// [!]** excluding all the webdna stuff to find the values for the array ** [/!]// [text]count=0[/text]// [founditems]array2Data[[count]]= '[COLNAME]|[BIG_IMAGE]|';// [text]count=[math][count]+1[/math][/text]// [/founditems][!] ** Sample results from abovearray2Data[0]= 'RED|somepic.jpg|';array2Data[1]= 'BLUE|somepic1.jpg|';array2Data[2]= 'GREEN|somepic2.jpg|';[/!][!] ** Updates the detail image up change of the color select menu ** [/!]function UpdateImage(val,ary,id){ var imgobj=document.getElementById(id); for (var zxc0=0;zxc0 <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
** Correction **devaulw@onebox.com wrote:> Can you post what you ended up using?> > BillSure.... this uses an "ID=" param for the element called det_pic.----START Script (need to fill in WebDNA voids)----[!] ** Format the array with WebDNA search stuff ** [/!]var array2Data = new Array();// [!]** excluding all the webdna stuff to find the values for the array ** [/!]// [text]count=0[/text]// [founditems]array2Data[[count]]= '[COLNAME]|[BIG_IMAGE]|';// [text]count=[math][count]+1[/math][/text]// [/founditems][!] ** Sample results from abovearray2Data[0]= 'RED|somepic.jpg|';array2Data[1]= 'BLUE|somepic1.jpg|';array2Data[2]= 'GREEN|somepic2.jpg|';[/!][!] ** Updates the detail image up change of the color select menu ** [/!]function UpdateImage(val,ary,id){ var imgobj=document.getElementById(id); for (var zxc0=0;zxc0 <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Donovan Brooke
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
virus alert; Jdbgmgr.exe (2003)
mail list (1998)
[protect] (2000)
Emailer again (1997)
emailer (1997)
OBDC Support (1997)
[SHOWIF AND/OR] (1997)
Dates (1996)
Using [Include] Context (1999)
Dummy Credit Card Number for debug? (1997)
LetterRip and WebCat (1998)
WC1.6 to WC2 date formatting -FIXED! (1997)
Sample Tearoom Search Error (1997)
Multiple FlushDatabases (2000)
Date Formats (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
shownext (1997)
WebCat2: Items xx to xx shown, etc. (1997)
File upload in Mac OS X (2002)
2.0 Info (1997)