Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "<script src=\"./include/jquery.js\" type=\"text/javascript\"></script>\n";
- echo "<script src=\"./include/jquery.marquee2.js\" type=\"text/javascript\"></script>\n";
- echo "<script type=\"text/javascript\">\n";
- echo "<!--\n";
- echo "$(function () {\n";
- echo "$('div.demo marquee').marquee('pointer').mouseover(function () {\n";
- echo "$(this).trigger('stop');\n";
- echo "}).mouseout(function () {\n";
- echo "$(this).trigger('start');\n";
- echo "}).mousemove(function (event) {\n";
- echo "if ($(this).data('drag') == true) {\n";
- echo "this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);\n";
- echo "}\n";
- echo "}).mousedown(function (event) {\n";
- echo "$(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);\n";
- echo "}).mouseup(function () {\n";
- echo "$(this).data('drag', false);\n";
- echo "});\n";
- echo "});\n";
- echo "//-->\n";
- echo "</script>\n";
- echo "<div style=\"position:absolute; left: 500px; top: 10px;\" class=\"demo\"><marquee behavior=\"scroll\" direction=\"up\" scrollamount=\"1\" >\n";
- echo "<center><span style=\"color:white;font-size:45px;\">".$duma."</span></center></marquee>\n";
- echo "</div>\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement