Results 1 to 16 of 16

Thread: How to TURN OFF THE BLOODY FOCUS BOX!? [resolved]

  1. #1

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935

    How to TURN OFF THE BLOODY FOCUS BOX!? [resolved]

    I made a linked image that when clicked calls a Javascript function. How can I kill the focus rectangle when it is clicked?

    Attached Images Attached Images  
    Last edited by filburt1; Mar 30th, 2002 at 08:10 PM.

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Code:
    <img src="pic.jpg" onClick="body.focus();" border="0"/>
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Error: 'body' is undefined

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    How about 'window.focus()'?

    IE 6 isn't giving me any problems.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  5. #5

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Here, see for yourself: http://www.turtletips.com/matrix/header.php

    Try clicking the first icon

    Trying window.focus() now

  6. #6
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Error: 'body' is undefined
    ahhhhhhhggggg!!!!! filburt's got no body!

    run for the hills!

  7. #7

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Ah, window.focus() did it

    Chris, read the thread tt2 posted about Unix errors

  8. #8
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by filburt1
    Here, see for yourself: http://www.turtletips.com/matrix/header.php

    Try clicking the first icon

    Trying window.focus() now
    For me it works
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  9. #9

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Well now it does ya silly , I changed it to window.focus() as you suggested.

  10. #10
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Okay, okay

    (just trying to keep this thread going for about 150 more posts )

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  11. #11
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    I'm game, lets go!

  12. #12
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    You get the peanuts, I'll get the gin.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  13. #13

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Pardon?

  14. #14
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Careful, don't want this moved to Chit Chat
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  15. #15

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    m'kay, to prevent further chitter chatter...

  16. #16
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    *keeps shtum*

Posting Permissions

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



Click Here to Expand Forum to Full Width