473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Non IE equivalent to IE's data

A friend of mine has built as simple site for use on his company's
intranet. It uses JavaScript to read comma-delimited information from a
text file and displays it in tabular form.

When I looked at the source there is js like this:

function forwardClick() {
if (sitelist.recordset.AbsolutePosition !=
sitelist.recordset.RecordCount) {
sitelist.recordset.moveNext();
} else {
alert("You are already at the last record in the database.");
}
}

and HTML like this:

<OBJECT id="sitelist"
classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" border="0"
width="0" height="0">
<PARAM name="DataURL" value="sites.txt">
<PARAM name="UseHeader" value="True">
</OBJECT>

Obviously it's a Windows and IE only thing but is there an equivalent
for non-IE browsers and/or non-Windows OS?

Andrew Poulos
Jan 12 '06 #1
2 1429
VK

Andrew Poulos wrote:
A friend of mine has built as simple site for use on his company's
intranet. It uses JavaScript to read comma-delimited information from a
text file and displays it in tabular form.

When I looked at the source there is js like this:

function forwardClick() {
if (sitelist.recordset.AbsolutePosition !=
sitelist.recordset.RecordCount) {
sitelist.recordset.moveNext();
} else {
alert("You are already at the last record in the database.");
}
}

and HTML like this:

<OBJECT id="sitelist"
classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" border="0"
width="0" height="0">
<PARAM name="DataURL" value="sites.txt">
<PARAM name="UseHeader" value="True">
</OBJECT>

Obviously it's a Windows and IE only thing but is there an equivalent
for non-IE browsers and/or non-Windows OS?


This is Microsoft Data Binding
(<http://msdn.microsoft.com/workshop/author/databind/data_binding_node_entry.asp>).
No, nothing similar yet in other rivals, but I guess they will have to
implement it - that may be this year event, like IXMLHTTPRequest was
the event of the last year. W3C already has reserved all needed tag
names and attributes in DTD's for several years.
btw Data Binding allows delegated cross-domain access (by indicating in
the data header string what domains besides the original one are
allowed to access the data)

To be fair XML/XSLT/XPath combined *do* give you some half-a**
emulation of data binding. But it's overly complicated plus lacking
many key features (like autopopulating of form elements,
zero-maintenance table sorting / record filtering etc.)

Jan 12 '06 #2
JRS: In article <43c5c3a2$0$12583$5a62ac22@per-qv1-newsreader-
01.iinet.net.au>, dated Thu, 12 Jan 2006 13:49:49 local, seen in
news:comp.lang.javascript, Andrew Poulos <ap*****@hotmail.com> posted :

Obviously it's a Windows and IE only thing but is there an equivalent
for non-IE browsers and/or non-Windows OS?


A non-equivalent workround could be to have a textarea into which the
file contents could be pasted, and to read that. Inversely for output.

Not as good; but could be better than nothing.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jan 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vannela | last post by:
Is there any equivalent control in .NET for the Power builder DataWindow control? I am explaining the Datawindow architecture to some extent. Power Builder DataWindow Control has got different...
3
by: Iain Hallam | last post by:
Hi. I've been using display:none on the style property of some <option> elements in my forms, which works fine with Mozilla - as expected it removes the option from my dropdown (although it...
7
by: Mark Szlazak | last post by:
Is there anything for Mozilla or Firefox that would be equivalent to IE's onpaste event for a textarea?
3
by: Xah Lee | last post by:
what's HTML 4 standard's equivalent of the following? <embed src="souls.mid" autostart="false" width="500" height="20"> thanks. Xah xah@xahlee.org ∑ http://xahlee.org/
2
by: Sunkam Santhoshi | last post by:
Is there any equivalent control in .NET for the Power builder DataWindow control? I am explaining the Datawindow architecture to some extent. Power Builder DataWindow Control has got different...
4
by: Gérard Talbot | last post by:
Hello fellow stylers, What would be the best CSS equivalent of MSIE's wrap="off" and wrap="hard"? hard Text is displayed with wordwrapping and submitted with soft returns and line feeds. ...
18
by: Csaba Gabor | last post by:
Is there a straightforward way of implementing a PHP equivalent to window.setTimeout? In a javascript web app, it's often the case that things are done on an event driven basis. For example,...
11
by: Spam Catcher | last post by:
Does the .NET framework provide any equivalent of an applet? I've under Winforms Hosted in IE - but Security is a major headache. Is there a way to bypass these security headaches? Can I sign...
5
by: Jeff Bigham | last post by:
Hi, I'm trying to write an equivalent to the hasAttribute method that will work with IE 6 and 7. IE 8 finally has this method built in. There is supposed to be a way to do this using the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.