473,698 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.recor dset.AbsolutePo sition !=
sitelist.record set.RecordCount ) {
sitelist.record set.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.tx t">
<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 1438
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.recor dset.AbsolutePo sition !=
sitelist.record set.RecordCount ) {
sitelist.record set.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.tx t">
<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_no de_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$125 83$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*****@hotmai l.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.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.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
3795
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 presentation styles and different data sources. Presentation styles like tabular format , graph format, grid format, freeform format, Composite format(somthing
3
18584
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 still exists in the code). Is there an equivalent in IE? The reasoning behind this is that I want users to rank objects using a <select> for each place (see below), and to remove the choice of earlier objects from <select> drop-downs later in the...
7
26987
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
2582
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
3501
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 presentation styles and different data sources. Presentation styles like tabular format , graph format, grid format, freeform format, Composite format(somthing
4
8502
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. off Wordwrapping is disabled. The lines appear exactly as the user types them.
18
15913
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, html elements might have things like onclick="buttonClicked()" to indicate that the function buttonClicked should be run when that element is clicked. The analogue can be done in PHP (on Windows) using com_event_sink. In other words, you can...
11
3337
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 the control, etc. etc?
5
3976
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 'specified' property of the attribute, but it doesn't always work. For instance, consider the following code:
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.