{"id":1398,"date":"2022-08-30T15:16:12","date_gmt":"2022-08-30T15:16:12","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/15\/cant-get-twitter-bootstrap-carousel-to-work-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:16:12","modified_gmt":"2022-08-30T15:16:12","slug":"cant-get-twitter-bootstrap-carousel-to-work-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/cant-get-twitter-bootstrap-carousel-to-work-collection-of-common-programming-errors\/","title":{"rendered":"Cant get Twitter Bootstrap Carousel to work-Collection of common programming errors"},"content":{"rendered":"<p>Im having many problems with my Twitter bootstrap Carousel what ever i do is not working so if some one can make a example for me it will help me alot if you dont only say no. I did post a topic and i did get much good response but it did not fix it. I want work many hours now to try to fix it. So thank you if you want to help me fix this.<\/p>\n<p>Hole Side:<\/p>\n<pre><code>\n\n \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    $(document).ready(function(){\n        $('.carousel').carousel();\n    \n    \n\n\n    \n    \n        <\/code><\/pre>\n<ul>\n<li class=\"li\"><code>Home<\/code><\/li>\n<li class=\"li\"><code>Products<\/code>\n<ul class=\"dropdown\">\n<li><code>MineCraft Web<\/code><\/li>\n<li><code>Webdesign<\/code><\/li>\n<li><code>Prices and ordering<\/code><\/li>\n<\/ul>\n<\/li>\n<li class=\"li\"><code>References<\/code><\/li>\n<li class=\"li\"><code>MineCraft<\/code><\/li>\n<li class=\"li\"><code>Contact Us<\/code><\/li>\n<li class=\"li\"><code>About ...<\/code><\/li>\n<\/ul>\n<pre>\n    \n    \n\n        <\/pre>\n<h2 class=\"text-header\"><code>MineCraft Webside<\/code><\/h2>\n<pre>\n         <\/pre>\n<h5 class=\"text-des\"><code>Advanced minecraft website with server status, forums, user profiles, shop and more.<\/code><\/h5>\n<pre>\n         \n          \n            <img decoding=\"async\" src=\"img\/dirt.png\" \/>\n        <img decoding=\"async\" src=\"img\/Wood.png\" \/>\n        <img decoding=\"async\" src=\"img\/Stone.png\" \/>\n          \n\n      \u2039\n      \u203a\n        \n      \n\n\n<\/pre>\n<p><code>Im getting on Console error:<\/code><\/p>\n<pre><code><code>Uncaught TypeError: Object [object Object] has no method 'carousel' \n<\/code><\/code><\/pre>\n<ol>\n<li>\n<p>You forgot to close your <code>$(document).ready(function(){<\/code>. This is probably your issue.<\/p>\n<pre><code>\n    $(document).ready(function(){\n        $('.carousel').carousel();\n    });\n\n<\/code><\/pre>\n<p>Also, You should reference the bootstrap js and css from the netdna CDN or locally. You shouldn&#8217;t use the getboostrap.com url as that&#8217;s not intended as a host for bootstrap (if nothing else, it may disappear without warning).<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-15 09:09:02. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Im having many problems with my Twitter bootstrap Carousel what ever i do is not working so if some one can make a example for me it will help me alot if you dont only say no. I did post a topic and i did get much good response but it did not fix it. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1398","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1398"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1398\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}