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:
firewall ports for Mac OS X/WebCatalog (2001)
WebCat-Typhoon-WebTen (1998)
can WC render sites out? (1997)
[search] & [encrypt]/[decrypt] (2001)
2nd Request for help/advice on variable pricing (2000)
Re:no [search] with NT (1997)
wild question (1998)
all records returned. (1997)
RePost: AutoReload? RequireComment? InterpretAll? (1999)
WC Database Format (1997)
OT: U.S. Holidays Database (2005)
[OT] Multihoming Windows 2003 Server (2005)
ShowIf & HideIf Question? (1998)
Re:appending to the database (1999)
AutoCommit Preference? (1998)
Append again (1999)
WebCat2b12--[searchstring] bug (1997)
Separate SSL Server (1997)
Nested vs conditional (1997)
Funny Chars (1999)