Page 1 sur 1

html et outlook express

Posté : 09 févr. 2004 18:31
par odyssee
bon j'ai un souci très bizarre avec outlook express
certains papiers en html ne s'affichent pas dans outlook (à l'envoi, pas à la réception, pour la réception je n'ai aucun souci tout marche)

pour cause: le code source est vide :o
si j'ouvre le meme fichier html avec ie, et que je recupère le code source en faisant un copier coller dans outlook, ca marche, je peux l'envoyer.
j'ai donc essayé de tricher en enregistrant un email que je m'étais envoyé par ce biais, comme papier à lettres
et bien ca ne marche pas... le code source est vide à nouveau..... :roll: :roll:
j'ai regle tous mes paramètres de securite internet au niveau le plus bas, je suis en format html dans outlook, j'ai active les pieces jointes et les images dans les messages, réparé ie6, chargé des dll... bref, je ne trouve aps d'ou ca vient
outlook express 6
ie 6 sp1
flash et shocwave
y a tout ce qu'il faut, la preuve c'est que en trichant ca marche....mais c'est pénible

Posté : 09 févr. 2004 19:04
par GregLand
Tu aurais pas créé ton papier a lettre avec Word par hasard ? :D

Posté : 09 févr. 2004 19:14
par odyssee
lol non
avec scrippy. Ca marche très bien chez tout le monde sauf chez moi :(
mais peu importe pourquoi le code source ne s'enregistre pas :o

Posté : 09 févr. 2004 19:18
par odyssee
le code quand j'ouvre avec outlook
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE>P {
MARGIN: 0px
}
.a {
BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; Z-INDEX: 5; RIGHT: 0px; LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; BORDER-LEFT: 0px; WIDTH: 100%; BOTTOM: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; POSITION: absolute; TOP: 0px; HEIGHT: 100%
}
.b {
BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; RIGHT: 0px; LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; BORDER-LEFT: 0px; WIDTH: 100%; BOTTOM: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; POSITION: absolute; TOP: 0px; HEIGHT: 100%
}
.i {
LEFT: -5000px; POSITION: absolute; TOP: 0px
}
.e {
BORDER-RIGHT: ridge; PADDING-RIGHT: 3pt; BORDER-TOP: ridge; PADDING-LEFT: 3pt; LEFT: 0px; PADDING-BOTTOM: 3pt; MARGIN: 3pt; BORDER-LEFT: ridge; WIDTH: 100%; PADDING-TOP: 3pt; BORDER-BOTTOM: ridge; TOP: 0px
}
.f {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; Z-INDEX: 5; RIGHT: 0px; LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: auto; BOTTOM: 0px; LINE-HEIGHT: 0; PADDING-TOP: 0px; POSITION: absolute; TOP: 0px; HEIGHT: auto
}
.m {
BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT-SIZE: 8pt; BORDER-LEFT: medium none; WIDTH: 100%; BORDER-BOTTOM: medium none; FONT-FAMILY: sans-serif; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
#STAT {
POSITION: relative
}
#D0 {
Z-INDEX: 1; LEFT: 369px; WIDTH: 391px; TOP: 0px; HEIGHT: 480px; BACKGROUND-COLOR: #e7e1dc
}
#D1 {
OVERFLOW-Y: scroll; LEFT: 469px; OVERFLOW: auto; WIDTH: 261px; POSITION: relative; TOP: 30px; HEIGHT: 420px
}
#D2 {
LEFT: 0px; WIDTH: 369px; TOP: 0px; HEIGHT: 480px; BACKGROUND-COLOR: #524a57
}
</STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV>&nbsp;</DIV></BODY></HTML>

le même ouvert avec ie
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD id="HD">
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<META name="OriginalGenerator" content="Computer generated using Scrippy 3.02, a product of Amthor Technologies Inc. Visit www.scrippy.com for more information." />
<TITLE></TITLE>
<STYLE type="text/css">
P { margin:0; }
.a { position:absolute; z-index:5; width:100%; height:100%; overflow:hidden; margin:0; border:0; padding:0; bottom:0; right:0; left:0; top:0; }
.b { position:absolute; width:100%; height:100%; overflow:hidden; margin:0; border:0; padding:0; bottom:0; right:0; left:0; top:0; }
.i { position:absolute; left:-5000px; top:0; }
.e { width:100%; padding:3pt; margin:3pt; border:ridge; top:0; left:0; }
.f { position:absolute; z-index:5; margin:0; padding:0; bottom:0; right:0; left:0; top:0; width:auto; height:auto; line-height:0; }
.m { border:none; font-family:sans-serif; font-size:8pt; text-align:center; width:100%; background-color:#ffffff; }
#STAT { position:relative; }
#D0 { left:369px; top:0px; width:391px; height:480px; z-index:1; background-color:#e7e1dc; }
#D1 { position:relative; top:30px; left:469px; width:261px; height:420px; overflow:auto; overflow-y:scroll; }
#D2 { left:0px; top:0px; width:369px; height:480px; background-color:#524a57; }
</STYLE>
<!--[if IE]><STYLE>
.f { width:100%; height:100%; }
</STYLE><![endif]-->
</HEAD>
<BODY bgcolor=#ffffff>
<FIELDSET id="NOSC" align="center" style="width:760px; border:0; padding-top:3pt; padding-bottom:3pt; font-size:8pt;"><DIV style="border:ridge">
<INPUT type="text" readonly="true" class="m" style="width:100%; font-size:8pt" value="The e-mail program showing this message is not displaying it as intended." />
<INPUT type="text" readonly="true" class="m" style="width:100%; font-size:8pt" value="This is normal while composing a new e-email or replying." />
<INPUT type="text" readonly="true" class="m" style="width:100%; font-size:8pt" value="In a received e-mail this means that the program has scripting disabled," />
<INPUT type="text" readonly="true" class="m" style="width:100%; font-size:8pt" value="or does not have a required feature, or the e-mail has been modified." />
<INPUT type="text" readonly="true" class="m" style="width:100%; font-size:8pt" value="For more information visit www.scrippy.com/help/mail" />
</DIV></FIELDSET>
<DIV align="center" contenteditable="false">
<SCRIPT language="JavaScript" type="text/ecmascript"><!--
function O(t){return document.getElementById(t);}
function S(t){return O(t).style;}
var msie=0,moz=0,ok=0;
if(document.getElementById)if(document.createElement){ok=1;
var ua=navigator.userAgent.toLowerCase();if(0<=ua.indexOf("msie"))msie=1;if(0<=ua.indexOf("gecko"))moz=1;
try{S("NOSC").display="none";}catch(e){}
}// -->
</SCRIPT>
<DIV id="STAT" class="a" align="left" style="position:relative; width:760px; height:480px; background-color:#ffffff">
<DIV id="D0" class="a">
<SPAN id="S0" class="b" >
<IMG id="I0" class="i" src="file:///D:/Mes Images/Mes images/III_mill_02.jpg" alt="" style="width:730px; height:1104px" />
</SPAN></DIV>
<DIV id="D1" class="a" contenteditable="true" style="font-family:'Comic Sans MS'">
</DIV>
<DIV id="D2" class="a">
<SPAN id="S2" class="b">
<IMG id="I2" class="i" src="file:///D:/Mes Images/Mes images/a_beckoning_light.jpg" alt="" style="width:369px; height:658px" />
</SPAN></DIV>
</DIV>
<DIV id="LM" class="e" align="left" style="width:760px; font-family:'Comic Sans MS'; background-color:#ffffff"><SPAN id="LMP" contenteditable="true" style="width:100%">
<BR><BR><CENTER>Loading, Please Wait...</CENTER>
</SPAN></DIV>
</DIV>
<DIV id="SC1" class="a" style="overflow:scroll; left:-500px; height:100px; width:100px"><DIV id="SC2" style="width:100%; height:100%"></DIV></DIV>
<SCRIPT language="JavaScript" type="text/ecmascript"><!--
var startf=0,loadtick="",maxn,mw=0,wh,ww,bh,bw,th,tw,pww=0,pwh=0;
var tmn=0,tmc=0,tmp=-1,tmst=0,tmctl=null,tmrt=new Array(),tmrf=new Array();
function X(){return 0;}
function W(){if(window.innerWidth){ww=window.innerWidth;wh=window.innerHeight;}else{ww=bo.offsetWidth-bw;wh=bo.offsetHeight-bh;}
x=st;while(x.offsetParent){wh-=x.offsetTop;ww-=x.offsetLeft;x=x.offsetParent;}}
function txt(n){
var i,t;if((i=n.nodeType)==3)return n.nodeValue;
if(i==1){t=n.nodeName.toUpperCase();if(t=="BR")return "\n";if(t=="IMG")return "X";}
t="";for(i=0;i<n.childNodes.length;++i)t+=txt(n.childNodes);return t;}
if(ok){
var scpx=0,i,j,x,y,bo=document.body,rn=X,dones=0;
var bos=bo.style,st=O("STAT"),sts=S("STAT"),lm=O("LM"),lms=S("LM");
bos.margin="0";
if(msie){
bos.overflow="hidden"; bw=bo.offsetWidth-bo.clientWidth; bh=bo.offsetHeight-bo.clientHeight;
bos.overflow="auto";}
try{x=y=O("NOSC");j="";while((x=x.previousSibling))j+=txt(x);i=/[\s\xA0]/g;
if(j.replace(i,"")=="")while((y=y.previousSibling))y.style.display="none";}catch(e){}
st.parentNode.align="left"; W();
sts.visibility="hidden";
O("LMP").contentEditable="false"; S("LMP").display="block"; S("LMP").padding="50px";
lm.className="";lms.position="absolute";
function lmsiz(){W();lms.top=st.offsetTop+"px";lms.left=st.offsetLeft+"px";
lms.width=lms.height="";
i=lm.offsetWidth;j=lm.offsetHeight;
if(msie)if((i<=ww)&&(j<=wh))bos.overflow="hidden";
lms.width=Math.max(i,ww)+"px"; lms.height=Math.max(j,wh)+"px"; }
window.onresize=lmsiz;lmsiz();
window.onload=DoSt;
var s0=S("D0"),w0,h0,rn0=rn; rn=R0;
s0.backgroundColor="#808080";
var oSp0=O("S0"),oI0=O("I0"); oI0.style.left=0; var sSp0=oSp0.style;
sSp0.backgroundImage="url('"+oI0.src+"')"; oI0.style.display="none";
var o1=O("D1"); var s1=o1.style; o1.contentEditable="false";
var s2=S("D2"),oSp2=O("S2"),oI2=O("I2"); oI2.style.left=0; var sSp2=oSp2.style;
var rn2=rn; rn=R2; s2.backgroundColor="transparent";
var ct2=1,adj2=0;
if(moz)window.setTimeout("DoSt()",2000);
}
function DoSt(){
if(dones) return; dones=1;
x=O("SCE"); if(x){ x=x.parentNode.childNodes;
j=x.length; while(0<=(j-=1)){y=x.item(j);if(y.style)y.style.display="none";
if(y.id=="SCE")break;}}
scpx=O("SC1").offsetWidth-O("SC2").offsetWidth;
s1.height="auto"; s1.overflowY=""; s1.overflow="visible"; s1.width=scpx+"px";
window.onbeforeprint=BefPr;window.onafterprint=AftPr;window.setTimeout("DispResize()",10);}
function DispResize(){
W(); if((ww==pww)&&(wh==pwh))return; pww=ww; pwh=wh;
if(startf==0)lmsiz();
if(tmctl!=null){ window.clearInterval(tmctl); tmctl=null;}
if(mw==0)if((mw=o1.offsetWidth)<=0)mw=1;
tw=Math.max(ww-scpx,547); th=109;
if(tw<mw+499)tw=mw+499; s1.width=(tw-499)+"px";
window.setTimeout("DispR2()",10); }
function DispR2(){
if(moz)bos.overflow="";
j=o1.offsetHeight+60; if(th<j) th=j;
if((ww-scpx<tw)&&((ww<tw)||(wh-scpx<th))) {
if(th<=wh-scpx) th=wh-scpx; }
else if(th<=wh) {
s1.width=(ww-499)+"px";
tw=ww; th=wh; if(moz)bos.overflow="hidden"; }
sts.width=tw+"px"; sts.height=th+"px"; DoSize(); }
function DoSize(){ maxn=40;
if(rn()!=0) {
if(startf==0) { loadtick+="+"; window.status=loadtick; }
window.setTimeout("DoSize()",10); return; }
W();if((ww!=pww)||(wh!=pwh)){pww=0;DispResize();return;}
if(startf==0){startf=1;
window.setTimeout("DoSt2()",10);}
if(startf==2) if(tmctl==null) tmctl=window.setInterval("TmRun()",10); }
function T(f,t){
if(tmp==-1) { while(++tmp<tmn)if(tmrt[tmp]==-1)break; if(tmp==tmn) ++tmn; }
tmrt[tmp]=tmc+Math.round(t); tmrf[tmp]=f; tmp=-1; }
function TmRun(){
var n,t=new Date(); if(tmst==0)tmst=t.getTime(); tmc=t.getTime()-tmst;
for(n=0;n<tmn;++n){ if(tmrt[n]<=tmc) if(tmrt[n]!=-1){ tmrt[n]=-1;tmp=n;tmrf[n](); }}}
function BefPr() {
if(tmctl!=null){window.clearInterval(tmctl);tmctl=null;}
tw=Math.max(670,547);th=109;
if(tw<mw+499)tw=mw+499;s1.width=(tw-499)+"px";
j=o1.offsetHeight+60;if(th<j)th=j;
sts.width=tw+"px";sts.height=th+"px";maxn=200;rn();}
function AftPr(){pww=0;DispResize();}
function R0(){
w0=Math.max(tw-369,1); s0.width=w0+"px";
h0=Math.max(th-0,1); s0.height=h0+"px";
sSp0.width=((Math.floor((w0+729)/730))*730)+"px";
sSp0.height=((Math.floor((h0+1103)/1104))*1104)+"px";
return rn0();}
function M2(){
adj2-=1; while(adj2<=-658)adj2+=658;
sSp2.top=adj2+"px";
T(M2,100);}
function R2(){
var h=Math.max(th-0,1); s2.height=h+"px";
var n=Math.floor((h-1)/658)+2;
sSp2.height=(n*658)+"px";
if(ct2<n){
while(ct2<n){ if((maxn-=1)<0)return 1;
x=oI2.cloneNode(false);
x.style.top=658*ct2+"px";
oSp2.appendChild(x); ++ct2;}}
return rn2();}
function DoSt2(){
window.onresize=X;lms.display="none";
if(msie)bos.overflow="auto";
T(M2,100);
sts.visibility="visible";startf=2;window.status="";window.onresize=DispResize;
tmctl=window.setInterval("TmRun()",10);DispResize();}
// -->
</SCRIPT>
<DIV id="SCE"></DIV>
</BODY>
</HTML>

Posté : 09 févr. 2004 19:25
par GregLand
Ah ben oui, c'est pô tout a fait l'même ! :o

Posté : 09 févr. 2004 19:36
par Naveed
heu juste par curiosité,
sSp0.width=((Math.floor((w0+729)/730))*730)+"px";
sSp0.height=((Math.floor((h0+1103)/1104))*1104)+"px";
return rn0();}
function M2(){
adj2-=1; while(adj2<=-658)adj2+=658;
sSp2.top=adj2+"px";
T(M2,100);}
function R2(){
var h=Math.max(th-0,1); s2.height=h+"px";
var n=Math.floor((h-1)/658)+2;
ça par exemple, ça sert à quoi ces fonctions mathématiques, des boucles whiles, des Math.max, des Math.floor .... ??

Posté : 09 févr. 2004 19:42
par odyssee
ca je suppose que ce sont des fonctions de mon browser.... quand je fais editer la page en cours
ne m'en demande pas trop j'y comprends rien lol :(
j'ai déja compris que si rien s'affichait dans outlook c'est parce que le code source etait vide... et que si je copiais le contenu du code recupéré sur ie , mon papier s'affichait correctement....
maintenant le contenu du code lol..... :D

Posté : 09 févr. 2004 19:45
par odyssee
</SCRIPT>
<DIV id="STAT" class="a" align="left" style="position:relative; width:760px; height:480px; background-color:#ffffff">
<DIV id="D0" class="a">
<SPAN id="S0" class="b" >
<IMG id="I0" class="i" src="file:///D:/Mes Images/Mes images/III_mill_02.jpg" alt="" style="width:730px; height:1104px" />
</SPAN></DIV>
<DIV id="D1" class="a" contenteditable="true" style="font-family:'Comic Sans MS'">
</DIV>
<DIV id="D2" class="a">
<SPAN id="S2" class="b">
<IMG id="I2" class="i" src="file:///D:/Mes Images/Mes images/a_beckoning_light.jpg" alt="" style="width:369px; height:658px" />
</SPAN></DIV>
</DIV>
<DIV id="LM" class="e" align="left" style="width:760px; font-family:'Comic Sans MS'; background-color:#ffffff"><SPAN id="LMP" contenteditable="true" style="width:100%">
<BR><BR><CENTER>Loading, Please Wait...</CENTER>
</SPAN></DIV>
</DIV>
<DIV id="SC1" class="a" style="overflow:scroll; left:-500px; height:100px; width:100px"><DIV id="SC2" style="width:100%; height:100%"></DIV></DIV>
je suppose que la partie utile du script c'est celle la... il y a des valeurs autres que zero alors que dans le premier tout est a zero et il n'y a pas de path pour mes images

Posté : 11 févr. 2004 15:55
par odyssee
:D ne cherchez plus
ce n'est pas outlook qui bug, c'est moi :langue: :langue: :langue:
j'ai refait 50 fois la procédure et 50 fois la même erreur.
pour visualiser des papiers contenant des scripts il fau dans le menu principal faire nouveau, nouveau avec... et aller chercher le papier par là. autrement, par n'importe quel autre menu, le script ne s'affiche pas....

Posté : 11 févr. 2004 16:35
par Naveed
bon ben c bien t'a trouvée comme une grande :D :wink:

Posté : 11 févr. 2004 17:56
par GregLand
Ben alors Odyssée ? une faiblesse ? :D

Posté : 11 févr. 2004 18:05
par odyssee
non pas une faiblesse
une defaillance neuronale complexe qui s'appelle "automatisme idiot" :twisted:

Posté : 11 févr. 2004 18:15
par GregLand
Oh m*rde... ça doit pas faire du bien ça ! :D

Posté : 11 févr. 2004 18:20
par odyssee
qui a mis une censure sur le mot "bug"? lol


croyez pas que je bug à ce point mdr :D

Posté : 11 févr. 2004 18:37
par Naveed
y a pas de censure sur le mot bug :D
je suis arrivé sur le forum et j'ai été surpris de voir que les mot commençant par b était censuré vu que j'ai pas touché au pano d'admin.
enfin c réparé donc y a plus de problème.

Posté : 11 févr. 2004 18:42
par odyssee
ma qué surprise
y a que deux admins ici qui peuvent faire ca.... lol
donc si ce n'est toi....
:D

Posté : 11 févr. 2004 18:49
par GregLand
c pas la peine de me regarder comme ça... c pô moi !
Erreur corrigée !

Posté : 11 févr. 2004 18:55
par odyssee
mouais :twisted:

Posté : 11 févr. 2004 19:06
par Naveed
mdrrrrrrrrrrrrr :D

:arrow: non, je soutiens greg :wink:
l'erreur est arrivé on ne s'est pas comment mais c réglé, sans doute l'esprit du forum qui passait par là :angel:

Posté : 11 févr. 2004 19:11
par odyssee
:D lol :D
dommage
ca tombait à pic dans mes troubles psychiatriques pourtant ces bugs qui vont et viennent :D