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 5 of 5
  1. #1
    Banned
    Join Date
    Mar 2008
    Posts
    45
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Exclamation Opaque 'Alt' Box

    Hi, I was trying to create the hover box on
    http://thesims3.ea.com/cas.php.
    (The boxes that pop up when u hover over the sims.)
    Please help

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    That’s simple. Well, at least finding out how they did it is simple. If you analyze their source code you will find this line:

    Code:
    <script type="text/javascript" src="/jscript/boxover.js"></script>
    Now, if you copy the path of that file and add it to the domain in the address bar you get this: http://thesims3.ea.com/jscript/boxover.js That’s the JS for the tooltips. Now, if the copyright holder allows it you can copy this script and use it on your website. If not then there are free alternatives, for example at: http://demos.mootools.net/Tips

  • Users who have thanked VIPStephan for this post:

    TS2UK (03-28-2008)

  • #3
    Banned
    Join Date
    Mar 2008
    Posts
    45
    Thanks
    7
    Thanked 0 Times in 0 Posts
    thanks =)

  • #4
    Banned
    Join Date
    Mar 2008
    Posts
    45
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    That’s simple. Well, at least finding out how they did it is simple. If you analyze their source code you will find this line:

    Code:
    <script type="text/javascript" src="/jscript/boxover.js"></script>
    Now, if you copy the path of that file and add it to the domain in the address bar you get this: http://thesims3.ea.com/jscript/boxover.js That’s the JS for the tooltips. Now, if the copyright holder allows it you can copy this script and use it on your website. If not then there are free alternatives, for example at: http://demos.mootools.net/Tips
    I need to know now how to include the code into my site as I havnt got a clue

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Learn from their source code. That's how I learned a lot of what I know today.


  •  

    Posting Permissions

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