Macintosh don't see javascript?

Discussion in 'HTML' started by vitay, Nov 16, 2006.

  1. vitay

    vitay Guest


    > vitay wrote:
    >> I have a page where button have the following java code:

    >
    > This isn't Java, it's Javascript.
    >

    Small mistake yes, of course it's javascript

    >> onmouseover="style.cursor=\'hand\'; btn_img.src=\''.$img.'\';"

    >
    > I don't see what sense this code makes anyway. If you want the cursor to
    > turn into a pointer (not "hand"--that's IE-specific), you set the tag's
    > style attribute (or use a separate stylesheet) from the outset instead of
    > waiting for a mouseover:
    >
    > style="cursor: pointer;"


    It means thah I must set style on <img>?

    > As for the image's src property, even if $img expands into something else,
    > I don't see how setting the src to
    >
    > '.http://www.example.com/resource.'
    >
    > is what you want.


    I don't understand this paragraph but in $img is only name of jpg and
    nothing else.
    vitay, Nov 16, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nick Van Dyck
    Replies:
    1
    Views:
    415
    John Timney \(ASP.NET MVP\)
    Jan 9, 2005
  2. Replies:
    0
    Views:
    471
  3. Flip
    Replies:
    3
    Views:
    957
    Tony Morris
    Feb 9, 2004
  4. Steve Kershaw
    Replies:
    1
    Views:
    342
    Brennan Stehling
    Sep 26, 2006
  5. vitay
    Replies:
    3
    Views:
    298
    Harlan Messinger
    Nov 16, 2006
Loading...

Share This Page