I own a construction grid kendo.web.min.js with kendo.dataviz.min.js, but when I use the Using both collision occurs.
But it is interesting that the project jsfiddle it works well but when I run the project visual studio
I encountered the following error TypeError: s is undefined
jsfiddle code
<link href="css/themes.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet" />
<link href="js/kendo/src/styles/kendo.dataviz.css" rel="stylesheet" />
<link href="js/kendo/styles/kendo.silver.min.css" rel="stylesheet" />
<link href="js/kendo/styles/kendo.common.min.css" rel="stylesheet" />
<script src="js/kendo/js/kendo.web.min.js"></script>
<script src="js/kendo/js/kendo.dataviz.min.js"></script>
<script src="js/kendo/src/js/kendo.dataviz.sparkline.js"></script>
They conflict because they include the same files - kendo.data.js, kendo.core.js etc. You should never include them in the same page - use kendo.all.min.js or create a JavaScript file with only the required features.
More info is available in the Kendo UI documentation - JavaScript dependencies.
DataViz script must be put before the Web script.
<script src="js/kendo/js/kendo.dataviz.min.js"></script>
<script src="js/kendo/js/kendo.web.min.js"></script>
Related
i am using kendo chart in mvc razor
#(Html.Kendo().Chart().Name("chart"))
using this js and cs files
<link href="~/Scripts/kendo.dataviz.default.min.css" rel="stylesheet" />
<link href="~/Scripts/kendo.default.min.css" rel="stylesheet" />
<script src="~/Scripts/jquery-1.9.1.min.js"></script>
<script src="~/Scripts/jquery.min.js"></script>
<script src="~/Scripts/kendo.all.min.js"></script>
How can i fix this issue ?
You are facing a problem because you are adding jquery twice in your code. Try removing <script src="~/Scripts/jquery-1.9.1.min.js"></script> and
your code should work fine.
When setting up the Magento back end to 'Use SSL on Frontend' and setting the unsecured url and secured url to https://xxxxxxxxxxxx.com/shop, if I view source Magento is not displaying the references with https:// thus giving insecure content warnings..
I'm at a loss to why this is happening.
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/base/default/css/widgets.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/sidenav.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/sidenavcollapse.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/webtex/bubble.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/print.css" media="print" />
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/prototype/prototype.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/lib/ccard.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/prototype/validation.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/builder.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/effects.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/dragdrop.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/controls.js"></script>
After making configuration changes, you must clear your Magento cache so Magento is using the correct values.
Go to System > Cache Management, check all of the cache types and refresh.
Anyone else coming across this should also beware that Magento will only set https as source for loaded resources when https is actually 'needed', i.e when you browse the cart, checkout or account pages.
Ref:
https://magento.stackexchange.com/questions/896/https-layout-broken
http://www.sonassi.com/knowledge-base/magento-kb/magento-https-redirect-loop/
I have a doubt about kendo UI .I using Kendo chart and grid when ever i add the dataviz js script to my page and when ever loading the page grid is not displaying any columns.That is I can add only web or dataviz. Here are the script i added Is there any inter dependency between chart and grid.
<link href="KENDO/js/examples-offline.css" rel="stylesheet" type="text/css"/>
<link href="KENDO/styles/kendo.default.css" rel="stylesheet" type="text/css"/>
<link href="KENDO/styles/kendo.common.css" rel="stylesheet" type="text/css"/>
<script src="KENDO/js/jquery.min.js"></script>
<script src="KENDO/js/kendo.dataviz.stock.min.js"></script>
<script src="KENDO/js/kendo.web.min.js"></script>
<script src="KENDO/js/kendo.dataviz.min.js"></script>
<link href="KENDO/styles/kendo.dataviz.min.css" rel="stylesheet" type="text/css"/>
<script src="KENDO/js/console.js"></script>
This is what you should add for styling KendoUI web:
<link href="KENDO/styles/kendo.default.css" rel="stylesheet" type="text/css"/>
<link href="KENDO/styles/kendo.common.css" rel="stylesheet" type="text/css"/>
This is what you need for running KendoUI web:
<script src="KENDO/js/jquery.min.js"></script>
<script src="KENDO/js/kendo.web.min.js"></script>
This is for styling Kendo UI dataviz:
<link href="KENDO/styles/kendo.dataviz.min.css" rel="stylesheet" type="text/css"/>
And this is for running Kendo UI dataviz:
<script src="KENDO/js/kendo.dataviz.min.js"></script>
The others are for demos (you don't need them)
I was passed down a modded Magento application to do some modifications on and this is my first time using this kind of application. After rolling in pain for a day or two I finally managed to migrate the database. When I was trying to modify some CSS file I was stupefied to see it has no effect, then after an element inspection this came on
<script type="text/javascript" src="http://kicartonne.fr/js/mage/translate.js" ></script>
<script type="text/javascript" src="http://kicartonne.fr/js/mage/cookies.js" ></script>
<link rel="stylesheet" type="text/css" href="http://kicartonne.fr/skin/frontend/default/ki_cartonn/css/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://kicartonne.fr/skin/frontend/default/ki_cartonn/css/boxes.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://kicartonne.fr/skin/frontend/default/ki_cartonn/css/menu.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://kicartonne.fr/skin/frontend/default/default/css/clears.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://kicartonne.fr/skin/frontend/default/default/css/print.css" media="print" />
All file paths come off as absolute! How can I fix this? I can't find anything.
Under System->Configuration->Web(pretty sure) change the base url to the site you're wanting. If you're inspecting element on it, of course it's going to be absolute, that's how HTML works. The content is being generated dynamically at runtime.
<link href="http://www.../default.css" rel="stylesheet" type="text/css" />
Could not edit 'http://...' because it is not in the Web site.
I get this error box every five minutes, how do I get it to stop telling me this?
<link runat="server" id="defaultCss" rel="stylesheet" type="text/css"/>
and on your code behind
defaultCss.attributes.add("href","http://www..../default.css");
if your css is in your website then you can use
ResolveUrl("~/default.css")
to get the url
or probably best practice is to add it to your app theme folder http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx and then not only will it be automatically added but you'll get intellisense
Well, seems like it's because you're including an href that points to a URL, instead of a relative web path.
Instead of
<link href="http://www.mysite.com/styles/default.css" rel="stylesheet" type="text/css"/>
use
<link href="/styles/default.css" rel="stylesheet" type="text/css"/>
Also, make sure your closing
/>
is valid in terms of your Doctype.