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...
Try this:<br>for (i=0;i<window.history.length; i++) window.history<i>="";<br><br>Please note that I didn't try it and I don't know if the history array accepts writing. <p>IvanP<br><a href=mailto:ip@thehyper.net>ip@thehyper.net</a><br><a href= > </a><br>
NS recongnises div as "layer" only if it has style="position:absolute" and only then you can write dynamicaly in it.<br>You have to redesign the page so that the "starthtm" layer becomes absolutely positioned. <p>IvanP<br><a...
From the praxis I know that you should not leave any blank spaces (spaces, new lines, comments etc.) between the tags(it has to look like <td ....><img .....></td>). <p>IvanP<br><a href=mailto:ip@thehyper.net>ip@thehyper.net</a><br><a href= > </a><br>
I can't remember where I met this, but as I remember, the <i>for</i> refers to element on the page and <i>event</i> refers to event of this element and the code in the <script> is an eventhandler for the specific event of the specific element. Also not sure, but it is only MS specific, so...
here is a generic idea about how this could be done,<br><br>1. the listbox is build from the database (some server side code is needed - ASP, PHP ... Everything else is done on the client side)<br>2. the text-box value is examined by onkeyup event and its value is compared to the values in the...
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.