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:
Running 2 two WebCatalog.acgi's (1996)
Subtotal help (1997)
Hiding HTML and page breaks (1997)
WebDNA equivalent for $REQUEST_URI (2004)
creating a ShipCosts database (1997)
WebCat2 several catalogs? (1997)
BUG in [showif] using ^ (contains) (1997)
Virtual hosting and webcatNT (1997)
weiered lookup (2004)
Another question about credit cards (1997)
Searching/sorting dates (1997)
WebCat2: Items xx to xx shown, etc. (1997)
WebDNA security (2004)
[WebDNA] List Files question (2009)
CORR: date format (2000)
Sorting by date (1997)
Javascripts (1998)
Stopping a [Loop] in mid-stream ... (1997)
default value from Lookup (was Grant, please help me) (1997)
Sendmail Problems (2003)