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

slider doesn't works after saving and showing in browser

New Here ,
Jun 21, 2018 Jun 21, 2018

Hello,
i 've some broblems with showing up coin slider in browser. (firefox, chrome tested)
In live-preview of dreamweaver cc all works pretty well. After looking at the source code
in the browser, i saw that dreamweaver overwrites it and that there is a lot of js-script files
are shown. This files are not located in my site folder. Where do they come from?

<head>

   <!-- Copyright 2015 Adobe Systems Incorporated. All rights reserved. -->

   <meta charset="utf-8">

   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

   <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9" ><![endif]-->

   <title>Device Preview</title>

   <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, maximum-scale = 1.0, minimum-scale=1.0,i..." >

   <script src="js/jquery.min.js"></script>

   <script src="js/URI.js"></script>

   <script src="js/constants.js"></script>

   <script src="js/DevicePreviewUtils.js"></script>

   <script src="js/DevicePreviewSocketApp.js"></script>

<script src="js/DevicePreviewMessageHandler.js"></script>  

<script src="js/DevicePreviewMain.js"></script>

   <link rel="stylesheet" type="text/css" href="css/main.css">

</head>

Slider ist implemented like this:

<script type="text/javascript" src="/_assets/js/jquery-1.4.2.js"></script>

<script type="text/javascript" src="/_assets/js/coin-slider.min.js"></script>

Could there be some conflict between the versions of the jquery files?

Thank you for any help you can offer-

733
Translate
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

New Here , Jun 22, 2018 Jun 22, 2018

Hello Nancy thanks for your reply!

I've solved the issue yesterday, in a late hour.

Yes Dreamweaver has shown the transition of the slider in live-preview-mode

but in browser only first image was shown.
Problem were the slashes / before the relativ paths!

<script type="text/javascript" src="/_assets/js/jquery-1.4.2.js"></script>

<script type="text/javascript" src="/_assets/js/coin-slider.min.js"></script>

I 've deleted them and all works pretty good now!

Thanks for considering this. I appreciate your a

...
Translate
Community Expert ,
Jun 21, 2018 Jun 21, 2018

Are you saying DW is showing this in Code View?

This looks more like a Device / Real-Time  Preview page.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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 ,
Jun 21, 2018 Jun 21, 2018

Can you upload your work to a TEST folder on your remote server  and post the URL?

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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
New Here ,
Jun 22, 2018 Jun 22, 2018
LATEST

Hello Nancy thanks for your reply!

I've solved the issue yesterday, in a late hour.

Yes Dreamweaver has shown the transition of the slider in live-preview-mode

but in browser only first image was shown.
Problem were the slashes / before the relativ paths!

<script type="text/javascript" src="/_assets/js/jquery-1.4.2.js"></script>

<script type="text/javascript" src="/_assets/js/coin-slider.min.js"></script>

I 've deleted them and all works pretty good now!

Thanks for considering this. I appreciate your attention.

Translate
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