"Gram" <gr******@hotmail.com> wrote in message
news:Tr***************@news.indigo.ie...
Thanks Ray,
Yah, I know theres no magic function or anything. I just hoped there
might be a better way than one I'd come up with myself. Any ideas you have
would be great, as I 'd like to create a page to show all the links in a
html page too if thats possible.
Gram.
You may want to consider using the Document Object Model (DOM) to
retrieve a collection of the image nodes. Here are the three (3)
relevant methods
getElementsByNameNS (XHTML Preferred)
getElementsByName (HTML Preferred)
document.images (Deprecated. Included for backward compatibility)
More information on the DOM can be found here:
http://www.w3c.org/DOM/
Could you provide some more details on what you are trying to
accomplish? Specifically:
1. Is the document in question remote or local?
2. If local, is the document static or dynamic?
3. Are the images local,remote or mixed?
In broad strokes, what you do is load the document using MSXML2 and
iterate the collection returned by getElementsByName. How you load the
document depends on whether the document is local/static or
remote/dynamic.
HTH
-Chris