Call javascript in IE open Excel
Related Tags:
<! DOCTYPE html PUBLIC "- / / w3c / / DTD HTML 4.0 Transitional / / EN">
<HTML>
<HEAD>
<META Http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE> Top30 pin-table </ TITLE>
</ HEAD>
<BODY>
<input Name="shanghai" type="button" class="but" id="shanghai" onClick="StartExcel('上海')" value="上海店">
<SCRIPT LANGUAGE="Javascript">
Var idTmr = "";
Function StartExcel (strFileName)
(
Var oExcel;
Var oWorkbook;
Var strAllName;
OExcel = new ActiveXObject ( "Excel.Application");
/ / If (null strFileName = | | strFileName = "")
/ / (Return;
/ /)
StrAllName = "\ \ \ \ ep-hgh \ \ Top30 pin-table \ \ renewed sell-TOP30 investment table -" strFileName. "Xls";
OExcel.Workbooks.Open (strAllName);
/ / OExcel.Workbooks.Open ( "file: / / ep-hgh/Top30 pin-table / renewal sell investment-TOP30 table - Shanghai. Xls");
OExcel.DisplayAlerts = false;
OExcel.Visible = true;
/ / OExcel.Quit ();
/ / OExcel = null;
/ / Anti-death process EExcel the key! ! Must! ! ! Downmoon serious statement
IdTmr = window.setInterval ( "Cleanup ();", 1000);
)
Function Cleanup () (
Window.clearInterval (idTmr);
CollectGarbage ();
)
</ SCRIPT>
</ BODY>
</ HTML>
- JavaScript build with the CSS + page tab
- Absolute classic pulley news show (javascript + css)
- If I really like HTML, CSS and JavaScript again?
- Call css javascript
- In the CSS style exterior use JavaScript
- CSS + javascript dialog box of colors
- JavaScript dynamic CSS, rejuvenate technology
- HTML, JavaScript, css reference case
- Javascript - css Cascading Style Sheets
- CSS + JavaScript create cool Menu
- Javascript and CSS will be written into a document
- Calling in the CSS JAVASCRIPT
- [Javascript] [CSS] runtimeStyle and style, cssText
- Javascript entry (for CSS / JS / XSS beginners reference)
- Web layout display. Index posted CSS + javascript
- Making use of JavaScript and CSS floating menu
- Several good php, css, the javascript IDE.
- Css + javascript drop-down menu
- By Xslt / CSS / Xml / Javascript labeling
- Javascript + css achieve tab function




