chsanthosh kumar

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

Recent posts by chsanthosh kumar

Hi ,

I got the solution for open webbrowser and capture screen shot of that webpage.

here is my code:

By using this code It is not capturing all the web page.

Please suggest me to achieve this.

16 years ago
thanks for quick reply,

Is there any thoughts for able to do that.

16 years ago
Hi ,

I gone through the search for getting a screen shot of web page.

I got the below code for getting screen shot of window or desktop.

But in my case I need to capture web page given url as screen shot (or image).

Any help related to get screen shot of desired web page.

16 years ago
function addElement(ID, value) {
var file = window.opener.document.getElementsByTagName(file);
var old = window.opener.document.getElementById(ID);
if (old) file.removeChild(old);
input = document.createElement('input');
input.value = value;
input.type = 'text'; = ID;

I'm Using this function add and remove Elements from window.opener but this is not working,
I'm getting a error called "file has no properties"

Please suggest me.

thank you
Hi All,

I have a form which consist of file fields and text boxes (It's Basically Upload form).

Where clicking on upload button I'm able to open popup window,

here is the situation:-

with that popup window i'm getting the parent window values and I need to add some more elements (Add dynamically) and remove the existed elements on Parent window.

I checked with CreateElement and remove child but it's not able to solve the problem ...

Is there any way to solve this problem.

Please suggest.

Thank you
[ March 05, 2007: Message edited by: chsanthosh kumar ]

I think This code will help you.

function modalWin() {
if (window.showModalDialog) {
} else {
alert("not this");'index_html','name','height=255,width=250,toolbar=no,directories=no,status=no,linemenubar=no,scrollbars=no,resizable=no,modal=yes');

<a href="index_html" target="name" onklick="modalWin(); return false;">click here</a>

thank you
there are more resources you will find in google.
This is basic one.
Basic Calculator
thank you

One of myfriend got an offer in [comapny removed],

i would like to know how is the life over there?

thank you
[ January 19, 2007: Message edited by: Eric Pascarello ]
17 years ago
I got this solution,
For custom Play button,

function handlePlayOrPauseClick(){
var state;
playerStatus = document.mediaPlayer.playState;
if (playerStatus == 0) {;
document.playerCtrl.playOrPause.value = " Pause ";
else if (playerStatus == 1) {;
document.playerCtrl.playOrPause.value = " Pause ";
else if (playerStatus == 2) {
document.playerCtrl.playOrPause.value = " Play ";


But the above Script is not working in Other than IE..

is there any solutions for this.

please suggest me.

Thank you
[ December 29, 2006: Message edited by: chsanthosh kumar ]
This is the link which you requested ,

hi all,

i gone through the several scripts in google for controlling the events of play,stop,pause of media/real player.
but none of the script working for both the browsers(Like IE, Mozilla).

is there any way to solve this kind of problems,

could please suggest me for a better resources avail in the Internet or so.

thank you
I got the solution,

Here is the Code

Thank You For helping Me.
[ December 27, 2006: Message edited by: chsanthosh kumar ]