<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link href="gb_base.css" rel="stylesheet" type="text/css"> </head> <style> body { background-size: cover; background: url(アリエル背景.jpg) center center / cover no-repeat fixed; cursor: url(arieru.cur), url(arieru.jpg), auto; } </style> <body> <script src="bubbleparticle.2.js"></script> <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script> <script type="text/javascript" src="saisyuu.js"></script> <script type="text/javascript"> function gotoPage(page) { // document.location.href ="gb01.html"; alert("ページ遷移しまOK?"); document.location.href =page; // document.location.href =gb02; } $("#A").on("click",function(){//Aへ進む gotoPage("type4.html"); // document.location.href ="gb01.html"; }); // $("#B").on("click",function(){//Aへ進む // gotoPage("type4.html"); //// document.location.href ="gb01.html"; //}); </script> </body> </html>
マウスカーソルを画像にして表示したいと考えているのですがうまく動きません。
cursor: url(arieru.cur), url(arieru.jpg), auto;
をcssで付け加えてみました表示したい画像はarieruになります。
どなたかわかる方、教えていただけないでしょうか。
回答2件
あなたの回答
tips
プレビュー