Click here to Skip to main content
15,917,176 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ASP.Net web hosting Pin
Pete O'Hanlon13-May-08 2:23
mvePete O'Hanlon13-May-08 2:23 
GeneralRe: ASP.Net web hosting [modified] Pin
The Web Developer13-May-08 2:33
The Web Developer13-May-08 2:33 
GeneralRe: ASP.Net web hosting Pin
47_MasoN_4716-May-08 3:46
professional47_MasoN_4716-May-08 3:46 
GeneralRe: ASP.Net web hosting Pin
The Web Developer16-May-08 4:20
The Web Developer16-May-08 4:20 
GeneralRe: ASP.Net web hosting Pin
47_MasoN_4716-May-08 4:53
professional47_MasoN_4716-May-08 4:53 
GeneralRe: ASP.Net web hosting Pin
The Web Developer16-May-08 5:11
The Web Developer16-May-08 5:11 
Questionhidden div block when displayed, displays at an offset of 200px only in IE 6... Pin
vmd123412-May-08 0:11
vmd123412-May-08 0:11 
AnswerRe: hidden div block when displayed, displays at an offset of 200px only in IE 6... Pin
Shog912-May-08 9:07
sitebuilderShog912-May-08 9:07 
vmd1234 wrote:
x = (window.Event) ? e.pageX : event.clientX;
y = (window.Event) ? e.pageY : event.clientY;

should be window.event - note the lower-case E.
Note that for non-IE browsers (event passed to handler, no window.event) this will retrieve the coordinates relative to the document, while in IE they will be relative to the window. These will tend to differ, especially if the document scrolls.
vmd1234 wrote:
var calendarDiv = document.getElementById("calendarDiv");
calendarDiv.style.top= y;
calendarDiv.style.left= x;

This is only going to work if calendarDiv is positioned relative, absolute, or fixed... and each of those styles will cause the coordinates to be interpreted differently. fixed will result in the element being positioned relative to the window - which is perfect for IE (except that it doesn't work in IE6). absolute will result in the element being positioned relative to the page (or parent element positioned relatively) - which will work nicely for non-IE browsers. And relative will result in the element being positioned relative to where it would normally appear in the document (this won't work at all for your purposes).



Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

QuestionHelp need to mysql remote Connection...for a browser toolbar Pin
jmohan11-May-08 20:37
jmohan11-May-08 20:37 
Questioni lose informaiton inside texbox only. Please help Pin
cmpemikail10-May-08 23:39
cmpemikail10-May-08 23:39 
AnswerRe: i lose informaiton inside texbox only. Please help Pin
Dave Sexton11-May-08 4:30
Dave Sexton11-May-08 4:30 
Questionsubmit on select option Pin
idsanjeevjha10-May-08 0:37
idsanjeevjha10-May-08 0:37 
AnswerRe: submit on select option Pin
Poonam Gandash10-May-08 3:44
Poonam Gandash10-May-08 3:44 
QuestionRe: submit on select option Pin
idsanjeevjha14-May-08 23:34
idsanjeevjha14-May-08 23:34 
QuestionConvert some java code to c# in Context menu Pin
peter.bellen@qsm-europe.com9-May-08 23:17
peter.bellen@qsm-europe.com9-May-08 23:17 
AnswerRe: Convert some java code to c# in Context menu Pin
Christian Graus11-May-08 21:01
protectorChristian Graus11-May-08 21:01 
AnswerRe: Convert some java code to c# in Context menu Pin
The Web Developer13-May-08 1:18
The Web Developer13-May-08 1:18 
GeneralRe: Convert some java code to c# in Context menu Pin
Pete O'Hanlon13-May-08 2:26
mvePete O'Hanlon13-May-08 2:26 
QuestionJava Script Function Pin
jonhbt9-May-08 22:46
jonhbt9-May-08 22:46 
AnswerRe: Java Script Function Pin
Hesham Amin9-May-08 22:52
Hesham Amin9-May-08 22:52 
AnswerRe: Java Script Function Pin
Poonam Gandash10-May-08 3:49
Poonam Gandash10-May-08 3:49 
QuestionPlease help interpret this .js... Pin
Member 39828179-May-08 5:01
Member 39828179-May-08 5:01 
AnswerRe: Please help interpret this .js... Pin
Shog99-May-08 8:14
sitebuilderShog99-May-08 8:14 
QuestionWhich Book is Good for learning Ajax Pin
coolsatty8-May-08 19:27
coolsatty8-May-08 19:27 
AnswerRe: Which Book is Good for learning Ajax Pin
Poonam Gandash8-May-08 23:09
Poonam Gandash8-May-08 23:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.