Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

jQuery v.3.1.1 within DW's Bootstrap files.

Engaged ,
Mar 15, 2017 Mar 15, 2017

Copy link to clipboard

Copied

The Bootsatrap JS folder of the Dreamweaver CC 2017.0.1 comes with the "jquery-1.11.3.min.js". But at this time the updated version is the "jquery-3.1.1.slim.min". Is it Ok if I delete the 1.11.3 version and replace for the 3.1.1.slim.min? Anybody tried this? Might be conflict? Orientations, please.Thanks a lot.

Views

951
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 17, 2017 Mar 17, 2017

Working locally with  CDN hosted Bootstrap & jQuery is not problem if you have internet access which I do unless the power goes out.  I also use PHP, MySQL & WAMP local testing server.

Nancy

Votes

Translate
LEGEND ,
Mar 15, 2017 Mar 15, 2017

Copy link to clipboard

Copied

Try it, you can always revert back if it does not work.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2017 Mar 15, 2017

Copy link to clipboard

Copied

Which version of Bootstrap are you using?

Below are the latest Bootstrap and jQuery from CDNs with integrity checking.

<!--latest minified Bootstrap CSS-->

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<!--latest minified jQuery-->

<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="crossorigin="anonymous"></script>

<!--latest minified Bootstrap JS-->

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

Thanks Nancy. I am using the current version 3.3.7 which fortunately is included in the dreamweaver package. My concern regards mostly about the integration between DW and bootstrap, because, for me it  would be easy leave the DW and work only Bootstrap and Brackets (which I have been doing), BUT...

...Having these improvements of the DW CC 2017.0.1 I wanna give a chance to DW. So, if I need update something regarding the bootstrap, it would not be a problem? or DW will update it automatically? What about the jQuery 3.1.1 which is the updated one when the current DW includes only the 1.11.3 version? do I copy it inside the JS folder of the bootstrap package in DW?

What about the slim version of the jQuery ("jquery-3.1.1.slim.min"). Could I use it instead of the traditional ".min.js" versions? Thanks for the CDN links. However I prefer to work locally.

Thanks again for your reply.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

I've been using Bootstrap & jQuery long before DW integrated them.  I have always moved to modern scripts myself.  It has never been DW's top priority to send out updates each time jQuery or any other build comes out.   So if you're expecting DW to manage this for you,  don't hold your breath for too long. 

Minified scripts hosted on CDNs are better for the web.  But if you're on a closed intranet, then you might not want to use them.

Why use a Content Delivery Network (CDN)? | GTmetrix

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

I have not looked as Slim scripts.  I have no experience with them.

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 17, 2017 Mar 17, 2017

Copy link to clipboard

Copied

Ok. I prefer to work locally because I have some PHP and I guess that only with a local server is posible to test it and to see the pages rendered properly, right? But maybe, I can work locally with the typical local folders and when I am ready to upload the site, I just change the "local scripts" for the CDN. You think it could work? Thanks again.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 17, 2017 Mar 17, 2017

Copy link to clipboard

Copied

LATEST

Working locally with  CDN hosted Bootstrap & jQuery is not problem if you have internet access which I do unless the power goes out.  I also use PHP, MySQL & WAMP local testing server.

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines