Hi ,
I have two questions:
1) I have a link (<a href...>) on my page for eg:
when i type this on my browser (below url for example)
I am displaying a link say "Hardness" (which is a link).
On click of that link (hardness) I use window.open (to open a small window).
So my <a href...> looks like this:
<a href="#" onclick=window.open(....)>Hardness</a>
Everything works fine, except that when i click on Hardness the parent page refreshes to and loose the existing information.
Does anyone help me with this. I belive i am clear in explaining the above issue.
2) My second question:
How do i disable right click on window.open? Is that possible? I am opening an image file in window.open.
eg: window.open('image/image.gif', ....)
Thanks.
I have two questions:
1) I have a link (<a href...>) on my page for eg:
when i type this on my browser (below url for example)
I am displaying a link say "Hardness" (which is a link).
On click of that link (hardness) I use window.open (to open a small window).
So my <a href...> looks like this:
<a href="#" onclick=window.open(....)>Hardness</a>
Everything works fine, except that when i click on Hardness the parent page refreshes to and loose the existing information.
Does anyone help me with this. I belive i am clear in explaining the above issue.
2) My second question:
How do i disable right click on window.open? Is that possible? I am opening an image file in window.open.
eg: window.open('image/image.gif', ....)
Thanks.