Hi .Net (Visitor),
I don't know if it's possible in VS.Net, but I've had the same problem with VS 6 and IE 6.
I solved it by first 'opening' the debugger, and not using 'break at next statement'.
After opening the debugger and setting breakpoints I was able to debug my code.
Greetzzz...
Raver1
Hey rturner003,
Maybe your opener-object isn't valid (this happens sometimes).
You could try this piece of code:
newWindow = window.open(url, name, options);
newWindow.opener = window;
This will assign the opening window to the opener-property of the new window. This way you will be sure that...
Hi UNIMENT,
Nope, the site isn't live yet. We're still developing it.
My guess is, that your code will work just fine, but my code is a little different. I use an Array of Layers, and write to their documents from one function.
Also I can't use the '<LAYER>' tag, so I use 'new Layer(10);' to...
Hi UNIMENT,
This wouldn't quite fix my problem, because I'm trying to write HTML content to the layers.
I saw I made a little mistake:
for(var i=0;i<layerArray.length;i++) {
//alert('Writing new content');
layerArray.document.open('text/html', 'replace')...
Hi UNIMENT,
Creating a string and then converting it to an Array again might work, but you won't be able to copy objects that way.
profile[x].picture = new Image();
profile[x].address = new addressObject(street, town, country);
Greetzz...
Raver1
Can anyone help me with the following problem:
I'm trying to write new content to multiple layers from one function like this:
function writeContent(layerArray, contentArray) {
for(var i=0;i<layerArray.length;i++) {
//alert('Writing new content')...
Hi valeriav,
You could try this:
function copyProfile(sourceProfile, destinationProfile) {
for(var p in sourceProfile) {
destinationProfile[p] = sourceProfile[p];
}
}
copyProfile(profile[x], profile[y]);
This will copy each property of the first profile to the second one.
Greetz...
Hi computergeek,
JavaScript is the client-side scripting-language for the web. It's supported on a wide range of browsers, and won't disappear in the near future.
IE6 DOES run JavaScript, IE7 (or whatever it will be called) will probably still support it.
Sorry Metka, but I'll have to correct...
Hey NeffTribe,
NS6 bugs? Using 'display' is pretty new for Netscape, so try setting 'display' to '', not 'inline'. This will work the same (on your example) for both IE and NS6.
I provided an example below:
<html>
<head>
</head>
<script language="javascript"...
Hi cbokowski,
Can you show me a page (give me a URL) where I can see this?
I'd like to see this happen, so I won't be surprised if I come across it.
Thanx,
Raver1
The above script with the 'new Layer(400, "CurrentLayer")' will work just fine, but you won't be able to reference it by 'document.CurrentLayer.document.childDiv'.
However, it is possible to create such a refference!
Just use this javascript:
function createLayer(newLayerName...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.