SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing the pointer to hand shaped

    Hi,

    I would like to iplement clickable smilies, I just found this nice javascript function

    http://www.scriptygoddess.com/archives/001293.php

    however I would like when the pointer is hovered over the smiley, the pointer should turn from arrow to hand , is ther ea simple onmouseover that can do this

    thanks

  2. #2
    SitePoint Member XtraElusive's Avatar
    Join Date
    Jul 2003
    Location
    CA
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i don't know about mouse overs.. but you could use css..
    have the it like this:
    //file called name.css (type exactly as is from img to })
    img {
    cursor: pointer;
    }

    //your page with the smiles
    before the </head> tag put
    <link rel="stylesheet" type="text/css" href="name.css"> <- just make sure name.css points to where name.css is saved.

    it should now have it so the pointer appears when over images.
    if by pointer you mean the arrow... change pointer to default in the css file.
    HOPE THIS HELPS
    [1337ness comes with time.] [I can wait.] -[Xc]


Bookmarks

Posting Permissions

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