Results 1 to 9 of 9

Thread: okie.. new web question..

  1. #1
    Morterator Immortal's Avatar
    Join Date
    Apr 2000
    Location
    Mississauga, Ontario , Canada. Behaviour : Good
    Posts
    22,671

    okie.. new web question..

    I know u guys are all geniuses so I need yah help again..

    does anyone know the code to do roll over stuff?

    let's say... I'm rolling over a text link... and another image changes somewhere... and roll over anohter link and anohter image changes... u know.. kinda like that..

    anyone?

    thanx in advancee

  2. #2
    Game Freak Gaming-Module's Avatar
    Join Date
    Feb 2001
    Location
    Michigan
    Posts
    7,987
    You are looking for Java script, which I haven't learned yet.

    Sorry.

  3. #3
    Card Shark AAF Striker's Avatar
    Join Date
    Mar 2001
    Location
    South of the D
    Posts
    3,558
    Thought you might be interested in these a little bit. They should help you out a lot anf get a better understanding.

    http://neofrog.com/tips/javascript.html

    and go to http://www.pankpages.com/mouseover.htm which will allow you to input your information and generate a script... (However, both of these deal with mousing over an image to change another image somewhere) These are the ones off the top of my head, there are probably quite more.

  4. #4
    Anime Dork Altema's Avatar
    Join Date
    Jul 2001
    Location
    Cali :)
    Posts
    1,823
    formerly: Banzaiiboi

  5. #5
    Morterator Immortal's Avatar
    Join Date
    Apr 2000
    Location
    Mississauga, Ontario , Canada. Behaviour : Good
    Posts
    22,671
    yeah.. something like banzai's but simpler.. heh..

  6. #6
    Advanced Member Jon's Avatar
    Join Date
    Jun 2000
    Location
    3rd rock from the sun
    Posts
    882
    I made a few assumptions but I think this is what you are looking for.

    <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">


    if (document.images) {
    image1 = new Image
    image2 = new Image

    image1.src = "insert your image file here"
    image2.src = "insert your image file here"
    }


    </SCRIPT>

    <A HREF="your page you want to link to (i.e. test2.html)"
    onMouseover="document.image.src=image2.src"
    onMouseout="document.image.src=image1.src">
    <IMG SRC="path to your first displayed image (i.e c:\test.gif)" WIDTH="xxxx" HEIGHT="xx" BORDER="0" NAME="image"
    ALT="image"></A>

    I hope this is what you are looking for.

    ps....
    If it helps I put up a quick web page with a simple rollover.

    http://www.thevanvleets.com/rollover.html
    Last edited by Jon; 08-20-01 at 08:23 PM.

  7. #7
    Morterator Immortal's Avatar
    Join Date
    Apr 2000
    Location
    Mississauga, Ontario , Canada. Behaviour : Good
    Posts
    22,671
    thanx for that.. but I already knew how to do that.. I found out how to do mine... thanx for helping

    if I hit anohter wall I'd drop by again!

  8. #8
    SG Enthusiast SRF01's Avatar
    Join Date
    May 2001
    Location
    Ottawa Ont.
    Posts
    1,347
    I'm gonna post a site that will do it for you.
    It's really a pretty good site for site designers.

    Stay tuned... cause I can't remember what it is right now. crap! i'll be back...

  9. #9
    SG Enthusiast SRF01's Avatar
    Join Date
    May 2001
    Location
    Ottawa Ont.
    Posts
    1,347
    Told ya i'd be back

    here's the url - here

    It should help you out.

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
  •