no save
Assistance
Achat
News

Forum | programmation
[flash] txt externe : retour aléatoire html
lolothe, le jeu. 07 déc. 2006 à 10:19:55
Merci pour ta réponse, voici mon html (sans les meta et avec une petite censure d'url à la fin !)


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>

<SCRIPT LANGUAGE="JavaScript">
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

function checksize() {
window.resizeTo(850,720);
}
// Handle all the the FSCommand messages in a Flash movie
function conteneur_DoFSCommand(command, args) {
var conteneurObj = InternetExplorer ? conteneur : document.conteneur;
if (command=="prerequis") {
FenPrerequis = window.open(args,'popup2','left=87,top=18,scrollbars=false,toolbars=false,status=false');
FenPrerequis.focus();
}
if (command=="imprimable") {
VersionImprimable.focus();
VersionImprimable.print();
}
}

// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub conteneur_FSCommand(ByVal command, ByVal args)\n');
document.write(' call conteneur_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}

</SCRIPT>
</HEAD>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="checksize()">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
ID="conteneur" WIDTH="840" HEIGHT="690" ALIGN="">
<PARAM NAME=movie VALUE="conteneur.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="conteneur.swf" quality=high bgcolor=#FFFFFF WIDTH="840" HEIGHT="690" swLiveConnect=true ID="conteneur" NAME="conteneur" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

<IFRAME SRC="version_imprimable.htm" NAME="VersionImprimable" ID="VersionImprimable" HEIGHT="0" WIDTH="0"></IFRAME>
<img src="http://[CENSURE:p].dat">
</BODY>
</HTML>

Voilà, les conseils pour mieux faire en html ou en javascript m'intéressent, bien sûr, mais ma priorité svp c'est le bug que j'ai décrit, merci !

Précédentoberion
déc. 06
oberion
déc. 06
Suivant
REPONSES
oberion
déc. 06
lolothe
déc. 06
oberion
déc. 06
lolothe
déc. 06
oberion
déc. 06
lolothe
déc. 06
oberion
déc. 06
lolothe
déc. 06
lolothe
déc. 06
Version Web
Réalisé par RedShift
no save