Javascript is not loading [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have provided javascript in page(http://nextrelease.officetimer.com). Javascript for questions and answers below is not working. I have given javascipt with scr=engine1/accordion.js. Please check give solution for it. Thanks.

You are not allow to have </script> in your javascript
<script>!window.jQuery && document.write('<script src="engine1/accordion.js"></script>')</script>
should be
<script>!window.jQuery && document.write('<script src="engine1/accordion.js"><\/script>')</script>

you added
<script src="engine1/accordion.js"></script>
before the jquery.js
You should add your Accordin.js after jquery.js
like
<script src="js/libs/jquery-1.7.2.min.js"></script>
<script src="engine1/accordion.js"></script>

Related

Stylesheet not being applied on page load [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
Can someone offer me some directions for debugging this problem I'm having with a project I'm working on. Hit this url and you'll see the naked HTML doc for roughly 1-3 seconds before the stylesheet kicks in?
The shortest way I think is to move:
<script src="js/jquery.dropotron.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<script src="js/init.js"></script>
<script src="js/index.js"></script>
to the top of the page. You have some css in "js" files and thats why unless js is loaded - you see this pure HTML code.
Edit: of course make sure jquery.js is before that ;).

JQuery stopped working on all transisions [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I had my slideshow running fine several months ago, then after not using it for a while i saw the slideshow no longer working. I have also noticed other jquery transisions no longer work. Pretty sure I did not edit any coding etc and am not sure what has caused the error. I am rather inexperienced so not sure if I have missed something basic.
http://www.michaeldank.com/index.html
Looks like your JQuery was changed to load from local sources. These source lines are from your website:
<script type="text/javascript" src="file:///E|/Office/Design/Websites/grayscalecreative.com.au/js/jquery-1.5.2.js"></script>
<script type="text/javascript" src="file:///E|/Office/Design/Websites/grayscalecreative.com.au/js/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript" src="file:///E|/Office/Design/Websites/grayscalecreative.com.au/js/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="file:///E|/Office/Design/Websites/grayscalecreative.com.au/js/jquery.easing-1.3.pack.js"></script>
Probably just fixing those'll solve things.

How to add buttons like minimize,maximize and close to a div using javascript/jquery? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How to add buttons like minimize,maximize and close to a div using javascript/jquery?
Please provide easier solution..
Try like this
<div class="content">Some content!</div>
<button class="btn-minimize"></button>
Script
$(".btn-minimize").click(function(){
$(this).toggleClass('btn-plus');
$(".content").slideToggle();
});
DEMO

weird thing. working fiddle doesn't work on html [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
weird thing.
my http://jsfiddle.net/48Hpa/19/ doesn't work when I write all to html http://jsbin.com/AYEQEJE/1/edit I checked everything . I have all the DOM ready things and so, too.
From your JSbin, it seems you're missing to add jQuery UI css file.
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"/>
Once added it is working. See the corrected JSBin link

Create a field to accept tags HTML/JS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I wanna create something like this in my website.Help me out please.!image
Try this may be it's helpful for you..
http://sproutsocial.github.io/inputosaurus-text/

Categories