View Full Version : embedding a MS WORKS SPREADSHEET
BWJONES
02-08-2006, 12:13 AM
I READ A SUMMARY "HOW TO EMBED AN EXCEL SPREADSHEET INTO A WEB PAGE."
Q1 - COULD I DO THE SAME WITH MICROSOFT WORKS SPREADSHEET ?
Q2 - THEY HAD :<ilayer src="steve.xls" width=100%....etc. and ended</ilayer>
THEY HAD :<iframe src="steve.xls" frameborder=0...etc. and ended </iframe>
DO I : JUST SWITCH THE "steve.xls" with my spreadsheet name: rivals totals 02-06 .wks and do I have to have it open?
slushy77
02-08-2006, 02:33 AM
hi BWJONES,
If it is absolutely necessary to embed xls or wks files in your webpages then the <object> tag should be used to embed the spreadsheet and provide alternative content for those lucky enough not to use MS products. <ilayer> is a propriety NS tag and is being depreciated. <iframe> is essentially a mini web browser and would pass loading non-html back to the actual browser.
<object id="mySpreadsheet" data="myspreadsheet.wks" standby="please wait whilst loading data" type="application/spreadsheet">If you cant see the data then you probably dont have microsoft</object>
Ideally you should transform your spreadsheet into an HTML table either, using a script on the server, if the spreadsheet is changing a lot; or as a one-off operation if the contents are static. There are loads of reasons why you should/shouldn't use html tables over spreadsheets, but to list them would open a whole string of debate. The only reason I am going to give is that not everyone can or wants to open a Microsoft spreadsheet via their webbrowser.
[polite request to other readers of this post - please,please ,please dont use this post as a point to discuss the pros and cons of using the products of a certain Seatle based company]
remember to turn caps-lock off as some people think this is shouting :thumbsup:
BWJONES
02-09-2006, 01:48 AM
thanks
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.