Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
access path to bootstraps .js functions are not working
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bill  
View profile  
 More options Jul 20 2012, 5:49 pm
From: bill <realoptio...@gmail.com>
Date: Fri, 20 Jul 2012 14:49:30 -0700 (PDT)
Local: Fri, Jul 20 2012 5:49 pm
Subject: access path to bootstraps .js functions are not working

Hello all,

I am using the basic marketing site markup at
http://twitter.github.com/bootstrap/examples.html to build on.

At the end of the page you can see the javascript:

<!-- Le javascript    ================================================== -->    <!-- Placed at the end of the document so the pages load faster -->    <script src="js/jquery.js <view-source:http://localhost/bootstrap1/js/jquery.js>"></script>    <script src="js/bootstrap-transition.js <view-source:http://localhost/bootstrap1/js/bootstrap-transition.js>"></script>    <script src="js/bootstrap-alert.js <view-source:http://localhost/bootstrap1/js/bootstrap-alert.js>"></script>    <script src="js/bootstrap-modal.js <view-source:http://localhost/bootstrap1/js/bootstrap-modal.js>"></script>    <script src="js/bootstrap-dropdown.js <view-source:http://localhost/bootstrap1/js/bootstrap-dropdown.js>"></script>    <script src="js/bootstrap-scrollspy.js <view-source:http://localhost/bootstrap1/js/bootstrap-scrollspy.js>"></script>    <script src="js/bootstrap-tab.js <view-source:http://localhost/bootstrap1/js/bootstrap-tab.js>"></script>    <script src="js/bootstrap-tooltip.js <view-source:http://localhost/bootstrap1/js/bootstrap-tooltip.js>"></script>    <script src="js/bootstrap-popover.js <view-source:http://localhost/bootstrap1/js/bootstrap-popover.js>"></script>    <script src="js/bootstrap-button.js <view-source:http://localhost/bootstrap1/js/bootstrap-button.js>"></script>    <script src="js/bootstrap-collapse.js <view-source:http://localhost/bootstrap1/js/bootstrap-collapse.js>"></script>    <script src="js/bootstrap-carousel.js <view-source:http://localhost/bootstrap1/js/bootstrap-carousel.js>"></script>    <script src="js/bootstrap-typeahead.js <view-source:http://localhost/bootstrap1/js/bootstrap-typeahead.js>"></script>

However when I open firebug in firefox, I see:

"NetworkError: 404 Not Found - http://localhost/bootstrap1/js/bootstrap-popover.js"

bootst...over.js

"NetworkError: 404 Not Found - http://localhost/bootstrap1/js/bootstrap-collapse.js"

bootst...apse.js
"NetworkError: 404 Not Found -
http://localhost/bootstrap1/js/bootstrap-carousel.js"
etc.

Obviously the javascript paths are wrong. How to I fix this given that all
this scripts are located inside bootstrap.js

Thanks,

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Fabbri  
View profile  
 More options Jul 22 2012, 1:42 am
From: Jack Fabbri <jackfabb...@gmail.com>
Date: Sun, 22 Jul 2012 07:42:29 +0200
Local: Sun, Jul 22 2012 1:42 am
Subject: Re: access path to bootstraps .js functions are not working
Creates in the root of your project a folder called js and put all
your js files.
call them up with (example):

<script type="text/javascript" language="javascript"
src="/js/jquery.js"></script>
<script type="text/javascript" language="javascript"
src="/js/bootstrap-modal.js"></script>
etc...

2012/7/20 bill <realoptio...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bill  
View profile  
 More options Jul 23 2012, 12:23 pm
From: bill <realoptio...@gmail.com>
Date: Mon, 23 Jul 2012 09:23:21 -0700 (PDT)
Local: Mon, Jul 23 2012 12:23 pm
Subject: Re: access path to bootstraps .js functions are not working

But where do you get all these javascript files as stand alone .js files.
They look to me like they are included in bootstrap.js.

Thanks,

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kenneth  
View profile  
 More options Jul 23 2012, 9:37 pm
From: Kenneth <kenli...@gmail.com>
Date: Mon, 23 Jul 2012 18:37:49 -0700 (PDT)
Local: Mon, Jul 23 2012 9:37 pm
Subject: Re: access path to bootstraps .js functions are not working

If you're using the web compiler to produce bootstrap.js, then just
reference bootstrap.js instead of the individual files since it already
contains all of them, and minified to boot.

Elsewise, download the master zip and you'll find all the individual JS
files in there.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bill  
View profile   Translate to Translated (View Original)
 More options Jul 24 2012, 12:38 pm
From: bill <realoptio...@gmail.com>
Date: Tue, 24 Jul 2012 09:38:55 -0700 (PDT)
Local: Tues, Jul 24 2012 12:38 pm
Subject: Re: access path to bootstraps .js functions are not working

Kenneth ,

thanks for looking at it. I'm not sure what you mean by ' web compiler ' .
I googled it and got http://webcompiler.codeplex.com/ . I think what you
mean is remove all the files at the end of the page and add  ( in my case ):

<script src="js/bootstrap.js"></script>. Is that correct?

Thanks,

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kenneth  
View profile   Translate to Translated (View Original)
 More options Jul 24 2012, 11:04 pm
From: Kenneth <kenli...@gmail.com>
Date: Tue, 24 Jul 2012 20:04:15 -0700 (PDT)
Local: Tues, Jul 24 2012 11:04 pm
Subject: Re: access path to bootstraps .js functions are not working

Was actually referring to the output script on the site at
(http://twitter.github.com/bootstrap/download.html). If you're developing
using the master kit with a JS compressor/minifier of your own, then
working with the individual files is going to be advantageous. You don't
want to unnecessarily weigh down your page load by parsing a ton of scripts
you don't use. For example if you're only loading dropdowns and tabs, then
there's no real need to call the scripts for the modals, tooltips, popovers
and the rest of the cavalry.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bill  
View profile  
 More options Jul 25 2012, 10:56 pm
From: bill <realoptio...@gmail.com>
Date: Wed, 25 Jul 2012 19:56:39 -0700 (PDT)
Local: Wed, Jul 25 2012 10:56 pm
Subject: Re: access path to bootstraps .js functions are not working

Thank you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »