The link for installation of the JS debugger is gone from the Netscape site.
The .jar file itself and some readme.txt how to install it is here:
ftp://ftp.netscape.com/pub/jsdebug/1.1/shipping/english/all_platforms/all_os/install/ Ivan Pavlov (ip@thehyper.net)
Brainbench MVP for JavaScript...
sorry Abakar, I had to turn-off the "Process TGML" option of the message or it takes [i] for itallic formating. I just noticed that you probably had the same problem.
Here is the code one more time (may be the only real problem that you had is the char case in "onClick"...
For IE there is a simple solution, the whole content of the <DIV id="myid"> is in:
document.all.myid.innerHTML
if you want to have in it also the surrounding tag <DIV> you should use:
document.all.myid.outerHTML
For NN it is more complicated and could be impossible depending from...
Abakar,
You missed the index[i] when reffering to the links collection, so your code points to the collection and not to a member of it.
You also should set a return value for the newWinAlert() - if it returns "true" the new window is opened, else it is canceled. So I replaced your...
to show something in a pop up window it should be send there either from the opening window with ....document.write(...) or by opening a document in it (through "href" of the link or window.open() function).
I am not sure that I understood fully your case (why not to use document.write...
I think that you can't escape from using the onClick event. Here is how you can do it without editing the <a> tag.
<script language="JavaScript">
function checkLinks(){
for (var i=0; i<document.links.length; i++)
if (document.links[i].target=="_blank")...
Hi again.<br><br>This code should work:<br>self.opener.parent.Bottom.location.href=trget<br>(at least it worked by me)<br>note that I am using variable named "trget" instead "target" - with var name target I had also problems with the JS - obviously it is reserved...
Strange - I made some quicktests and it should work. May be I could help better if I see the code of the frameset. <p>IvanP<br><a href=mailto:ip@thehyper.net>ip@thehyper.net</a><br><a href= > </a><br>
Most probably you had <table align="left" ...> ....</table>. That would position all following text to the right of the table (including <br>) on right of the table. <br>The solution is to use not just <br> but <br clear="all"> <p>IvanP<br><a...
In general - you should apply the style to the <td> tag, but I'll need to look at the site for more details. <p>IvanP<br><a href=mailto:ip@thehyper.net>ip@thehyper.net</a><br><a href= > </a><br>
I think you should use: self.opener.parent.BottomFrame.location.href=target<br>where "BottomFrame" is the name of the bottom frame (<frame name="BottomFrame" ....>). <p>IvanP<br><a href=mailto:ip@thehyper.net>ip@thehyper.net</a><br><a href= > </a><br>
Here is something that I fount in the net and that works for me.<br><br>//==========================================================<br>function printPG (){<br> if (document.all){<br> document.body.insertAdjacentHTML("beforeEnd",<br> "<object...
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.