<div id="mp3player49">
<script type="text/javascript">
var myParams =
[
// File properties
['duration', ''],
['file', '/iras/html-2008/30-hadrianus.mp3'],
['type', 'sound'],
// Colors
['backcolor', 'FFFFFF'],
['frontcolor', '000000'],
['lightcolor', 'A00000'],
// Layout
['width', '490'],
['height', '49'],
// Behaviour
['autostart', 'false'],
['volume', '80'],
// External
['abouttext', 'hangarchívum'],
['aboutlink', 'http://deske.hu'],
['id', 'ply49']
];
var so49
= new SWFObject ("/iras/audio/player.swf", "player49",
myParams[6][1], myParams[7][1], "8", "#FFFFFF", "high");
so49.addParam("menu", "false");
so49.addParam('allowScriptAccess',
'always');
so49.addParam('allowfullscreen', 'true');
var fullParams = "";
for (var i=0; i<myParams.length; i++) {fullParams += "&" + myParams[i][0] + "="
+ myParams[i][1];}
so49.addParam('flashvars',
fullParams);
so49.write("mp3player49");
</script>
</div>
ez a fejlécbe---nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
3. a következő sort illesszed be ( xj.hm) minden oldal fejlécébe, a <head> és </head> tagek közé:
innét a vésztartalék --------nnnnnnnnnnnnnnnnnnnnnn
<div id="mp3player17">
<script type="text/javascript">
var myParams =
[
// File properties
['duration', ''],
['file', '/iras/link/a-zsarnoks.mp3'],
['type', 'sound'],
// Colors
['backcolor', 'FFFFFF'],
['frontcolor', '000000'],
['lightcolor', 'A00000'],
// Layout
['width', '490'],
['height', '49'],
// Behaviour
['autostart', 'false'],
['volume', '80'],
// External
['abouttext', 'hangarchívum'],
['aboutlink', 'http://deske.hu'],
['id', 'ply17']
];
var so17
= new SWFObject ("/iras/audio/player.swf", "player17",
myParams[6][1], myParams[7][1], "8", "#FFFFFF", "high");
so17.addParam("menu", "false");
so17.addParam('allowScriptAccess',
'always');
so17.addParam('allowfullscreen', 'true');
var fullParams = "";
for (var i=0; i<myParams.length; i++) {fullParams += "&" + myParams[i][0] + "="
+ myParams[i][1];}
so17.addParam('flashvars',
fullParams);
so17.write("mp3player17");
</script>
</div>