Skip to main content
alexandere444
Participant
June 21, 2018
Answered

slider doesn't works after saving and showing in browser

  • June 21, 2018
  • 2 replies
  • 736 views

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,initial-scale=1.0" >

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

This topic has been closed for replies.
Correct answer alexandere444

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.

2 replies

Nancy OShea
Community Expert
Community Expert
June 22, 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
alexandere444
alexandere444AuthorCorrect answer
Participant
June 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 attention.

Nancy OShea
Community Expert
Community Expert
June 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