Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 2 of 2
  1. #1

    No idea why this simple rollover script isn't working!! HTML?

    <html>
    <body bgcolor= "#00CCFF"
    <head>
    <title>Apps</title>

    <script language="JavaScript">

    out = new Image;
    over = new Image;

    out.src = "images/Apps.psd";
    over.src = "images/Apps rollover.psd";

    </script>

    </head>
    <body>

    <a href="Apps.html"
    onMouseover="document.menu.src=over.src"
    onMouseout="document.menu.src=out.src"

    img name="menu" src="images/Apps.psd"></a>

    </body>
    </html>

    The background colour works. I got the code from a website. Their example worked well, I've done exactly the same, but i changed the images and href around, and now it doesn't work. Its driving me mad!

  2. #2
    simbe1's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jun 2011
    Age
    46
    Posts
    116
    Downloads
    0
    Uploads
    0
    you must change images extension you have this code:"images/Apps.psd",it must be:"images/Apps.jpg" or "images/Apps.gif",make image in .jpg format and then try...

 

 

Quick Reply Quick Reply

Click here to log in


What color is our footer?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple CGI script not working... Help...!!!?
    By ksr0212 in forum Discuss PERL
    Replies: 0
    Last Post: 01-07-2011, 04:21 AM
  2. simple java script with HTML?
    By normthesamurai in forum Discuss HTML
    Replies: 1
    Last Post: 10-13-2009, 04:58 PM
  3. Why isn't my php script working?
    By Mstrlouis in forum Discuss PHP
    Replies: 1
    Last Post: 09-10-2009, 03:52 PM
  4. Need a simple php and html script!?
    By Nishant B in forum Discuss HTML
    Replies: 2
    Last Post: 04-16-2009, 08:45 AM
  5. Why isn't my PHP script working?
    By 123456789 in forum Discuss PHP
    Replies: 1
    Last Post: 12-03-2008, 10:12 PM

Bookmarks

Posting Permissions

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