Click here to Skip to main content
15,915,019 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionValidation groups with jQuery validation plugin on ASP.NET webforms? Pin
zeego14-Aug-11 19:32
zeego14-Aug-11 19:32 
AnswerCROSS POST Pin
Not Active14-Aug-11 19:40
mentorNot Active14-Aug-11 19:40 
GeneralRe: CROSS POST Pin
zeego14-Aug-11 20:06
zeego14-Aug-11 20:06 
QuestionHow to Know The Selected Date is Previous in javascript Pin
Arunkumar.Koloth13-Aug-11 20:28
Arunkumar.Koloth13-Aug-11 20:28 
AnswerRe: How to Know The Selected Date is Previous in javascript Pin
DaveAuld13-Aug-11 22:21
professionalDaveAuld13-Aug-11 22:21 
AnswerRe: How to Know The Selected Date is Previous in javascript Pin
Niral Soni24-Aug-11 2:19
Niral Soni24-Aug-11 2:19 
Questioncodeprojectforums.com [modified] Pin
sivakumat11-Aug-11 1:27
sivakumat11-Aug-11 1:27 
Questionjquery (unknown) Pin
AndyInUK11-Aug-11 0:05
AndyInUK11-Aug-11 0:05 
AnswerRe: jquery (unknown) Pin
Pete O'Hanlon11-Aug-11 0:17
mvePete O'Hanlon11-Aug-11 0:17 
AnswerRe: jquery (unknown) Pin
BobJanova11-Aug-11 2:42
BobJanova11-Aug-11 2:42 
GeneralRe: jquery (unknown) Pin
AndyInUK11-Aug-11 5:43
AndyInUK11-Aug-11 5:43 
GeneralRe: jquery (unknown) PinPopular
BobJanova11-Aug-11 7:28
BobJanova11-Aug-11 7:28 
GeneralRe: jquery (unknown) Pin
AndyInUK12-Aug-11 1:53
AndyInUK12-Aug-11 1:53 
cool Thanks.

HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script type="text/javascript">


setTimeout(function(){
	
	document.getElementById("myimage1").hspace="720";
        document.getElementById("myimage1").vspace="600";
 	
       document.getElementById('myimage1').style.display = 'block';
},3000);


</script> 
</head>
 
<img id="myimage1" src="images/te.png" style="display:none;" />


</body>
</html>


The above displays the image now but it's not positioning it when the web page is not blank.

HTML
document.getElementById("myimage1").hspace="720";
document.getElementById("myimage1").vspace="600";


If page is blank then the above code works but if there is already html etc present, it just displays at random default position everytime.

Any clue?
GeneralRe: jquery (unknown) Pin
Not Active12-Aug-11 2:32
mentorNot Active12-Aug-11 2:32 
GeneralRe: jquery (unknown) Pin
BobJanova12-Aug-11 6:53
BobJanova12-Aug-11 6:53 
AnswerRe: jquery (unknown) Pin
markjoseph123218-Aug-11 2:23
markjoseph123218-Aug-11 2:23 
QuestionMeaning of a syntax in jQuery Pin
CodingLover9-Aug-11 1:43
CodingLover9-Aug-11 1:43 
AnswerRe: Meaning of a syntax in jQuery [modified] PinPopular
Not Active9-Aug-11 1:55
mentorNot Active9-Aug-11 1:55 
GeneralRe: Meaning of a syntax in jQuery Pin
Manfred Rudolf Bihy9-Aug-11 2:38
professionalManfred Rudolf Bihy9-Aug-11 2:38 
GeneralRe: Meaning of a syntax in jQuery Pin
Not Active9-Aug-11 3:01
mentorNot Active9-Aug-11 3:01 
GeneralRe: Meaning of a syntax in jQuery Pin
Shameel9-Aug-11 4:30
professionalShameel9-Aug-11 4:30 
GeneralRe: Meaning of a syntax in jQuery Pin
Not Active9-Aug-11 5:29
mentorNot Active9-Aug-11 5:29 
GeneralRe: Meaning of a syntax in jQuery Pin
Wjousts9-Aug-11 8:28
Wjousts9-Aug-11 8:28 
AnswerRe: Meaning of a syntax in jQuery Pin
Manfred Rudolf Bihy9-Aug-11 2:45
professionalManfred Rudolf Bihy9-Aug-11 2:45 
GeneralRe: Meaning of a syntax in jQuery Pin
Not Active9-Aug-11 3:03
mentorNot Active9-Aug-11 3:03 

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.