Re: [Dynapi-Dev] reqexp help needed

2001-07-20 Thread Michael Pemberton
I don't know how the regexp version would work, but here's the code I currently use to extract the contents from the loaded content when using my applet based loading. As it shows below, the "body" variable contains the complete contents of the code between the tags. var bodyRE=/

RE: [Dynapi-Dev] reqexp help needed

2001-07-20 Thread martin ström
hm just wondered; how will you get the body-html of the document in ns4? i had some ideas using the view-source: thing but haven't done anything with it.. /martin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > Richard Bennett > Sent: den 20

RE: [Dynapi-Dev] reqexp help needed

2001-07-20 Thread Strolia-Davis Christopher Contr MSG MAM
>is there someway to >count the amount of "amount +1 of "" tags have been matched? if you use the replace function, you can assign a function as the replace value for grouped items(i.e. in parens) for example var countDiv=0; var DivIDs =[]; var re = new RegExp("(\)","i"); myString.replace(re

[Dynapi-Dev] reqexp help needed

2001-07-20 Thread Richard Bennett
Hi, I know there's a couple of regexp wizards on the list, I wonder if someone can help with this: It's part of an improved inline-layer code I'm working on (thanks to some ideas from Joshua Hewitt) , where all browsers can get the HTML of the layer. For NS4 it involves parsing this html out of t

RE: [Dynapi-Dev] Opera

2001-07-20 Thread Pascal Bestebroer
you can't dynamically alter the DOM style.. this includes: no dynamic creation of layers no dynamic changing of style sheets on objects so a bit useless.. the non-creation could be solved using inline layers ..but you won't be able to fully modify those. Pascal Bestebroer ([EMAIL PROTECTED

Re: [Dynapi-Dev] Opera

2001-07-20 Thread Scott Andrew LePera
Yeah, it may be a DOCTYPE issue. The "language" attribute is deprecated and not even permitted in XHTML 1.0, and must be replaced with "type." I think the main problem with Opera re: DHTML is that it doesn't support the dynamic generation of layers, but I could be wrong. Or maybe it doesn't imp

Re[2]: [Dynapi-Dev] Mozilla DomDocument [Not DynAPI]

2001-07-20 Thread Stephan Tolksdorf
> I also found this doc: > >http://unstable.elemental.com/mozilla/build/latest/mozilla/extensions/dox/class_nsIDOMParser.html > > if makes refernece to something that look like it should be the solutin to all my >problems, but again I can't > find any docs on howw to create it in JS. I'm not s

[Dynapi-Dev] Opera

2001-07-20 Thread Digital Strider
I read recently that Opera 5 doesn't even recognize "LANGUAGE = Javascript" but rather the newer "type = text/javascript" within the script declaration tags. Not sure if this had anything to do with Opera not working at all with "any" of the DynAPI but I am suspect... --- Outgoing mail is certifi