Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Wisconsin, USA
    Thanked 0 Times in 0 Posts

    Random cursor image?

    Is this possible? I've never used arrays before, but it seems like that would be the way to do it. Anybody know how to code for this? I have the code to pull up a cursor image; it's a CSS. Can you use an array in the head section, because that's where the CSS is? Or would you even need to...?

    My head hurts....

    EDIT: OK, someone I know gave me this code, but I am at a loss as to how to make it work. Somebody explain?

    <script language="javascript" type="text/javascript">
    var thestuff = new Array ('0.cur','1.cur','2.cur','3.cur','4.cur');
    document.write('<a style="cursor:url(\'http://u.com/');

    I think there must be things missing, but I dunno what. Also, where would one put this? <head>? <body>? CSS?
    Last edited by psychonana; 07-09-2002 at 03:44 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts