Function iframe JAVAscript MM_goToURL has stopped working

I used a piece of javascript that is generated as part of an old version of Dreamweaver for some years now without any problems. However, I visited my site the other day and discovered that one of the functions to 'MM_goToURL' has stopped working. I use this function to travel between the pages in the site as well as the evolution of the iframes located within some pages. Although the code still works for moving between pages, it no longer works for iframes (or at least not on this site).

Could I ask someone to look over my code simplified below and note any errors that may have permeated in? Thank you.

JAVAscript code: (the file location: javascript/design.js)

function MM_goToURL() {//v3.0

var i, args is MM_goToURL.arguments; document. MM_returnValue = false;

for (i = 0; i <(args.length-1); I += 2) eval(args[i]+".location='"+args[i+1]+"'");

}

HTML:

<! DOCTYPE HTML >

< head >

< meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

< link rel = "stylesheet" type = "text/css" href = "css/food.css" / > "

< script type = "text/javascript" src = "javascript/design.js" > "

< /script >

< / head >

< body >

< div class = "button" onClick = "MM_goToURL ('iframe', 'text2.html'); return document. MM_returnValue"> text < / div >

< iframe id = 'iframe' src = "text1.html" frameborder = "" scrolling = "no" > < / iframe > "

< / body >

< / html >

I have now solved the problem by adding criteria to "name ="iframe"' code iframe."

All fixed! :-)

Tags: Dreamweaver

Similar Questions

  • Functions of Indesign CS4 has stopped working.

    Then I tried to test the new InDesign and now my InDesign CS4 functions have stopped working. I can open a document very well. I can't do anything in the file. Need help.

    What happens if you log on to the computer with a different user identity?

  • My thunderbird (windows 8) essentially has stopped working. More than one minute to open an email - all other functions have similar delays. What should I do?

    For some reason, thunderbird (windows 8) essentially has stopped working. More than one minute to open an email - all other functions have similar delays. I tried to archive, but I get a message that says that a script has stopped working. He does the same in thunderbird safe mode. My old computer (XP) works very well. I can't find my profiles on windows 8 to rebuild the database world.

    Follow-up: McAfee was the problem. I contacted them via chat. Remotely, they took control of my computer and changed the settings. TBird works fine now.

    Thank you for all your help.

  • 'New function tab' has stopped working

    The 'new tab' function has stopped working. When I click on the sign '+', nothing opens. When I right click on the Firefox tab in the bottom task bar, I used to get one of the menu options that says 'new tab or new window?', but now I have only 3 options: "Mozilla Firefox; Pin this program to the taskbar; Close this window ". How to re-install the tab' options '?

    Hello

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

    Thank you.

  • Outlook Express delete function has stopped working

    I was cleaning my sent folder outlook express and after the removal of the Remove feature has stopped working, I changed my identity and it worked in identity motor of about 100 messages. I need to clean my record sent how do correct the function of deleting keys?

    Thank you

    How is it related to Internet Explorer 8?

  • All the Windows media player play function has stopped working

    Original title: windows media player

    My system is Vista service pack 2. Recently, I've noticed that when my music on media player. Play all function has stopped working as before. It will not go forward or backward unless I type in the artist on my search bar. Is there a setting that went wrong and a simple solution, please. I don't know noty when it started to do that I have such a big library I use mostly the search bar. But I would like to play them all when I scroll to the bottom of my list of the library. Yours if fine!

    Hello

    ·         Are you trying to use play all the features in Windows media player or Windows Explorer?

    ·         The option is available on the details pane or the playlist?

    I suggest you follow the steps mentioned below:

    Method 1:

    Race he difficulty of the link and check if the problem persists:

    http://support.Microsoft.com/mats/windows_media_player_diagnostic/

    Method 2:

    If you use Windows play explore all the functionality, you can run the System File Checker tool to troubleshoot missing or corrupted system files and check if the problem persists:

    http://support.Microsoft.com/kb/929833

    Method 3:

    If the previous step fails, follow the steps in the link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-in-Windows-Media-Player

  • the gadgets function has stopped working properly...

    the gadgets function has stopped working properly... those I had put a few weeks ago are still on the desktop... but it won't let me add, remove or access the Panel command or right-click gadgets... when I right click on the desktop and click gadgets, nothing happens... when I go into Control Panel and click on gadgets nothing happens... the addition of gadgets, uninstall gadgets and restore the gadgets links in the Control Panel does not work... nothing happens when I click on them... the only link that works is the "get more gadgets online"... and I re-download and reinstall a gadget to access the menu gadget... another while TI leaves me not go... What is happening I'm frustrated

    Scanner of CFS on the computer:
    http://support.Microsoft.com/kb/936212

    All the best!

  • Effects of Parallax has stopped working - iFrame

    Hello

    I have a really strange problem with my new site of muse. I use the effects of Parallax for the first time and everything worked fine. But as I entered in a form of contact iFrame at the end of the page, all the effects of Parallax has stopped working.

    You can see the site of work without the form of contact here:

    Hochzeitsfotograf am Chiemsee copy

    The site with the contact form, but some how without work Parallax is here:

    Hochzeitsfotograf am Chiemsee

    Every help is really appreciated, I have no idea what is wrong

    Thank you all very much!

    Lydia

    FDuebersee You did not close the tag at the end of the line should be.

  • Registration for the web function has stopped working in my copy of photoshop elements 12.  I get this message "the operation could not be completed.  The system cannot find the path specified"reset preferences was not fixed.

    Registration for the web function has stopped working in my copy of photoshop elements 12.  I get this message "the operation could not be completed.  The system cannot find the path specified"reset preferences was not fixed.

    My os is windows 7.  elements of 12 worked fine for several months and then save for web stopped working

  • Try using Microsoft Picture It! Publishing in Windows 7. When you try to start a new project or use the Save function under get the message "Windows has stopped working".

    Microsoft Picture It 2001 software installed in Windows 7.  Program will show a project that I recorded in Windows XP that I upgraded to Windows 7, but it wont let me save the project under a different name.  The program does not let me start a blank project.  I get the error message "Picture It! has stopped working.  A problem caused the blocking of the program works correctly.  Windows will close the program and notify you if a solution is available. "Windows did not close the program and did not warn me of a solution.

    Microsoft Picture IT is not officially compatible with Windows 7. Microsoft's picture IT was abandoned and has been replaced by Windows Live Photo Gallery. You can download Windows Live Photo Gallery for free and install it on Windows 7, but there only basic editing features.

    Windows Live Photo Gallery:
    http://www.windowslive.com/desktop/Photogallery

    Two editors of the most popular free photo with many features are related to the Sub - between the two programs Paint.NET will be easier to use.

    Paint.NET
    http://www.getpaint.NET

    GIMP
    http://www.GIMP.org/downloads

    You can also use the built-in photo editing Paint program. To open Paint, click the Start button, click programs, accessories principally made, and then click Paint.

  • Thunderbird has stopped working

    Hello

    Count 08/04/2014 Thunderbird has stopped working in my PC somehow. I am running Windows 8.1 Pro x 64. Before that day, everything was ok and Thunderbird was not working. I asked a few friends using Windows 8 and they have the same problem. Thunderbird load e-mail accounts and will not send and receive all of the emails. It won't even add a new e-mail account. This is the message received when you try to add a new account "sorry - we are unable to communicate with our server subscription. Please check your connection. ». If we're going to try to go forward and add a new account anyway the answer will also be that Thunderbird can not connect to any server. We have uninstalled Thunderbird and install several times in the last days without success. I was trying to delete the folder Thunderbird of the t in Program files, but I can't. Uninstall it and install new procedure including the deletion of folder was a solution a few years but it seams that now no longer works.

    Over the last 2 weeks Thunderbird started working only for a few hours and we have the same problem again. I asked about 10 people working with Thunderbird and they have the same problem right now and they have had the same problem during the month.

    Of course I turned off windows firewall and test if Thunderbird will work, but it was not a solution. I am running windows 8.1 Pro x 64. Thunderbird is not on the list of authorized or unauthorized software through the firewall, and I can't find any option to add the Thunderbird to the list to try to resolve the problem.

    I use BitDefender Antivirus and I disabled the BitDefender firewall and the same thing happens. I also disabled the whole antivirus functions after and the same thing. I turned from bot windows firewall and firewall BitDefender or off all BitDefender and the same thing happens. I checked the BitDefender firewall and the Thunderbird has full access.

    Also, I checked the Windows updates. I am not usually accommodate updates in my PC. I remember I have choose to not install Microsoft updates ever. I checked the State and he is near the top is not to install Microsoft updates. I also checked the "update history" and empty status is "you have not tried to install updates on your computer.

    I started windows 8.1 Pro x 64 in safe mode with network and started Thunderbird while windows is in safe mode, and it has the same problem.

    I am trying to add Gmail and AOL accounts in Thunderbird. The emails are all browser set correctly and working well or another e-mail client.

    Today (21/04/2014) Thunderbird has the same problem.

    Any help will be much appreciated.

    Concerning

    Here, you also have the copy of troubleshooting information if necessary.

     Application Basics
    
       Name: Thunderbird
       Version: 24.4.0
       User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
       Profile Folder: Show Folder
    
                 (Local drive)
       Application Build ID: 20140316131045
       Enabled Plugins: about:plugins
       Build Configuration: about:buildconfig
       Crash Reports: about:crashes
       Memory Use: about:memory
    
     Mail and News Accounts
       account2:
         INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    
       account4:
         INCOMING: account4, , (imap) imap.googlemail.com:993, SSL, passwordCleartext
         OUTGOING: smtp.googlemail.com:465, SSL, passwordCleartext, true
    
     Extensions
       bdToolbar, 7.0, false, [email protected]
    
     Important Modified Preferences
    
       Name: Value
    
         browser.cache.disk.capacity: 358400
         browser.cache.disk.smart_size.first_run: false
         browser.cache.disk.smart_size.use_old_max: false
         browser.cache.disk.smart_size_cached_value: 358400
         extensions.lastAppVersion: 24.4.0
         font.name.monospace.el: Consolas
         font.name.monospace.tr: Consolas
         font.name.monospace.x-baltic: Consolas
         font.name.monospace.x-central-euro: Consolas
         font.name.monospace.x-cyrillic: Consolas
         font.name.monospace.x-unicode: Consolas
         font.name.monospace.x-western: Consolas
         font.name.sans-serif.el: Calibri
         font.name.sans-serif.tr: Calibri
         font.name.sans-serif.x-baltic: Calibri
         font.name.sans-serif.x-central-euro: Calibri
         font.name.sans-serif.x-cyrillic: Calibri
         font.name.sans-serif.x-unicode: Calibri
         font.name.sans-serif.x-western: Calibri
         font.name.serif.el: Cambria
         font.name.serif.tr: Cambria
         font.name.serif.x-baltic: Cambria
         font.name.serif.x-central-euro: Cambria
         font.name.serif.x-cyrillic: Cambria
         font.name.serif.x-unicode: Cambria
         font.name.serif.x-western: Cambria
         font.size.fixed.el: 14
         font.size.fixed.tr: 14
         font.size.fixed.x-baltic: 14
         font.size.fixed.x-central-euro: 14
         font.size.fixed.x-cyrillic: 14
         font.size.fixed.x-unicode: 14
         font.size.fixed.x-western: 14
         font.size.variable.el: 17
         font.size.variable.tr: 17
         font.size.variable.x-baltic: 17
         font.size.variable.x-central-euro: 17
         font.size.variable.x-cyrillic: 17
         font.size.variable.x-unicode: 17
         font.size.variable.x-western: 17
         mail.openMessageBehavior.version: 1
         mail.winsearch.firstRunDone: true
         mailnews.database.global.datastore.id: 8057ef62-d03a-4da8-a08b-58764ba65fd
         network.cookie.lifetimePolicy: 2
         network.cookie.prefsMigrated: true
         places.database.lastMaintenance: 1397398207
         places.history.expiration.transient_current_max_pages: 104858
         plugin.importedState: true
         privacy.donottrackheader.enabled: true
    
     Graphics
    
         Adapter Description: Intel(R) Iris(TM) Graphics 5100
         Vendor ID: 0x8086
         Device ID: 0x0a2e
         Adapter RAM: Unknown
         Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
         Driver Version: 10.18.10.3345
         Driver Date: 10-31-2013
         Direct2D Enabled: false
         DirectWrite Enabled: false (6.3.9600.16384)
         ClearType Parameters: ClearType parameters not found
         WebGL Renderer: false
         GPU Accelerated Windows: 0
    
         AzureCanvasBackend: skia
         AzureFallbackCanvasBackend: cairo
         AzureContentBackend: none
    
     JavaScript
    
     Incremental GC: 1
    
     Accessibility
    
       Activated: 0
       Prevent Accessibility: 0
    
     Library Versions
    
         Expected minimum version
         Version in use
    
         NSPR
         4.10.2
         4.10.2
    
         NSS
         3.15.4 Basic ECC
         3.15.4 Basic ECC
    
         NSS Util
         3.15.4
         3.15.4
    
         NSS SSL
         3.15.4 Basic ECC
         3.15.4 Basic ECC
    
         NSS S/MIME
         3.15.4 Basic ECC
         3.15.4 Basic ECC
    
  • "Share" feature in the Finder (or other applications) has stopped working.

    Use OS X El Capitan on a Mac Book Pro, the function in the Finder (or other applications) has stopped working "share."  From the Finder, I select a file and to 'Share', select say "Mail", nothing happens. Even when selecting other sharing options such as 'Notes', etc.  He used to work.  Now it is not.  In system preferences > Extensions all the sharing options are regularly controlled.  The same problem occurs in other applications such as Photos.  Selection of a photo and trying to "share."  Nothing happens, the application crashes. Does anyone have a solution?

    The Share button shows 'No. Service' or missing menu items?

    https://support.Apple.com/en-us/HT203129

    If this does not help, backup the computer and reinstall OS X El Capitan of OS X Recovery.

    https://support.Apple.com/en-us/HT204904

  • FDM has stopped working with firefox

    Free Download Manager has stopped working with firefox after I speedup firefox opening. (not after restart or update of firefox) Before that, I used FDM on firefox. I already try with restart firefox and follow-up of the implementation under the quiz "Windows Media or other plugins stopped working after Firefox update | Firefox Help", but none of them worked.

    When you say after you speed up Firefox, do you mean you used the reset feature? You can tell because Firefox will create a new 'Old Firefox Data' folder on your desktop when you reset.

    The Reset function deletes your extensions as part of the cleaning process. You probably need to reinstall FDM from its original source. Maybe the Addons site? https://addons.Mozilla.org/Firefox/

  • Tecra A8 - Touchpad has stopped working

    Hi all!

    I have a Tecra A8 (model: PTA83E) who has an ALPS touchpad. The touchpad has stopped working even if it is visible and fully operational in 'Device Manager' and also the 'Control Panel '. Apparently there is nothing wrong with it but the touchpad does not meet the clicks or touchs, it seems as if it has been disabled, but said, in Device Manager, the information is 'this device is functioning.

    I updated the OS to Windows 7 Enterprise and I would like to activate the touchpad if not I should always use a usb mouse. I searched the touchpad drivers but it seems they are Don t.

    This is the information that I can view in "Device Manager", about the pilot:
    -Controller version: 7.0.302.3
    -Date: 26/09/2006

    Thanks to you all.

    Hello

    You have activated the touchad by pressing FN + F9?

  • Façade has stopped working properly on the Qosmio X 300/305

    Greetings and thanks for reading,

    I had my computer not a week ago and since then, I had some problems, especially with a blue screen when I hit the FN key. Research on the problem, I disabled services of Toshiba and eventually found the culprit: hwsetup.exe. Manual execution crashed my computer and it still doesn't work. However, after you install a new version of it, it seems that FN is working fine now. Hwsetup running always breaks the computer well.
    Any ideas what may cause this? The computer is new, so I don't see what I could have done to cause this situation myself.

    Now to the following problem: it seems that the façade has stopped working correctly, the touch of the keys that allow you to launch the application Dolby, the webcam application and also turn on and off the red lights on the keyboard. When I click on the touch keys, all I get is the tone of the speakers, but nothing happens. I guess I have disabled something by mistake. Any thoughts?

    I would be grateful any entry immensely, people, so please share your theories with me. It is such a thin laptop and I can sleep now, it's difficult to to cause these problems... ridiculous, Yes, but I want everything to be perfect because I spent so much money.

    Best regards
    Johan

    Hello

    > I can't install the flash card value as well as the utility driver package. It's actually the cause of the blue FN screens. I'm really lost here.
    First of all, you should check if the BIOS version you are using is the most recent.
    If this isn't the case, update the BIOS.
    Then, you must install the utility to Support Flash Cards because this utility is necessary, to get other utility Toshiba works.

    Then install the added value package because it contains the Driver TOSHIBA components common that is an essential component of Windows Vista. He will have to make the other original programming TOSHIBA works correctly.
    It also contains the TOSHIBA Flash Cards tool that provides Hotkey function and function of pitcher who starts the keyboard shortcut function and sends the other TOSHIBA utilities.

    If the BSOD will always appear that it is advisable to recover the operating system

Maybe you are looking for

  • Eastern Europe for Toshiba Customer Service

    HelloToday, I was contacted by phone by the Customer Service, but as I drove I couldn't speak for them, so I told them to call later, but they did not. I want to talk to them because they ask about my satisfaction with warranty and service of the com

  • Blue Screen of Death: Driver IRQL not less or equal (Windows 7)

    Hello. I had this kind of plant several times whenever I do anything resources, such as League of Legends, Saints Row IV, ect. I'm including the DMP files https://www.dropbox.com/s/5ff62m1sjfh0ze2/New%20folder.zip?dl=0 Thank you for the help

  • RV042G Portmapping to different subnets

    Hello! We have the following situation: 172.16.0.0 / 255.255.248.0 network the RV042G has an IP address of 172.16.7.254 with subnet 255.255.255.0 We have added an additional subnet/IP: 172.16.0.254 / 255.255.248.0 We want only 1 port WAN portmapping

  • Music folder problem

    I had a computer crash and I reset my laptop once again, but the music folder is not the same as it used to be. I had a Sub file or whatever it might called and he had a little big text and he says music 1179 1179 was the amount of songs I had. Pleas

  • Can't find the manual for PLEASE FS1200

    I have a digital film and slide Scanner PLEASE FS1200 but you don't have the manual.  I have the CD and you want to use on the desktop Windows 7 Professional.  I can't locate the manual.  Also, when I tried to find the info on the product found that