Is the jQuery plugin that allows users to draw rectangles in a div work in the basic setting, but not when implemented on my page?

I use this boxing plugin to allow the user to draw rectangles in a div. It works for me in this jsFiddle .

But I can’t get it to work on this one , that’s how I will use it. I think it might be due to CSS style? Can anyone say why it is not working?

Thanks for reading.

+3
source share
2 answers

, jQueryUI 1.7.2, jQueryUI 1.8 Framework, , . , ,

http://jqueryui.com/docs/Upgrade_Guide

+2

<script> jQuery jQuery UI: head :

<head>
    <title>Page</title>  
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" media="screen" rel="stylesheet" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
</head>

, ya:)

: http://jsfiddle.net/q75J7/

+1

Source: https://habr.com/ru/post/1777571/


All Articles