I am viewing the source of http://raphaeljs.com/growing-pie.html . And copying all the relevant stuff into this jsFiddle. But the page is not working at all. I don't get any errors in the fiddle either, except this odd warning: Detected baseUrl as https://towtruck.mozillalabs.com . Anyway, i cant find any differences between the two pages and cant figure out why the fiddle isn't working. Thanks for your help!!! <:)>
The difference is that you need to include the Raphael library. Just selected it in the sidebar and pulled your code out of the onload handler in the JSFiddle in my comment.
Related
I've been working on this website on my computer for the past several weeks, but have had it a point that I just can't figure something out with my table sorting. The site itself runs off PHP but I've duplicated the HTML output to make it easier for you guys to help me diagnose what the problem is.
Here's a link to the Working Page: http://privateservercloud.com/working.htm
Here's a link to the Not Working Page: http://privateservercloud.com/not-working.htm
If you go to the Working Page, you'll see that you can click on any of the headers of the table and it will sort them. However, if you go to the Not Working Page, you'll see that this doesn't happen.
I'm trying to figure out what's missing or coded incorrectly and causing this to happen. I've uploaded all of the HTML, CSS, and Javascript that's running this part of the site so you can see how it's all working and hopefully that'll make life a bit easier for anyone that can help.
So... does anyone see what I'm doing wrong or know what needs to be fixed?
I load the not-working example in Firefox with Firebug and get the following:
TypeError: document.getElementById(...) is null
...for(var e=0;e<menuids.length;e++){var t=document.getElementById(menuids[e]).getE...
in dropdown.js line 1.
The debugging tools really are your friends. If you don't want to use Firefox, you can do the same thing with the development tools in Chrome.
I find errors when I run rhe validator at http://validator.w3.org and a pile of CSS errors at http://jigsaw.w3.org/css-validator/
When things don't work right, validate the HTML, which at least mostly assures you have a valid DOM. Then validate the CSS and use the JavaScript console in your favorite browser's debugger.
I am in the middle of development and everything related to javascript all of the sudden stopped working.
There are a couple ‘no method’ errors in the console, but I can’t seem to find the root of the problem.
My site: http://radiantchurch.info/wordpress/about/
Thanks for all your help!
You must place your javascript references in correct order:
jquery
jquery plugin
your js scripts
IT does look like fitvids is not a function or not found, can you comment it out and then check it.
I am having an issue with foundation 4 section tabs. I copy pasted the example code to my local and tested it and it doesnt show up.
I also modified it and added some height elements to make it display properly but still I can only view on tab and clicking it doesnt actually open up the content.
I have included jquery foundation.css and foundation.min.js and also zepto.js without any luck.
If anyone could tell me what i might be doing wrong or if there is an issue with the framework that would be great.
Thanks.
Please close this.
I fixed the problem by adding a foundation at document load. :)
Cheers hope this helps someone in need.
$(document).foundation(); Thats the code I added right at the start of document.ready.
Can someone please help me to understand what Am I doing wrong ?
I am using the isotope jquery plugin , all works ok, except filtering ..
I reproduced the problem here --> http://jsfiddle.net/AxCCT/
this looks pretty straight forward , I am obviously missing the obvious here .
I have followed the instructions here http://isotope.metafizzy.co/docs/filtering.html
Progress!
I changed a lot of stuff and it is sort of working now. It sorts and then immediately snaps back (might be a jsFiddle thing? Try loading this into your page and see what happens)
I'm doing an Isotope project right now at the moment and I'm using:
$(document).ready(function() {
// initialize isotope
});
I tried to use that in the Fiddle but it didn't like it for some reason.
Edit: working solution below, thanks to #jaychapani for pointing out the HTML error.
I can't seem to get my colorbox to work here, not sure whats missing. I have done this a ton of times, but apparently I am still so newb.
I have setup this sample page here:
http://www.whiterhino.us/aspire_setup/
(Click Either of the Red Buttons)
Wondering why the colorbox does not seem to format properly.
Thanks,
James
From a quick look at your source it appears you're missing the colorbox.css file.
That link is to the first example from the ColorBox demos on the website, but I'm pretty sure it's a standard file.