Anu Jv

Greenhorn
+ Follow
since Apr 02, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anu Jv

Hi All,

I need to load different applets based on the chosen hyperlink. I do not have problem in executing this code in Netscape but IE reports problem.

This is the applet I try to create

var app = document.createElement("applet");
app.name="myApp";
app.id="myApp";
app.code="hello.class";
app.archive="hello.jar"
app.width=860;
app.height=600;

var param = document.createElement("param");
param.name = "Nam";
param.value= "Smiley";
app.appendChild(param);

main.appendChild(app)

When I try to appecd Param as Child it reports error.

Expecting a solution for this problem

Thx
Anu
Hi,

I have anchored a link. Once the link is clicked the request goes to the server. During this time, if we click the link, data gets saved multiple times. I need to avoid this duplication. Is there any possibility to remove the anchor from the link once it is clicked to plain text using Javascript?

Thanks
Anu
I have a huge table that is within <div> tag for scrolbar purpose.

Now I need to check whether a particular row of the table is visble say row with ID "R22". How could this be done?

Please help.

Thx
Anu
Hi,
Is there any method that informs that the "Reload" button of the page is pressed?
Thx
Anu
Thanks. You are right
Hi,
In IE when this page is loaded alert window does not pop up. Can u pls tell what could be the reason? This works well in Netscape. However when an alert box is popped up from a click event of a button it works fine.
Thx
Anu
////////////////////////////
<html>
<head>
<script language="JavaScript">
alert('Hai');
</script>
</head>
<body>
<H1> Hai</H1>
</body>
</html>
Hi
I have a table with width set in percentage. Now I need to know the width of the table in pixels. Is this possible
<table width=100% border=0 id="MyTable">
<tr><td>Sample text</td></tr>
</table>
If I try "alert(document.getElementById("MyTable").width);" I get 100% but I need the width in pixels as the pixels occupied by the table will differ when the window is resized
Thx
Anu
Yes exactly. But Mozilla does not support. Is there any other option?
Thx
Anu
Hi,
I have created a scrollbar for a table using <div> tag with style
div.mytbl
{
height:104px;
width: 100%;
padding-right: 1px;
overflow: auto;
}
New rows are added to table dynamically and at that time the scrollbar gets generated.
I want to get whether the scrollbar has appeared or not using a call in my method similar to getting div height
alert(document.getElementById("MYDIV").style.height);
Thx
Anusha
Thanks for reply.We cannot include native code in our Application. Could you please tell whether there is any method with which the modality set for the Print Dialog could be removed?
Anu
21 years ago
Thanks for the reply.I shall explain you why we need such an requirement.
In Windows XP with JRE1.3.1_06(no other JRE could be used) ,the Print Dialog is Modal.So we need to click OK or Cancel in Print Dialog to get back focus to the main Application.
But our problem is, sometimes when the Print Dialog is triggerd,the Application becomes unusable but the Print Dialog does not come up (view is missing). Even in ALT TAB we cannot find the Print Dialog.In this situation as OK or Cancel could not be triggered. So by setting a timer, if we do not get the print dialog response within a certain amount of time we need to close the dialog from Application so that the Main Application gains focus.
Expecting you reply
Anu
21 years ago
Native Print Dialog is called from Java Application and the user could click OK and Cancel to return back to the Main Application(print dialog is modal).We need to close the native dialog from the Application without human Intervention.(Something like setVisible(false) or dispose() for Java Components)Please suggest what must be done here.

Expecting your reply
Thanks in Advance!
Anu
21 years ago