thanks for the help
-P
User Profile
Collapse
-
-
Changing cursor for all elements not using "docu...."
Hi,
Is it possible to change the cursor style for all elements without using the document.body.s tyle.cursor .
I'm trying to change the cursor globaly, but I have problems with it since my page contains an ascx form. The problem is that with the cursor is ok all over the page but not in the form zone.
Maybe I could run through all elements with the getElementById( ) recursively, but I don't quite know... -
-
object required? But object is found...
Hi,
I have the following jscript function :
...Code:function wait() { var obj; document.body.style.cursor = 'wait'; [B] obj = getElementById("contenuForm");[/B] obj.style.cursor = 'wait'; Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); function EndRequestHandler(sender, args){ document.body.style.cursor -
here is my function
[CODE=javascript]function wait(ucId)
{
var browser;
document.body.s tyle.cursor = 'wait';
var tab = getElementsByID (ucId);
ucId.syle.curso r = 'wait';
}
[/CODE]
on execution, ucId = "ctl00_PlaceHol derMain_usrPage Transactionnell e"
but I get an error : object needed on the line
var tab = getElementsByID (ucId);...Leave a comment:
-
Change style of all the page elements (some of those created by vb.net)
Hi,
is it possible to change the style of every element of a page generated by vb.net code?
thanks,
Phil -
IE javascript, how to change style of element (works in firefox)
Hi,
I need to change the style of an element and it seems to work fine in FF, but not in IE.
Here's my statement :
ucId.style.curs or = 'wait';
where ucId is a user control created by vb.net.
Is my sintax ok for IE?
Thanks -
Ok,
I just realized that the problem was that there was an ajax call on the click of the button so there wasn't any post back. So the cursor could not be changed back to default.
Thanks, for the helpLeave a comment:
-
Thanks,
Sorry, I hadn't seen the tabs.
My VS2005 is attach to a internet explorer. I use firefox after to see if all is ok.Leave a comment:
-
Hi Dr,
There is no | in any class or id name. There are 2 | in the file and they are javascript ||.
For the validation, it seems the article you were talking about only gives addresses that need that your site is available online which is not yet my case. It is only available locally. I looking for html validators that take text as an input. If you have any address or program name :).Leave a comment:
-
1.sorry for the tags
2. I put in the code below the part of the css file that has a link with the panel containing the button.
3. I have the same problem on Firefox
4. 13 html errors?
javascript wait function
Function that straps the javascript event on the buttonCode:function wait() { document.body.style.cursor = 'wait'; }
...Code:Private Sub
Leave a comment:
-
Why is this blank. When I click reply, I see the content, but it is not displayed in the threadLeave a comment:
-
-
1.sorry for the tags
2. I put in the code below the part of the css file that has a link with the panel containing the button.
3. I have the same problem on Firefox
4. 13 html errors?
javascript wait function
Function that straps the javascript event on the buttonCode:function wait() { document.body.style.cursor = 'wait'; }
...Code:Private Sub
Leave a comment:
-
Hi Doc,
Here the generated source. I don't know if it all was important so I put it all.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"...Leave a comment:
-
Something strange is that my 2003 solution :
Me.btnRecherche Ok.Attributes.A dd("onclick", "document.body. style.cursor = 'wait';")
works just fine
but my 2005 solution is %&?&%Leave a comment:
-
In fact, there is no body tag since I'm using an ascx file and not a aspx file. The tags are added by MS Sharepoint.
I changed the cursor, but it only changes when I hover on the control. Is there a way to do it for the whole page?...Leave a comment:
-
-
The call is made via a vb.net file that adds the event to a button(control) . I do not change anything in the asp .net file...Leave a comment:
No activity results to display
Show More
Leave a comment: