|
Make ProcessResponse a regular function instead of an anonymous function in an object, so that you can call it without a reference to the object.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
Thanks for the reply.
Thats seems to be suitable solution, but my main concerns are:
1. will it be a problem if a method is accessed simultaneously from more than one place.
2. i somehow need object specific values to identify and differentiate different objects. If i put them in a global variable, then all the methods accessing this would certainly overwrite the existing value. Is there no way that i use AJAX and still retain the OO program ?
Thanks.
*** Who said nothing is impossible? I have been doing it for a long time ***
|
|
|
|
|
Make a callback function for each object, that uses the instance of the object to call the method in it.
Or make a general callback function that somehow identifies what object the callback belongs to, and calls a method of that object.
---
b { font-weight: normal; }
|
|
|
|
|
I have a problem with getting Front Page 98’s hover buttons to function.
This is the applet code:
<applet code="fphover.class" codebase="./" width="120" height="24">
<param name="color" value="#000080" />
<param name="hovercolor" value="#0000FF" />
<param name="textcolor" value="#FFFFFF" />
<param name="text" value="C Programming" />
<param name="effect" value="glow" />
<param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~azhana/indexCProg.html" />
Can someone help my to solve this problem?
Thank You.
nas
|
|
|
|
|
I'm in my web programming class and this is my first assignment..but i facing some trouble in understanding this codes..if anyone out there knows wat acctually this codes saying, do reply me as soon as posible..thanks
the codes are as below:
<applet code="fphover.class" codebase="./" width="120" height="24">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="text" value="C Programming">
<param name="effect" value="glow">
<param name="url" valuetype="ref"> value="http://metalab.uniten.edu.my/~coly_cool/indexCProg.html">
</applet>
THANKS...
SHAMINI KAMALASEN
MALAYSIA
-- modified at 1:48 Thursday 6th July, 2006
|
|
|
|
|
I am having problems with getting Front Page 98’s hover buttons to function.
This is the list of codes.... can someone plz help me to solve this problem..
i reli need it soon
<applet code="fphover.class" codebase="./" width="120" height="24">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="text" value="C Programming">
<param name="effect" value="glow">
<param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~kanes/indexCProg.html">
</applet>
Thanks
-- modified at 1:29 Thursday 6th July, 2006
|
|
|
|
|
Ahaahaha Kanes kene uat keje assignment!!!
|
|
|
|
|
huahua .... macam kenal je soklan !!!
Luq
|
|
|
|
|
I want to deploy my web service on the internet. The problem I am facing is that my code references a dll (MySql.Data.dll).
When I am using the code on local host it seems to run fine, but on uploading to the server, the code cannot locate the dll.
I have tried putting the dll in the same as well as 'Bin' directory. Do I need to add something to the web.config file??
|
|
|
|
|
1. I have a page that i developed, it shows fine in Mozzilla, but the images dont show in iexplore.
What can i do?
2.
2.1 How do i pass attriutes to another page using a hyperlink.
2.2 Is it possible to include a variable in a java script fuction?
I tried the following but it does not help, any clues?
<br />
<!--a href="threads.jsp" onclick=javascript: function(<% myvar%>)> </a--><br />
<br />
function(var)<br />
{<br />
session.setAttribute("Myvar",var);<br />
}<br />
-- modified at 13:55 Wednesday 5th July, 2006
|
|
|
|
|
1. You can show some code.
2.1. Do you mean in the url?
<a href="page.jsp?key=value&anotherkey=anothervalue">
2.2. Yes. I don't know what technology you are using, but from the file type in the href property of the link, I assume that you are using JSP. I don't know how you write out values to the page in JSP, but I assume that it's similar to ASP:
<a href="threads.jsp" onwhatever="functionName(<%=myvar%>);"><br />
<br />
function functionName(var) {<br />
session.setAttribute("Myvar", var);<br />
}<br />
<br />
Substitute "onwhatever" with the event you are using.<br />
<br />
If the value is a string, however, you would surround it with apostrophes, the value should be html encoded, "\" should be replaced by "\\" and "'" should be replaced by "\'".<br />
<br />
<br />
<small>---<br />
b { font-weight: normal; }</small>
|
|
|
|
|
Hi I am using the following function in Ajax program,this is a part of it .The problem is the page in which I am using is quite big with scroll bars ,and in this senario ,I am not able to capture the co ordinates of the element that clicked the event to pin point location,and the div tag is displayed randomly.
// ItemDisplayLarge is the div in which reslut is to be displayed
function ViewSearchItem(e)
{
try
{
var left1=null;
var top1=null;
var nn6=document.getElementById&&!document.all;
if(nn6 == true)
{
left1 = e.pageX;
top1 = e.pageY;
}
else
{
left1 = event.clientX;
top1 = event.clientY;
}
top1=top1+20;
document.getElementById("ItemDisplayLarge").style.visibility="hidden";
document.getElementById("ItemDisplayLarge").style.top=top1+"px";
if(left1 > 400)
{
var x=left1-200;
document.getElementById("ItemDisplayLarge").style.left=x+"px";
}
else
{document.getElementById("ItemDisplayLarge").style.left=left1+"px";}
document.getElementById("ItemDisplayLarge").style.visibility="visible";
}
catch(ex)
{ex.message;}
}
|
|
|
|
|
Hi the answer is use
the propety of ie wiz page.scrollX(),page.scrollY()
so in the above code add
let say
var sX= page.scrollX();
var sY= page.scrollY();
top1=top1+ sY;
left1 =left1+sX;
the code works .
I was not able to find the solution intially thats why I posted the thread.
thanks
Navtej
|
|
|
|
|
Hi, Does anyone know how to get client info regarding pc name, domain, etc. I need to gather that info from users on a local intranet using an internal website. I need to authenticate the user against the domain Active Directory.
Thanx
Regards,
Tintin
|
|
|
|
|
The you need to run an ActiveX component in the browser.
Why not just disallow anonymous login and let the users log in using their domain account?
---
b { font-weight: normal; }
|
|
|
|
|
I need automatic login when the user opens the web page. And security group levels should be managed by the admins of the AD. What kind of active x componet should i use, and this should run client side?? or not?
Regards,
Tintin
|
|
|
|
|
How to bind datagrid(asp.net web control) through ajax
vipin kapoor
-- modified at 7:17 Wednesday 5th July, 2006
|
|
|
|
|
ASP.NET Dynamic Web Menu Control based on JavaScript
I need a program which should read a Table and get Menu's Name and Dynamically create buttons in the "Top Frame" and i click any one button then it should display that relevant page in the "Right Frame" which is also in another one table.
Please any one help me how to do this.
|
|
|
|
|
i am opening a pop up through javascript but just buz of google toolbar it is not opening and when i choose unblock the popup my application doing exactly the right thing which i want i know there is a script or property in javascript which can open the block popup window
can any body tell me how i can do this in javascript
please tell me as soon as possible
bye
|
|
|
|
|
Please use punctuation to separate the sentences from each other, and someone might be able to understand what you are trying to do.
---
b { font-weight: normal; }
|
|
|
|
|
I think what you're trying to do is get your popup to circumvent a popup blocker....wouldn't be much of a blocker if you could do that now would it
AFAIK, popup blockers pre-process the page, and strip out most (if not all) of the javascript - esp anything that pops up a window, then renders the page. If you elect to allow popups, it re-renders with the missing bits et voila (that's why it posts back when you allow them).
You'll just have to tell people to unblock your site
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
-- modified at 9:13 Tuesday 4th July, 2006
|
|
|
|
|
Can somebody help me how to disable the addressbar and the menus, for a web application being developed on C#.NET???
Rach
|
|
|
|
|
I heard there is no IIS in home edition, is it true? how about the professional and NT version? how do i active the IIS function?
|
|
|
|
|
It is true. IIS comes with XP Pro and Windows 2000 but is installed optionaly. It comes by default with all server editions of Windows... I am not sure if it comes with NT Workstation (I dont remember)!
Thank you
Jason Kataropoulos
Excellence is not an act, but a habit! Aristotle
|
|
|
|
|
In pro, go to add remove programs in the control panel and then click on the windows components, choose to install IIS there.
|
|
|
|