J
|
Jane 2/9/2007 |
Andre, <a href="mp3/mymp3.mp3" target="_blank" onClick="java script:PlayerOpen('My MP3 Song',this.href); return false">Play MP3</a> |
A
|
asimha author 2/9/2007 |
Andre, to add you soundpop.js file turn on HTML mode on the Visual Editor tab and add your code in it: <script language="JavaScript" type="text/JavaScript" src="soundpop.js"></script> Then you need to copy soundpop.js to the output folder. To show field as custom hyperlink on the List page double click on the field on the Visual Editor tab, select Custom and add your code in it:
|
A
|
asimha author 2/9/2007 |
I tried this in the Custom box but obviously my syntax is very poor :-( |
![]() |
Sergey Kornilov admin 2/10/2007 |
Try to use the following in Custom Expression field: $value= '<a href="' . $data["mp3"] . '" target="_blank" onclick="java script:PlayerOpen(' . $data["song_name"] . ',this.href,'1'); return false">MP3</a>'; |
A
|
asimha author 2/10/2007 |
Try to use the following in Custom Expression field: $value= '<a href="' . $data["mp3"] . '" target="_blank" onclick="java script:PlayerOpen(' . $data["song_name"] . ',this.href,'1'); return false">MP3</a>';
|
A
|
asimha author 2/12/2007 |
Problem solved, correct syntax is: |