Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<p>Автоматично въртене</p> <p> <img src="/photos/a.jpg" id="auto" width="600" height="400" /> </p> <p>Движете мишката върху снимаката</p> <p> <img src="/photos/a.jpg" id="mousemove" width="600" height="400" /> </p> <p>Текст </p>
wp_enqueue_script('jquery');
wp_enqueue_script( 'threesixty', get_template_directory_uri() . '/js/threesixty.js' );
<script language="javascript">
var arr = [];
arr.push("/photos/a.jpg");
arr.push("/photos/b.jpg");
arr.push("/photos/c.jpg");
arr.push("/photos/d.jpg");
jQuery(document).ready(function(){
jQuery("#mousemove").threesixty({images:arr, method:'mousemove', 'cycle':3, direction:"backward"});
jQuery("#auto").threesixty({images:arr, method:'auto', autoscrollspeed:3000});
});
// Tova slednoto neznam kakvo pravi i go ostavyam
if (self.name != '_refreshed_')
{
self.name ='_refreshed_';
self.location.reload(true); //used IE refresh command here
}
else self.name = '';
</script>
<p>Автоматично въртене</p>
<p> <img src="/photos/a.jpg" id="auto" width="600" height="400" />
</p>
<p>Движете мишката върху снимаката</p>
<p> <img src="/photos/a.jpg" id="mousemove" width="600" height="400" />
</p>
<p>Текст </p>
if ( !is_admin() ){
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"));
wp_enqueue_script('jquery');
}