Swap image restore does not restore all images

I have implemented a simple bearing which permutes the two different images, following the instructions provided by Adobe. If I roll over an image, it replaces this image and a different image. This part works fine. But when I roll off the coast of the image, it restores only one that I have switched to the original, but not the secondary image. Here's the relevant code:

##THIS CODE IS GENERATED BYDREAMWEAVER, I HAVE NOT MODIFIED

< script type = "text/javascript" >

function MM_swapImgRestore() //v3.0 {}

var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

}

function MM_preloadImages() {//v3.0

var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

}

function MM_findObj (n, d) {//v4.01

var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

If (! x & & d.getElementById) x = d.getElementById (n); Return x;

}

function MM_swapImage() {//v3.0

var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

}

< /script >

and...

"< a href ="aboutus.html"MM_swapImgRestore" onmouseover ="MM_swapImage ('aboutus'", ' images/aboutus2.png', 1) "> < img src =" images/buttons_06.png "alt ="About Us"name ="aboutus"width ="67"height ="26"border ="0"id ="aboutus"onmouseover =" MM_swapImage ('text', ", ' images/text2.png', 1) ' MM_swapImgRestore" / > < /a > "

It restores aboutus very well, but he's not restore the text.

Any help would be appreciated!

I'm assuming that you would have affected the behaviors to swap an Image twice - once for the on the image to change and the second time to change the image of the top. This makes DW create 2 instances of mouseover and mouseout/mouseouthandler() code code is replaced by the 2nd change to your Swap Image.

The ideal way to do is to select your image of trigger that you want to activate SwapImage. Add the behavior > Swap Image > choose first a source of swap for 'about '. Still haven't click OK. Choose your 2nd image you want to edit - text, in our case. Select a swap for this source as well. Make sure preload images and restore on mouseout/mouseouthandler() are checked. Now, click OK.

Your task must be completed.

I downloaded the correct version to the http://www.forwardfocus.in/sandbox/testmouseover for you to see.

One other quick thing, I wanted to tell you: I see that you used full slices to make your site. It is generally bad practices. Try not to cut your site completely, directly from Photoshop. Define your CSS and use HTML with individual items to complete your site.

Tags: Dreamweaver

Similar Questions

  • Send an email using mail my signature seems to drop before my email is considered by my beneficiaries. This does not happen all the time but often. Is anyone else know / encountered this problem? If, kind of help to rectify this please.

    Hi, when you send an email using the mail my signature seems to drop before my email is considered by my beneficiaries. This does not happen all the time but often. Is anyone else know / encountered this problem? If so help to rectify this would be greatly appreciated please. Thank you

    It is up to the recipient how their e-mail is displayed. For example, if you include html or an image in your email the recipient may set up their customer e-mail to not display html or images. You have no control over the way a recipient chooses configure their e-mail client.

  • Computer is very slow and IE does not work all the time.

    I bought a computer from my old employeer.  He is doing all sorts of things, or should I say not to do all sorts of things.  It is very slow and IE does not work all the time.  They have questions arise and ask if the administrator oks things and other things like that.  It came with any disks.  I would like to wipe, clean and load a new disc, but I don't know where to find the disc or if I can do it.   Can someone please?

    Hello

    Proceed as follows to contribute to these two questions. You can probably buy the disks of Vista machine to system or get
    the former employer to do it for you if necessary.

    Try these and it can also be a good idea to update your main drivers later. The General corruption can also play a
    role in this issue. And even the TCP/IP stack might need to be refreshed.

    What antivirus/antispyware/security products do you have on the machine? Be one you ALREADY had on this
    machine, including those you have uninstalled (they leave leftovers behind which can cause strange problems).

    If no joy there's something blocking perhaps.

    Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK

    Close and restart IE or IE with no addons

    not better?

    IE - tools - manage Addons (for sure disable SSV2 if it is there, it is no longer necessary but Java always install
    "(and it causes problems - you never update Java to go back in and turn it off again)." Search for other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look right. Permit
    are usually OK and "unauthorized" are not always bad. If in doubt about a program to ask about it here.

    Could be that a BHO - BHOremover - free - standalone program, needs no installation, download and run - not all
    are bad, but some can cause your question (toolbars are BHO).
    http://securityxploded.com/bhoremover.php

    Startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Also get Malwarebytes - free - use as scanner only.

    http://www.Malwarebytes.org/

    --------------------------------

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    --------------------

    Departure - in the search box, type-> order

    at the top of the list to find COMMAND - CLICK RIGHT to it - RUN AS ADMIN

    Type the following commands (or copy and paste one at a time), each followed by pressing on enter.

    ipconfig/flushdns

    nbtstat-r

    nbtstat - RR

    netsh int Reinitialis

    netsh int ip reset

    netsh winsock reset

    RESET

    That resets your TCP/IP stack

    --------------------------------

    Maybe need of these:

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • copy - paste does not work all of a sudden

    copy paste does not work all of a sudden. I did system restore has do updates again and it still does not work.

    then I did this thing running and it might fix something and I do not understand what are the new instructions all about - that's why people buy Mac?

    CTRL + c and ctrl + v work?

    Try this

    (1) Start-> Run-> Services.msc

    2) look for Desktop Window Manager Session Manager.

    (3) restart the Service

  • During a conversion attempt has us page to PDF in explorer11, does not in all folders in the list of the file Explorer. The olny happened after conversion to win 10

    During a conversion attempt a webpage to PDF in explorer11, does not in all folders in the list of the file Explorer. The olny happened after conversion to win 10

    Hello

    We could not see the attachment. Let me tell you how you can attach the file.

    1 - Select the icon of the image of the top toolbar.

    2. then click on "select a file".

    3 - Select the image you want to download.

    4 - Click on "insert image".

    I hope this has been helpful.

    Thank you!

    Shivam

  • I have iphone5s and my contact id does not work, all the time he show faild Setup touch id please help?

    I have iphone5s and my contact id does not work, all the time he show faild Setup touch id please help?

    Hi yjain51,

    I understand you had some problems recently with getting Touch ID to work reliably on your iPhone 5s. I know that it is a feature of great security for your iPhone, so I'm happy to help you.

    When you use Touch ID, make sure that your hands are free of any dirt or moisture so that fingerprints can be read clearly. This article explains further:

    Use the ID Touch on iPhone and iPad - Apple Support

    Thank you for using communities Support from Apple. See you soon!

  • Skype notification sounds does not at all RESOLVED

    On Win 7, I installed Skype 6.21 but notification sounds worked... When I checked the settings and tried to play all the sounds, it does not makes all the sounds as well.

    I decided to uninstall it and install Skype 6.22, but it has the same problem... I checked google if there are similar problems, but I found only old Skype 5 forums and so on and no one has helped me solve my problem. No idea what to do?

    RESOLVED: the reason why it didn't work was the scene of singing! For all those who have the same problem, the solution here:

    Tools > Options > Audio settings, look for the "Ringtone" section, if said option 'speakers use selected', to 'double headphones and speakers.

    In Skype, open Tools-> Options-> sounds. The text on the button says "Mute all sounds"? Be aware that if the text is "Activate all sounds", then all sounds are actually set on mute.

    In addition, open Tools-> Options-> Audio settings. Which device is selected for "Ringing"?

  • I installed MSN messenger on my android tablet, nobody seems to have my emails and messenger does not at all.

    help Windows live and andeoid

    I installed MSN messenger on my android tablet, nobody seems to have my emails and messenger does not at all. On my end, my status is online. The person I am trying to contact me can not see, and it does not show them as being online on my end. I know because I was in the same room.

    do I have to create a hotmail address separate regarding when I downloaded windows live I used one other gmail account while I need hepatitis

    Hello rickdebattista,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • I want to finish with the words, or if it does not remove all hotmail accounts and start cleaning up

    I'm blind to long to get the words of clutter. can we do without >

    I want to send an e mail and the spam message. I am legally blind and long to get jumbled words. I want to finish with the words, or if it does not remove all hotmail accounts and start cleaning up. ??

    The feedback forum is to post your comments on the web site of Microsoft Answers, only not to ask questions by e-mail.

    Any Hotmail questions belong to http://windowslivehelp.com/product.aspx?productid=1

  • Computer XP does not start all of a sudden. Drive hard Self Test error #1-07 Fail. How can I find the meaning of this error of hard disk?

    Computer XP does not start all of a sudden.

    My computer is a HP Lap Top Model zd8000 bought in 2006.  Never had a problem with it before.

    Drive hard Self Test error #1-07 Fail.

    How can I find the meaning of this disc hard test error message?

    Thank you

    I tried the suggestion using chkdsk/r

    The computer ran for a long time, but the computer worked once the process is complete.

    First thing I did was back up my data, I was real worried.

    Thank you very much!!!

  • The temporary internet files folder does not show all the files in this folder property while is more than 1 GB. How to delete temporary internet files. ?

    The temporary internet files folder does not show all the files in this folder property while is more than 1 GB. How to delete temporary internet files. ?  Disk space is very low around 1 & half GB. Please someone help resolve this issue. I am looking for the solution, but it did not have a specific.

    Thank you best regards &.

    Atul Zade.

    CCleaner is very useful to get rid of temporary files, you can get it here: http://www.piriform.com/ccleaner you can use it to clean your temporary files, but DO NOT use registry cleaning works, registry cleaning is mainly a useless effort that can cause more harm than good.

    John

  • WANT TO 4500 DOES NOT PRINT ALL OF THE GRID

    WANT TO 4500 ALL IN ONE PRNTER DOES NOT PRINT ALL OF THE GRID

    My problem seems to have resolved itself.

    Thanks for responding.

  • My screen saver does not work all the time, usually this seems to happen once the aircraft stopped in the energy saving mode.

    Original title: my screensaver does not work all the time

    My screen saver does not work all the time.  First time I have turn on computer, it works OK.  Later in the day, this isn't.  Usually, this seems to happen once the aircraft stopped in the energy saving mode.  After the reactivation of the computer (do not), the screen saver does not work when it should. How to run all the time?  I am running Kapersky Internet Security 2011.  This would be closed by the screen saver?
    Thanks, Garybuyit

    Hi garybuyit,

    Thanks for posting your question in the Microsoft answers Forums.

    Just so I'm clear, updated you the graphics cards in Device Manager? You have access to a Windows XP installation disc. If so, follow the steps in this document to make a scan of the SFC. This analysis will attempt to repair or replace any missing or corrupted system files.

  • HP C5280 All in one printer does not print all of the beginning of the page or end of page

    HP C5280 All in one

    Does not print all of the beginning of the page or end of page

    Hi david skelton.

    I would like that you start by checking that you have the latest drivers for your printer:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?LC=en&DLC=en&cc=us&product=3204464&

    I hope this helps!

  • Wi - Fi does not at all for some reason any.

    Hello

    Wi - Fi does not at all for some reason any.  Never had problems before.  __When, I click to view available networks, it tells me that windows cannot configure.  What can I do?  Need help as soon as possible.  Thank you.  number - this is a public forum so never post private information such as numbers of mail or telephone!

    Hello

    Maybe this can help.

    My wireless is not working - http://www.ezlan.net/wireless.html

    Basic wireless configuration - http://www.ezlan.net/Wireless_Config.html

    Wireless Security - http://www.ezlan.net/Wireless_Security.html

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • My laptop does not make all files back up, how can I solve this problem?

    My laptop does not make all files back up, how can I solve this problem? Ralph

    http://www.Microsoft.com/Windows/Windows-Vista/features/backup.aspx

    Info about Vista backup.

    Vista Home versions do not complete PC Backup.

    Normally, you do a backup of files on an external hard drive or DVD.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for

  • Question on recovery Satellite A300

    My laptop needs restoration because it doesn't let me go on windows or whatever it is, that I have ready disks. But this model has two hard disks built and all the stuff I want to keep are stored on the second hard drive, if I reinstall windows will

  • Computer kills Trojan horse erases the c:\windows\system32\rundll.exe for all applications.

    I asked a question on the internet about how to fix a leak in a washing machine.many Web sites came and I chose the one has "mr fixit" type anyone, among several, could offer advice for a fee. I logged to find out what it is and after reading the blo

  • Programs does not open in Windows XP

    Hello. Since yesterday I couldn't open my programs on my computer. I thought it had to do with the registry (as if I was hit by SirCam) but this was not it. The programs (EXEs) can be opened, but the windows do not show up, there just a beep message

  • Windows Vista does not start correctly

    Come on my desk, and the computer has dots on my screen when I turned it on. There was a blue screen, but I didn't know what he said because of the points. Tried everything that I can do, and he did clear some F-commands at startup. Keeps going back

  • I upgraded from vista to 7, overheating/shutdown

    I've upgraded from vista to 7, the fan does not turn to cool laptop.  The computer gets hot without the fan and stops. Help, please. I tried to enter the BIOS to set the fan, but there's no solution.  The fan is clean and the vents have been cleaned,