Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Senior Member kirman's Avatar
    Join Date
    May 2003
    Location
    UK England
    Posts
    765
    Member #
    1499
    Liked
    2 times
    im after making my role over appear somewhere else.. like say you role over an image at the top on my page and the role over image is alongside or above it..

    thnx
    Dream like you'll live forever. Live like you're gonna die 2morrow!

  2.  

  3. #2
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    Could you please try to explain a little better?...
    JR

  4. #3
    Senior Member kirman's Avatar
    Join Date
    May 2003
    Location
    UK England
    Posts
    765
    Member #
    1499
    Liked
    2 times
    ok say there is a button (image) here and when some1 mouse overs it the role over effect is say other here.... if u get me ?


    like disjointed mouseover maybe.. ???
    Dream like you'll live forever. Live like you're gonna die 2morrow!

  5. #4
    Junior Member
    Join Date
    Aug 2003
    Location
    North Carolina
    Posts
    3
    Member #
    2610
    what you can do is write a function that accepts 2 parameters: image_id and new_image. image_id will be the id of the image which is affected. new_image will be the actual filename of the image you wish to appear on the mouse over.
    Code:
    function(image_id, new_image) {
    	var my_image = document.getElementById(image_id);
    	my_image.src = new_image;
    }
    In order to call this function, you will need to setup an event inside your first image
    Code:
    <img src="image1.jpg" onmouseover="set_image('other_image', 'image2.jpg');">
    Your destination image needs to be setup with the id 'other_image'
    Code:
    <img src="temp.jpg" id="other_image">
    You should be able to customize it from there to suit your needs. This code is untested, but should work if implemented correctly.

  6. #5
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    If you are using Dreamweaver, there is a tutorial for this here.

  7. #6
    Senior Member kirman's Avatar
    Join Date
    May 2003
    Location
    UK England
    Posts
    765
    Member #
    1499
    Liked
    2 times
    thnx for that
    Dream like you'll live forever. Live like you're gonna die 2morrow!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:25 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com