Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    SPD
    SPD is offline
    New Coder
    Join Date
    Apr 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Tooltip with slideshow help!!

    Hello.

    I'm here again with my weird ideas...

    Check this script:

    http://www.superprodesign.com/spd/sc...tootltip3.html

    I mainly made it for IE users .. not because I don't like Netscape but because the majority of the people use IE5+

    I would like to know:

    1) This script works in Netscape? If yes, in which version(s)?
    2) Would you like to add anything to it?
    3) Do anybody in the forum knows how to make it function in Netscape?

    Please note the smooth transition effect in the slideshow... that is also a feature!

    Please comment on these points.
    Enjoy!

    http://www.superprodesign.com

    SPD :thumbsup:

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It won't work in any version of Netscape. If you want it to work in non-IE browsers then you can't use IE only constructs. Specifically the reference to objects on the page by their ID. IE will allow you to simply reference them by the ID as a global variable but the proper way is to use document.getElementById("id goes here").

    Other than that, you should use "cursor: pointer" in addition to "cursor: hand" since the former is standard and the latter is another IE only usage and while later versions of IE understand both , earlier versions only understand the non-standard CSS.

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That won't work in anything but IE, because you are using IE-only compatible references, such as
    Code:
    este.style.visibility="visible"
    When it should be
    Code:
    var elem = document.getElementById('este');
    elem.style.visiblity = "visible";
    Or, done via some abstraction process
    Code:
    function getNode( id )
    {
        return ( document.layers ) ? document.layers[id] : ( document.getElementById || document.all )( id );
    }
    
    var elem = getNode( 'este' );
    elem.style.visibility = "visible";
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #4
    SPD
    SPD is offline
    New Coder
    Join Date
    Apr 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Thanks!

    Well, I see.

    Thank you both...

    Is there anything else to modify that you can tell me or that's all...?
    Enjoy!

    http://www.superprodesign.com

    SPD :thumbsup:

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You really ought to download and install the latest Mozilla browser so you can test these things yourself. You don't have to let it associate itself with anything on your system so you can have it an only use it when you need to. But you're not going to be able to write code which you're sure will work with it when you don't have your own copy for testing.

  • #6
    SPD
    SPD is offline
    New Coder
    Join Date
    Apr 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up To Roy...

    I see your point... well... thank you nevertheless for the advice.

    SPD
    Enjoy!

    http://www.superprodesign.com

    SPD :thumbsup:


  •  

    Posting Permissions

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