jQuery plugins not working on nested pages [closed] - javascript

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
so I am working on this site (my rep isn't good enough to provide the home link) atm but I have a problem with product listing pages and the tips and tricks page, whereby what seems to be happening is a complete failing on the part of jMenu and jFlipBook respectively.
Since I did not write the original site nor have I used these plugins before I'm not sure why they're not working properly. You'll notice on the tips and tricks section if you inspect element and set the nav items to include the class jMenu (which jMenu should do automatically) the page becomes about 90% fixed (save for the submenus still being out of action). After digging around in the source for a while I've come to a dead end, so if anyone can shed any light on the matter it would be really helpful! Cheers in advance!

If you look at the javascript console you will see errors pointing to your document ready code blocks.
You are using:
$('document').ready(function(){
when it should be:
$(document).ready(function(){
I would imagine that this is breaking your code.

Related

Assistance needed figuring out how to construct a simple game using HTML, CSS and JavaScript [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I need help with my homework. I am in an immersive Full Stack Development course. We are making a game, with two characters (side by side, in their own containers). There is supposed to be an "Attack" button that can be clicked, and an "Energy" counter that counts down by 20. Once the opponent's Energy hits 0, "GAME OVER" is supposed to be displayed. I am stuck and struggling. Can one of you more experienced developers please help me so I will not fail my class? I will include the link to the code (that I have so far).
enter link description here
Looking at your source files, it appears you have lots of syntax errors both in your HTML and JavaScript. I don't even see the call to your script.js in your index.html.
I suggest re-reviewing the material for your own benefit. Part of becoming a successful developer is having a solid grasp on the fundamentals.
I mean, off the bat I can see in your script you have if (energy<==0)
This should be if (energy<=0)
What bit are you stuck on though? It's a little hard to gauge where you are when some basics have been missed, such as the script.js not even referenced in your index.html

Trying to get a simple php form to fire [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I shouldnt even be in HTML/CSS, but here I am trying to incorporate a php modal contact form into my site...
I'm trying to get all of a demo form's functionality into my footer page (and then I'll restyle everything.)
http://danux.me/sections/footer_modal.html
I'm trying to get "email me" to fire ideally, but am settling now for just the Demo button to fire the popup form.
I also uploaded the demo form I'm pulling code from, just to make sure it works on my site. (It does.)
http://danux.me/contact/
Any guesses as to what I'm doing wrong?
Your first link is in a different folder, yet the url for $.get points to the same relative file. Which isn't there.
So in contact.js needs to have
$.get("../contact/data/contact.php", function(data){
I obviously cant test this. And it looks like there is some redesign in folderstructure coming up.

is there away to get the path of HTML element [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I'm trying to change or remove errors from a HTML page I'm using firebug add in firefox and I have this part which I really don't where its writen :
is there a way to get the file where this is write .
thanks for any hint
Continuing from my comment: The highlighted element is dynamically added by a slider plugin e.g. like http://jqueryui.com/slider/ The clue is the classes like ui-slider-handler.
Look for the id="voltage" to find the place in the HTML where the div is and look for #voltage or ("voltage" or 'voltage') to see where the plugin is connect to it (in any jQuery or Javascript code).
I don't think you can get the exact path of the file, but check "View page source" option to see what files the page has been linked to.

form is not working, I used HTML5 & bootstrap 3.0? [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
form is not working, I used HTML5 & bootstrap 3.0?
here i add the link of the site please checkout.
I cant figure-out it.
http://www.deliveryguys.in/html/index.html
It's usually best to post snippits of code that you think are malfunctioning but in this case I think you should invest in a spellchecker.
I went to
http://www.deliveryguys.in/html/index.html
And it seems to work fine.
Notice it's HTML instead of HMTL
Edit: OK now I see the real problem with your code
The form is underneath other HTML elements. You need to give your stylings z-indexes in order to control what is on top of what. I gave the form a z-index of 1000 and it worked fine. I suggest editing your css classes to include z-indexes to give you finer control than that.
Please note that your form action has been mapped to "#"
Kindly point the form action to the appropriate server page & it will start working.
Regards
SRIRAM NATARAJAN
(Chennai, Tamil Nadu, India)
(www.thesriram.co.in)

What do you call this bug and is it a CSS, JS, library bug? [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 have this bug happening in my site where my menu drops down and instead of being render on top there is this one area that is under the table.
I am looking for an answer but am not sure exactly what is the bug called, or if it is a CSS, java script, or library problem. The menu is created using Kendo Ui and the table/Grid is created using JqxGrid. If you guys can help me identify the name of this behavior it will help me a lot in finding the solution. Or if you know the reason that is even better. Before I show code I would like to try to solve this on my own. Thank you.
It looks to me like an issue with your CSS. The row of the grid you have is at a higher z-index than your menu. In my experience the best thing to do is to explicitly (where possible) give your menu items z-indices higher than anything else you have on the page (or would want). eg. if your highest z-index is 100, use 1000 for the menu.

Categories