image - Jquery not working for me -
i have followed different solution here in stacj overflow regards coinslider not moving. here's mine. seems dont know how make move. here's code.
thanks.
<%@ page language="c#" autoeventwireup="true" codebehind="index.aspx.cs" inherits="leavemanagementfinal.index" %> <!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>crossxtrain - home</title> <link href="css/master.css" rel="stylesheet" /> <link href="css/coin-slider-styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js/jquery-1.7.2.js"></script> <script type="text/javascript" src="js/coin-slider.min.js"></script> <%--<style type="text/css"> .frame { font:12px arial; width:200px; height:200px; border:none; overflow:hidden; border:1px solid black; padding:5; } </style> <script language="javascript"> = 0 var speed = 1 function scroll() { = + speed var div = document.getelementbyid("news") div.scrolltop = if (i > div.scrollheight - 160) { = 0 } t1 = settimeout("scroll()", 10) } </script>--%> </head> <body onload="scroll()"> <div class="divpage"> <img src="images/header2.png"> <div class="divmenu"> <a class="fontstaticmenuitemstyle" href="index.aspx"> home</a> <a class="fontstaticmenuitemstyle" href="leavemanagementlogin.aspx"> leave management</a> <a class="fontstaticmenuitemstyle" href="news.aspx"> news</a> <a class="fontstaticmenuitemstyle" href=""> articles</a> <a class="fontstaticmenuitemstyle" href="aboutus.aspx"> us</a> <a class="fontstaticmenuitemstyle" href="contactus.aspx"> contact us</a> </div> <script type="text/javascript"> $(document).ready(function () { $('#news').news(); }); </script> <div class="mainbanner" id="news" > <img src="images/bubles.jpg" /> <img src="images/crossxtrain.jpg"/> <img src="images/crossxtrain3.jpg"/> <img src="images/crossxtrain4.jpg"/> <img src="images/crossxtrain5.jpg"/> <img src="images/crossxtrain6.jpg"/> <img src="images/crossxtrain7.jpg"/> <img src="images/crossxtrain8.jpg"/> <img src="images/crossxtrain9.jpg"/> </div> <div class="clear"> </div> <div class="mainadfooter"> <input type="image" class="secondinput" src="images/bubles.jpg"/> <input type="image" class="thirdinput" src="images/hcs.jpg" onclick="javascript: window.location.href = 'http://www.healthcaresynergy.com/'"/> <input type="image" class="thirdinput" src="images/fusionplus.png" onclick="javascript: window.location.href = 'http://sync.fusionpl.us//'"/> <input type="image" class="thirdinput" src="images/doublerule_logo@2x.png" onclick="javascript: window.location.href = 'http://www.doublerule.com/'"/> </div> <div class="clear"> </div> </div> <div class="clear"> </div> <div class="footer"><p>copyright © 2014. crossxtrain company inc. rights reserved. | leave management system - isd (php)</p></div> </body> </html> <script type="text/javascript"> $(document).ready(function () { $('#news').news(); }); </script> thank all.
your script needs inside html tags.
Comments
Post a Comment