#1
|
|||
|
|||
![]()
Hello,
I am using a script suggested from another thread called "floating images". The script works perfect except for one thing, it adds commas and I want to suppress them. The following is my script: Code:
var cellImg = Resource("cell").content; var voiceImg = Resource("voice").content; var faxImg = Resource("fax").content; var emailImg = Resource("email").content; var numbers = [ [Field('EMAIL'), emailImg], [Field('PHONE'), voiceImg], [Field('CELL'), cellImg], [Field('FAX'), faxImg] ].filter(function(s){return s[1]}).map( function(s){ return '<p br=false superoffset=70 superratio=100>' + s[1] + '<superscript> ' + s[0] + '</superscript>'; }) return numbers; Thanks! -Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|