chsanthosh kumar

Ranch Hand
+ Follow
since Jun 28, 2005
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 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.

Thanks
13 years ago
thanks for quick reply,

Is there any thoughts for able to do that.

Thanks
13 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.

Thanks
13 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';
input.id = ID;
file.appendChild(input);
}

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 ]
Hi,

I think This code will help you.


<SCRIPT>
function modalWin() {
if (window.showModalDialog) {
alert("this");
window.showModalDialog("index_html","name","dialogWidth:255px;dialogHeight:250px");
} else {
alert("not this");
window.open('index_html','name','height=255,width=250,toolbar=no,directories=no,status=no,linemenubar=no,scrollbars=no,resizable=no,modal=yes');
}
}
</SCRIPT>

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

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

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 ]
13 years ago
I got this solution,
For custom Play button,

function handlePlayOrPauseClick(){
var state;
playerStatus = document.mediaPlayer.playState;
if (playerStatus == 0) {
document.mediaPlayer.play();
document.playerCtrl.playOrPause.value = " Pause ";
}
else if (playerStatus == 1) {
document.mediaPlayer.play();
document.playerCtrl.playOrPause.value = " Pause ";
}
else if (playerStatus == 2) {
document.mediaPlayer.pause();
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 ,

Demo
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.
Eric
[ December 27, 2006: Message edited by: chsanthosh kumar ]