D
D
DoubleWish2014-12-21 19:41:26
JavaScript
DoubleWish, 2014-12-21 19:41:26

Is it possible to make asynchronous loading of a yandex map?

The page slows down due to the loading of the map, can it be attached to the viewport to load a little later, when scrolling, for example? I can't find a similar solution in the api documentation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
frees2, 2014-12-21
@ZeroPT

<script  type="text/javascript">
$(document).ready(function() { $('#btn1666').hover(function(){  
$.ajax({ url: "canal22.php",cache: false,success: function(html){ $("#con").html(html); }
}); }); }); </script><div  id="con"><a href="#коллекция"  id="btn1666">коллекция каналов и роликов</a></div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question