Link to home
Start Free TrialLog in
Avatar of smitty62
smitty62Flag for United States of America

asked on

Can't get cursor to change

I want to use a different cursor on a web page.  Here is the code, but it works only in IE:

<body style="cursor:url('http://doinet2.illinois.gov/home/Documents/nat630.cur')">

Open in new window

Avatar of Member_2_248744
Member_2_248744
Flag of United States of America image

SORRY I accidentally posted to the wrong question! !

greetings smitty62, , , , ,  You must place that javascript AFTER the page code for -
    <div class="bubbles"></div>
has finished loading, at the bottom of the page,
OR
place the JS code in the jquery document ready container in the JS on top of page

$( document ).ready(function() {
var $bubbles = $('.bubbles');

function bubbles() {
/// rest of code below

= = = = = = = = =
if you place code before the -
    <div class="bubbles"></div>
without the    $( document ).ready(function() {     then the javascript can not find the non extant elements with the .bubbles class
ASKER CERTIFIED SOLUTION
Avatar of Dmitrii
Dmitrii
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smitty62

ASKER

Thank you.