Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9004839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:59:27+00:00 2026-06-16T00:59:27+00:00

This is working in Chrome but not working in IE. HTML: <img class=ortaresim name=img1

  • 0

This is working in Chrome but not working in IE.

HTML:

<img class="ortaresim" name="img1" src="Images/resim.png" alt="gezi" width="460" height="308" />

<a href="#" onMouseover="change_img()" onMouseout="change_back()"></a>

JavaScript:

function change_img() { document.images.img1.src = "Images/yemek.jpg"; }

function change_back() { document.images.img1.src = "Images/resim.png"; }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:59:28+00:00Added an answer on June 16, 2026 at 12:59 am

    Your issue is not clear to me.If your code want to change image on focus on image then it should work with this.

    <html>
        <script type="text/javascript">
    
            function change_img() {
                document.images.img1.src = "image1.jpg"; 
            }
    
            function change_back() { 
                document.images.img1.src = "image2.jpg"; 
            }
    
        </script>
        <img 
            name="img1"
            src="image2.jpg" 
            alt="gezi" 
            onMouseout="change_back()"  
            onMouseover="change_img()" />
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HTML code: <div id=img-wrapper> <img src=images/1.png title=Picture 1 class=my-img /> <img src=images/2.png title=Picture 2
this code is working in Firefox but not in Chrome v.23. When I trace
.load() was working fine, but for some reason it's not in Chrome now (presumably
I can't seem to get this working in Chrome 22.0, but it works fine
this is my code, it's working on ie9 chrome firefox but ie7 and ie8
I have this code working fine with FF and opera but not with safari
I have an animation that is working fine in Chrome and Safari but not
This javascript works fine in Chrome and Firefox but not in IE8: <script type=text/javascript>
Why this box-shadow is not working in firefox.. But it is showing shadow in
I have a outer div which is working correctly in chrome, firefox but not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.