Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 6:28 p.m. on August 22, 2006

New simulation file box + crossword guessing

Http://www.yamago.net/components/

Take a look at the code, guessing that the answer then released, supports the introduction of this method :
[color=red] Crossword guessing, a note to explain the principles of integrity to 3 pm Oh [/color]

Ai 100 I have to disagree. .
Lai playing like a flash with some of the Eastern and throw into the document, then we do not know, take. .
(Eyes are spent. . )

Specific explanation? I do not see here.

Point is to find the button, then the document selection dialog box, and be able to do the
[html]
"Form name="_ftn1"" upload "method=" post "enctype=" multipart/form-data "action=" # ""
"Input filled="f"" file "type=" file "name="_ftn1"" fichier ""
"Input type=submit value=" then submitted points here, ""
"/form>
"Input type=button onclick=" upload.fichier.click () "value=" point here, ""
[/html]

The former method is more than a wish, but I found it submitted, and failure to submit the upswing in the frame before it was submitted automatically emptied and the contents of the file

In fact, nothing to do with Flash

[code]
Function upLoadFile (PL, pScript, pData) (
Window.document.upload.action=pScript+ "?browseLC=" +pLC+ "&dataLC=" +pData;
MakeEmptyWindow ();
Window.document.upload.submit ();
}
[/code]
Put on file Form layer, hidden.

Also put an iframe do moves. Flash Script bars in his control.

Many ah, I faint.

In short, I guess the result : flash control Javascript actions to control the real Form.

FLASH only trigger a bit and focus on things not related with FLASH
But you also said that the key fast, filling 啊~

Is the thing XMLHTTP?

No.

Upload Form will be in a hidden layer, the flash point "browse" button, the onclick file transfer, transmission parameters will be set to flash, flash update page
According to the "upload" button, then deployed FLASH uploadfile (), the submission of Form hidden layer Lane, completed craft work. PScript I think it should be used to upload a background of the procedure bars

He said his age group could I may be, after some time not to see what Mun. Like the way with iframe

Withheld, if I understand right

[html]
"Historic Significance of the Transitional Budget body" margin:0 ""
"Input Historic Significance of the Transitional Budget" width:100 "id=a><button Historic Significance of the Transitional Budget" width:50 "" go</button>
"Input type=" file "Historic Significance of the Transitional Budget" position:absolute;top:0;left:0;width:150;filter : alpha (opacity=0) "onpropertychange=" a.value=this.value ""
"/body>
[/html]

Note : discoverer of the sea conditions, I Lead : D

Secret here ah
[color=red]NCS's Words, I see this trip! [/color]

"Style type=" text/css ""
<!--
Loop filter : 0% respectively {-moz-opacity : alpha (opacity=0) ;}
: : R espectively {-moz-opacity IFRAME alpha filter (opacity=0) ;}
-->
"/style>

[html]
"HTML>
"HEAD>
"Meta http-equiv=Content-Type content=" text/html; charset=ISO-8859-1 ""

"Style type=" text/css ""
<!--
Loop filter : 0% respectively {-moz-opacity : alpha (opacity=100) ;}
: : R espectively {-moz-opacity IFRAME alpha filter (opacity=100) ;}
-->
"/style>
"Script>
Window.onerror=function (pMes, pUrl, pLine) (return true;)
Var _xmouse, _ymouse, box={}, lcFile= "" lcFileTmp= "";
Function init () (
MakeEmptyWindow ();
B=document.getElementById ( "browseLayer"). Style;
F=document.getElementById ( "flashLayer");
W=document.getElementById ( "file");
D=document.flashLayer;
LWin= (window.navigator.appName== "Microsoft Internet Explorer")
If (window.navigator.platform!= "MacPPC") (
If (lWin) w.onchange=browse;
Else w.onclick=browse;
LWin w.onclick =) else? BrowseIE : browse;
W.onblur=function () {lcFile=lcFileTmp;}
}
MousePos function (e) (
If (e) (
_xmouse=e.pageX;
_ymouse=e.pageY;
) Else (
_xmouse=event.x;
_ymouse=event.y;
        }
Var mouseX=_xmouse+document.body.scrollLeft;
Var mouseY=_ymouse+document.body.scrollTop;
If (mouseX>box.xmin mouseY>box.ymin, named, named, named mouseX<box.xmax mouseY<box.ymax) (
B.left=mouseX-70;
B.top=mouseY-10;
) Else browseDisabled ();
}
Function browseEnabled (PL, pMode, pAlign, pXflash, pYflash, pXmin, pYmin, pXmax, pYmax, pXm, pYm, pCursor) (
Switch (pMode) (
Case "showAll" :
LScaleX=lScaleY=Math.min (d.offsetWidth/pXflash, d.offsetHeight/pYflash);
Var lX= (d.offsetWidth-pXflash*lScaleX) /2;
Var lY= (d.offsetHeight-pYflash*lScaleY) /2;
Break;
Case "noScale" :
LScaleX=lScaleY=1;
If (pAlign.indexOf ( "T") !=-1) lY=0;
Else if (pAlign.indexOf ( "B") !=-1) lY= (d.offsetHeight-pYflash);
Else lY= (d.offsetHeight-pYflash) /2;
If (pAlign.indexOf ( "L") !=-1) lX=0;
Else if (pAlign.indexOf ( "R") !=-1) lX= (d.offsetWidth-pXflash);
Else lX= (d.offsetWidth-pXflash) /2;
Break;
Case "exactFit" :
Var lScaleX=d.offsetWidth/pXflash;
Var lScaleY=d.offsetHeight/pYflash;
Var lX=0, lY=0;
Break;
Case "noBorder" :
LScaleX=lScaleY=Math.max (d.offsetWidth/pXflash, d.offsetHeight/pYflash);
Var lX= (d.offsetWidth-pXflash*lScaleX) /2;
Var lY= (d.offsetHeight-pYflash*lScaleY) /2;
Break;
        }
W.style.cursor=pCursor "hand" : "default";
B.visibility= 'visible';
LcFileTmp=pLC;
Box.xmin=d.offsetLeft+pXmin*lScaleX-2+lX;
Box.ymin=d.offsetTop+pYmin*lScaleY-2+lY;
Box.xmax=d.offsetLeft+pXmax*lScaleX+4+lX;
Box.ymax=d.offsetTop+pYmax*lScaleY+4+lY;
B.left=d.offsetLeft+pXm*lScaleX+lX-70;
B.top=d.offsetTop+pYm*lScaleY+lY-10;
Document.onmousemove=mousePos;
}
ClickIEMac function (PLC) (
LcFile=pLC;
W.click ();
}
BrowseDisabled function () (
B.visibility= 'hidden';
Document.onmousemove=null;
}
Browse function () (
If (w.value!= "") (
Wp= window.open ( "", "pop");
SetTimeout ( "makeWindow ( 'getFile' lcFile, w.value, '')", 100);
        }
BrowseDisabled ();
}
BrowseIE function () (
SetTimeout ( "browse ()", 5200);
}

Function upLoadFile (PL, pScript, pData) (
Window.document.upload.action=pScript+ "?browseLC=" +pLC+ "&dataLC=" +pData;
MakeEmptyWindow ();
Window.document.upload.submit ();
}
Function upLoadEnd (PL, pStatus, pFile, pData) (
Wp= window.open ( "", "pop");
SetTimeout ( "onUpLoadEnd ( '" +pLC+ "'," +pStatus+ " '" +pFile+ "', '" +pData+ "')", 100);
}
Function onUpLoadEnd (PL, pStatus, pFile, pData) (
MakeWindow ( "getUpload" promoter, pStatus, pFile, pData);
Window.document.upload.reset ();
If (window.navigator.platform!= lWin, named "MacPPC") window.document.upload.submit ();
}
MakeEmptyWindow function () (
Wp= window.open ( "", "pop");
Wp.document.open ();
Wp.document.write ( ' "HTML><BODY bgcolor=" #999999 "Historic Significance of the Transitional Budget" overflow:hidden "" </BODY></HTML>');
Wp.document.close ();
}
Function makeWindow (pMeth, pBrowse, pTxt, pFile, pData) (
Wp.document.open ();
If (typeof pData== "undefined") pData= "";
Var lTemp= ' "HTML><BODY Historic Significance of the Transitional Budget" overflow:hidden "bgcolor=" #999999 "" <OBJECT classid= "clsid : D27CDB6E-AE6D-11cf-96B8-444553540000 "WIDTH=" 1 "HEIGHT=" 1 "filled="f"" browse "and" ';
LTemp+= ' "PARAM NAME=movie VALUE=" browse.swf ""';
LTemp+= ' "PARAM NAME=FlashVars VALUE=" methLC=' +pMeth+ '&browseLC=' +pBrowse+ '&txtLC=' +pTxt+ '&fileLC=' +pFile+ '&paramLC=' +pData+ ' ""' ;
LTemp+= ' "EMBED defended" browse.swf "FlashVars=" methLC=' +pMeth+ '&browseLC=' +pBrowse+ '&txtLC=' +pTxt+ '&fileLC=' +pFile+ '&paramLC=' +pData+ ' "WIDTH=" 1 "HEIGHT=" 1 "NAME=" browse "' ;
Wp.document.write (lTemp+ 'TYPE= "application/x-shockwave-flash" "</EMBED></OBJECT></BODY></HTML>');
Wp.document.close ();
}
"/script>
"TITLE>Yamago - Component section-YamZbrowser</TITLE>
"Meta http-equiv=" Content-Type "content=" text/html; charset=iso-8859-1 "" </HEAD>
"Base style='mso-footnote-id:ftn1'" http://www.yamago.net/components/ ""
"BODY bgcolor=" #999999 "onload=" init (); "Historic Significance of the Transitional Budget" overflow:hidden ""
"Center>
"OBJECT classid=" clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 "codebase=" http : //download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0. 0 "WIDTH=" 750 "HEIGHT=" 700 "filled="f"" flashLayer "ALIGN=" "Historic Significance of the Transitional Budget" z-index:10; ""
"PARAM NAME=movie VALUE=" home.swf "" "PARAM NAME=quality VALUE=high>" PARAM NAME=bgcolor VALUE=#FFFFFF>
"PARAM NAME=wmode VALUE=" Opaque ""
"Script>
Document.write ( ' "EMBED defended" home.swf "quality=high bgcolor=#FFFFFF wmode=" Opaque "flashvars=" __yamzbrowser=' +window.navigator.appName+ ' "WIDTH=" 750 "HEIGHT=" 700 "NAME=" flashLayer "ALIGN=" "TYPE=" application/x-shockwave-flash "PLUGINSPAGE=" http : //www.macromedia.com/go/getflashplayer "" </EMBED> ');
"/script>
"/OBJECT>
"/center>
"Assume filled="f"" browseLayer "Historic Significance of the Transitional Budget" position:absolute; width:100px; height:10px; z-index:15; 0px; top left : : 0px; visibility:hidden; ""
"Form name="_ftn1"" upload "method=" post "enctype=" multipart/form-data "target=" pop ""
"Input filled="f"" file "type=" file "name="_ftn1"" fichier "size =" 1 ""
"/form>
"/div>
"IFRAME defended" "name="_ftn1"" pop "width=200 height=50 frameborder=" 0 "scroll=" no "," </IFRAME>
"OBJECT classid=" clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 "
Codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH= "10" HEIGHT= "10" filled="f" "wrap" ALIGN= "" "
"PARAM NAME=movie VALUE=" stats.swf "" "PARAM NAME=quality VALUE=high>" PARAM NAME=bgcolor VALUE=#999999> "EMBED defended" stats.swf "quality=high bgcolor=#999999 WIDTH=" 10 "HEIGHT=" 10 "NAME=" wrap "ALIGN=" "
TYPE= "application/x-shockwave-flash" PLUGINSPAGE= "http://www.macromedia.com/go/getflashplayer" "</EMBED>
"/OBJECT>
"Script>
D=document;
S=screen;
Nav=navigator.appName;
Nav!= "Netscape" ?color=s.colorDepth:color=s.pixelDepth;
Ref= (d.referrer== "")? "" : Escape (d.referrer);
= "?nav=" +nav+ "&ref=" +ref+ "&screen=" +s.width+ "X" +s.height+ "&color=" +color+ "&cache=" + (new Date (). GetDate () + "-" +new Date (). GetMonth ());
D.write ( ' "various factions of the party yesterday signed a" http://ns234.ovh.net/~yamago/stats/stats.gif' +i+ ' "width=" 1 "height" 1 "," "Concerning');
"/script>
"/BODY>
"/HTML>
[/html]

[html]
"Html>
"Head are
"Meta http-equiv=" Content-Type "content=" text/html; charset=gb2312 ""
"Meta name="_ftn1"" generator "content=" Microsoft FrontPage 4.0, ""
"Meta name="_ftn1"" ProgId "content=" FrontPage.Editor.Document ""
"Title>New Page 2</title>
"/head>

"Body onmousemove=logo.style.left=event.x-100;logo.style.top=event.y-10;>

"Input type=" file "name="_ftn1"" logo "size =" 10 "value=" "Historic Significance of the Transitional Budget" position:absolute;filter : alpha (opacity=0); "type=" "input" button "value=" Click on it, ""
"/body>

"/html>
[/html]

Ding Dong-correct ~:D
Alpha is a [color=red] set up a file box with the mouse [/color]

The reason for alpha, is to frame the case file can not see the exact point to file box buttons

And it is to follow the mouse click can be triggered before FLASH or other things that simulated the effects of high brightness browse button when the mouse button after entering the false, let button color (or other Gao effect), and then file box "--visible there," then click on acceptable. with the click () method is irrelevant

Then the final three minutes 51windows 啦~ Congratulations Congratulations on the successful completion of the activities and continue Zhiding days off will allow the master secret simulation file box next to no longer worry 啦~

Really amazing!

D regard : "Vernier select> hidden below. . . . .

: : Confused with alpha select not hidden

Visibility+alpha
To address input type= "file" poor control of the size, enter the picture, visible and follow the mouse. .

Now that iframe to do? Stealthy. .

Btw : to learn. .

Xuxiankuang not see how so?
[html]
"Historic Significance of the Transitional Budget body" margin:0 ""
"Input Historic Significance of the Transitional Budget" width:100 "id=a><button Historic Significance of the Transitional Budget" width:50 "" go</button>
"Input type=" file "Historic Significance of the Transitional Budget" position:absolute;top:0;left:0;width:150;filter : alpha (opacity=0) "onpropertychange=" a.value=this.value ""
"/body>
[/html]

Hidefocus

A presentation layer
[html]
"Assume Historic Significance of the Transitional Budget" position:absolute;top:0;left:-80;width:150;filter:alpha (opacity=10), ""
"Input type=" file "onpropertychange=" a.value=this.value ""
"/div>
[/html]

Guoshuang said in a message


Through target will be submitted to the iframe content, so that pages will not jump




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com