Click here to Skip to main content
15,919,423 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Failed to load resource: the server responded with a status of 405 (Method Not Allowed) Pin
swatishri20-Aug-20 15:19
swatishri20-Aug-20 15:19 
GeneralRe: Failed to load resource: the server responded with a status of 405 (Method Not Allowed) Pin
Vimalsoft(Pty) Ltd20-Aug-20 23:53
professionalVimalsoft(Pty) Ltd20-Aug-20 23:53 
QuestionNo 'Access-Control-Allow-Origin' header is present on the requested resource Pin
Vimalsoft(Pty) Ltd30-Jan-14 1:42
professionalVimalsoft(Pty) Ltd30-Jan-14 1:42 
AnswerRe: No 'Access-Control-Allow-Origin' header is present on the requested resource Pin
Kornfeld Eliyahu Peter2-Feb-14 1:29
professionalKornfeld Eliyahu Peter2-Feb-14 1:29 
AnswerRe: No 'Access-Control-Allow-Origin' header is present on the requested resource Pin
Doug Twyman3-Feb-14 18:28
Doug Twyman3-Feb-14 18:28 
GeneralRe: No 'Access-Control-Allow-Origin' header is present on the requested resource Pin
Vimalsoft(Pty) Ltd3-Feb-14 19:00
professionalVimalsoft(Pty) Ltd3-Feb-14 19:00 
AnswerRe: No 'Access-Control-Allow-Origin' header is present on the requested resource Pin
Abhishek_RK2-Mar-14 20:57
Abhishek_RK2-Mar-14 20:57 
QuestionLearning jQuery Pin
DRAYKKO27-Jan-14 7:06
professionalDRAYKKO27-Jan-14 7:06 
Greetings and Salutations!
I'm not sure if this is the right group for this, but if not, please let me know where I should post my questions.

I'm a novice to the world of jQuery and I've run into a snag (and can use some help). When I include the following line in my HTML file, the element doe not slide down as expected:

JavaScript
<script>
	$(document).ready(function(){	
		$("#ContentHeader").slideDown(4000);
	});
</script>


When I load the page the element appears without sliding down. I'm self taught using CodeAcademy and a text titled: "JavaScript & jQuery: The Missing Manual". Do I have the syntax correct?

Here is the full code I'm using:

JavaScript
<!DOCTYPE html>
<html lang="en">
  <head>

	<link type="text/css" rel="stylesheet" href="JQSwaggerStyle.css"/>
	<script>
    	$(document).ready(function(){	
    		$("#ContentHeader").slideDown(4000);
    	});
	</script>
  </head>
  <body>
	<div id="ContentHeader">
		<h1>Andre Mitchell Stevens Swagger</h1>
		<h2>Ain't it cool???</h2>
	</div>
  </body>
</html>

=======================
Every experience in life is a lesson to be learned

A. Stevens
B.S., Computer Science

AnswerRe: Learning jQuery Pin
Richard Deeming27-Jan-14 7:34
mveRichard Deeming27-Jan-14 7:34 
GeneralRe: Learning jQuery Pin
DRAYKKO27-Jan-14 7:50
professionalDRAYKKO27-Jan-14 7:50 
GeneralRe: Learning jQuery Pin
Richard Deeming27-Jan-14 10:05
mveRichard Deeming27-Jan-14 10:05 
AnswerRe: Learning jQuery Pin
Graham Breach27-Jan-14 9:44
Graham Breach27-Jan-14 9:44 
QuestionDuplicate File Remover Code Pin
Rahul Michael26-Jan-14 18:10
Rahul Michael26-Jan-14 18:10 
QuestionRe: Duplicate File Remover Code Pin
Richard MacCutchan26-Jan-14 21:53
mveRichard MacCutchan26-Jan-14 21:53 
AnswerRe: Duplicate File Remover Code Pin
Rahul Michael27-Jan-14 6:09
Rahul Michael27-Jan-14 6:09 
GeneralRe: Duplicate File Remover Code Pin
Richard MacCutchan27-Jan-14 6:35
mveRichard MacCutchan27-Jan-14 6:35 
GeneralRe: Duplicate File Remover Code Pin
Thomas Daniels27-Jan-14 6:26
mentorThomas Daniels27-Jan-14 6:26 
QuestionAnyone can help me? Pin
ArjanD21-Jan-14 8:44
ArjanD21-Jan-14 8:44 
SuggestionRe: Anyone can help me? Pin
Richard Deeming21-Jan-14 10:15
mveRichard Deeming21-Jan-14 10:15 
QuestionHelp with my statement. Pin
Yhen Caisip18-Jan-14 16:56
Yhen Caisip18-Jan-14 16:56 
AnswerRe: Help with my statement. Pin
Peter Leow18-Jan-14 18:00
professionalPeter Leow18-Jan-14 18:00 
GeneralRe: Help with my statement. Pin
Yhen Caisip18-Jan-14 20:25
Yhen Caisip18-Jan-14 20:25 
GeneralRe: Help with my statement. Pin
Peter Leow18-Jan-14 20:29
professionalPeter Leow18-Jan-14 20:29 
GeneralRe: Help with my statement. Pin
Yhen Caisip18-Jan-14 20:48
Yhen Caisip18-Jan-14 20:48 
GeneralRe: Help with my statement. Pin
Peter Leow18-Jan-14 21:04
professionalPeter Leow18-Jan-14 21:04 

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.