User Profile
Collapse
-
load a java3d application on web browser(without j3d)
There is some way to run java3d on webbrowser without j3d.I saw one example on net dont remeber the link but that ran a j3d applet on my webbrowser that didnot have j3d package installed.It actually loaded the jars on itz own.How do i do this.Load j3d jars from server and then webbrowser should use them to run j3d applet -
you can also use stack.When left brace comes "{" push it into stack i.e "{".Keep doing this for every left brace.When right brace comes "}" pop the last element out of stack and check if it is left brace .
PUSH means insert into stack
POP means remove out of stack
For correct brace matching stack should be empty at the end of expression
Initially stack is empty or contains... -
Cross platform c++ compiler/library with standards
i basically want to work with standard library where the program can be compiled on different OS like windows,linux unix,mac etc
plus different h/w platforms like intel ,amd, playstations etc
I want to develop OS in c++ .Please Help me!! -
-
When you alert responseText the entire content that has been passed will be alerted i.e the entire HTML page.But when you load the page i.e show on internet browser,only HTML content shown
For example you can have 'div' with id say loadedpage
Code:<div id=loadedpage></div>
Code:var loaddiv=document.getElementById('loadedpage'); loadddiv.innerHTML=xmlhttpobject.responseText;
Leave a comment:
-
Thnx acoder
BUT
The problem is that the function that is to be called from setInterval is object funtion call :(. That is it go be like this
setInterval(obj ect.function(), 100);
but setInterval takes only string to be passed as function call
Any Help...Leave a comment:
-
-
Code:if (esrvalue=="RUNNING") {alert("true:"+esrvalue)} else {alert("false:"+esrvalue)}
Leave a comment:
-
(Scroll Bar + Ajax)Problem
Basic Problem is Every scroll of scrollbar makes an ajax call.So if user play with scrollbar say 100 times 100 ajax calls go and server starts processing 100 calls.So abort won't help.The last time the scroll bar has stopped scrolling(say for 1000 millisecond),aj ax call should go.My function uses object function call.So how can i use setTimeOut()
My function looks likes this
temp contain xmlHTpp object
Code: -
-
Eyeinstyin replied to 'Innertext' to write in a table cell generated through HTML doesn't work in firefoxin JavascriptTry using innerText with mozilla It won't work but replace with innerHTML it would work...Leave a comment:
-
Eyeinstyin replied to 'Innertext' to write in a table cell generated through HTML doesn't work in firefoxin Javascripttry innerHTML instead of innerText
[code=javascript]
document.getEle mentById('Quest CostofCapital') .innerHTML = <%=TempCostofCa pital%>[/code]...Leave a comment:
-
-
Mozilla Event problem
for mozilla event to be captured we write
[code=html]
<script>
function temp(event)
{
alert(event.cli entX);
}
</script>
<div onmouseover="te mp(event)">
[/code]
Now in case of objects,how do i capture events for mozilla
The problem is as follows
[CODE=javascript]
function temp()
{
this.div=docume nt.createElemen t('div');... -
-
-
[CODE=html]
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
function fdiv(argument)
{
this.element=do cument.createEl ement('div');
this.element.in nerHTML="100";
this.func=this. Function1;
//*************** *************** *************** *************** *****...Leave a comment:
-
Thnx That work.Thanx both of u.Reply was quick
But what i want is "onmousecli ck" event the object method should be called
I specify as follows this.onmousecli ck=function(){ "function name"}.
But how do i put the function of object for eg
this.onmousecli ck=this.circumf erence(variable );//directly call circumference instead of calling it on mouseclick...Leave a comment:
-
Please refer my code.I want to call the object function(circum ference) from within that object function(radius ).Please help me if u can......Leave a comment:
-
How to call javascript object method from within object
[CODE=javascript]
function Circle(radius)
{
this.radius=rad ius;
this.area=0;
}
Circle.prototyp e.area=function ()
{
if(radius>=1)
this.area=this. radius*(i want to call circumference with argument=false)/2
else
this.area=this. radius*(i want to call circumference with argument=true)/2
}
Circle.prototyp e.circumference =function(varia ble)...
No activity results to display
Show More
Leave a comment: