Copy link to clipboard
Copied
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-
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
...Copy link to clipboard
Copied
Are you saying DW is showing this in Code View?
This looks more like a Device / Real-Time Preview page.
Copy link to clipboard
Copied
Can you upload your work to a TEST folder on your remote server and post the URL?
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now