Answer the question
In order to leave comments, you need to log in
Calendar in input tag?
Faced a not good situation when the datepicker does not work as it should, namely:
1) I have Bootstrap3, Jquery, Jquery-UI - that's all I can use. And also given 2 input fields on the page and 2 input fields in the modal window.
2) I can’t display at least a copy of the code on JsFiddle, because there is a lot of code and, unfortunately, “subscription”
3) When I insert the code into the page like this:
<input type="text" class="datepicker_goal" value="Period"/>
$('.datepicker_goal').datepicker();
<input type="text" class="datepicker_goal_modal" value="Period"/>
$('.datepicker_goal_modal').datepicker();
$('body').on('hide.bs.modal', '.modal', function (event) {
.datepicker{z-index:1151 ;}
Answer the question
In order to leave comments, you need to log in
$('.datepicker_goal, .datepicker_goal_modal').datepicker();
The site has a separate video without effects + 4 pictures.
There, the transparency of all four images is changed separately.
Regarding transparency depending on the position of the cursor (as I think):
For each picture there is a conditional center of action - the closer the cursor is to it, the less the transparency of the picture.
By moving the cursor, you calculate the distance between two points - the cursor and the conditional center,
and calculate the transparency (interpolation will help you).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question