Java script will not work after creating new page

I am using dreamweaver cs3 and have a java script to rotate a banner in a template.  This script has worked fine in the past when I created pages in Dreamwever.  Now the  script works fine only when I test it in a template but when I try to upload to my ISP the script will no longer work.  At first I thought it was the ISP made changes but the person who sits next to me running the same version of Dreamweaver can create a page and the java works.  The java is placed in a template, tested by viewing in a brower and it works, however once I try to create a new page using the template the scriipt will not work.  To get around this I have the person sitting next to me save my template and then I can create pages.  Also if I save the template with my pc and it updates the pages created by the template the java will no longer work.
This is very frustrating as I cannot create or modify my template on this pc.  What would prevent this from working?

OK - now we are on to something ..... the script on the template only contains:
function randomImages(){
  if(counter == (imgs.length)){
    counter = 0;
MM_swapImage('rotator', '', imgs[counter++]);
  setTimeout('randomImages()', delay);
However when I create a new page from the template with this javascript in it the code changes to:
function randomImages(){
  if(counter == (imgs.length)){
    counter = 0;
MM_swapImage('rotator', '', imgs[counter++]imgs[i]);
function randomImages(){
  if(counter == (imgs.length)){
    counter = 0;
MM_swapImage('rotator', '', imgs[counter++]);
  setTimeout('randomImages()', delay);

Similar Messages

  • Touchsceen will not work after installing new hard drive

    Hello,
    My HP TouchSmart 520 - 1047 c PC's hard drive crashed this week.  I went out and purchased a new one, installed it, loaded my Windows 8 Pro disc in, and got it back working.  The only issue so far is that my touchscreen will not work.  HP support says it's a hardware issue and was no help. 
    Please help.
    Thanks,
    Mike

    I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post serial numbers and case details.
    If you are unfamiliar with how the Forum's private message capability works, this post has instructions.
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Java script is not working in custom tabular form

    hai all,
    i have changed my built in tabular form to custom tabular form.my java script is coding working fine in built in tabular form . But in my custom tabular form java script is not working ,since it is created as standard report(Display As).
    pls help me.
    with thanks and regards
    sivakumar.G

    Is the appostrophe function test(pthis) *'* present in your javascript code...
    If not can you post the same in apex.oracle.com and give the credential so that I can the why its not wroking
    Regards,
    Shijesh

  • FlashMX Components will not work in my new FCS2

    Flash Communication Server MX Components will not work in my
    new FCS2 ,
    Components like: SimpleConnect, Cursor, Whiteboard, Chat,
    Peoplist, AVpresence, etc.... all the old ones I have been using in
    Flash MX. I now use Flash 8 it did not come with all the above
    Components so I instaled (the old) in my Flash 8. I beleve there
    may be script to up date the old (above Components) , or can I
    download a set of NEW Components that do the same job as the old
    (above Components) Please help I have spent 4 days on this HELP
    Thank you. Raymck

    It is a USB cord so I have to use the end  of the Shuffle I use to charge th Shuffle.

  • ODI 11g 11.1.1.7 with Win64 bit OS : Starange problem : Right click does not work for Create new data server in Topology.

    ODI 11g 11.1.1.7 with Win64 bit OS : Strange problem : Right click does not work for Create new data server in Topology.
    On right click nothing happens at all. I have  reinstall the ODI multiple times with right installer. issue persist.
    Please help.

    Hi,
    Did you use the generic installer or the win32 one ? You should use the former with Win64.
    You can also check that your version of Java is supported in the certification matrix.
    Regards,
    JeromeFr

  • TS1702 Certain apps will not work after ios6 install.

    Certain apps will not work after ios6 update. Tiger Woods golf will run for about 5 seconds and stop. Have uninstalled/re-installed to no avail.

    My husband had the same problem with some apps after I updated his iPad 2 to iOS 5.  I checked the app store and there were updates for the apps to support the new software.  After updating, all apps work just fine.

  • HT1338 motion 4 will not work after yosemite upgrade

    motion 4 will not work after yosemite upgrade

    To be honest I do not use motion or any other compositing app so i do not miss it personally. However the new Motion is not that expensive, around $60 i think. Still, I understand your frustration.
    I am afraid the more the OS is updated the less compatible certain applications will become.
    Good Luck
    h

  • HT4623 my phone main button not working after installed new version software 7.0.6

    my phone main button not working after installed new version software 7.0.6

    Arrange some liquid like petrol spirit and w 40
    two drops in to home button.
    30 times press slowly slowly and then restart your apply iphone.
    You will get ready.
    I am sure. Thanking you...

  • Telephone will not work after installing fax wizard

    I have  a new HP Office Pro 8615.   After I installed the fax wizard, my telephone quit receiving or sending calls.  The only incoming call will ring on the fax.  Can I uninstall the fax, as I do not need it?

    Hi , Welcome to the HP Forums! I see that your telephone will not work after installing fax wizard, for your HP Officejet Pro 8615. I am happy to help!  What is the Operating System you are using? Windows or Mac? What version? If you do not know the Operating System you are using, please visit this website. Whatsmyos. If you do not need the fax, all you should have to do is unplug the phone cable from the back of the printer. That will prevent the printer from using the fax function.  If your phone continues not to work, I would consider contacting your phone provider.  Thank you for posting!  “Please click the Thumbs up icon below to thank me for responding.”

  • My garage band will not work properly with new lion upgrade..HELP

    My garage band will not work properly with new lion upgrade..HELP
    I have tried to open old session i have done in garage band and many of the effects and instruments I have used will not show up. The system seems to have a bug.

    If the graphical user interface looks broken, that is quite often a problem of corrupted user preferences - have you tried to remove the preferences file, as described in the FAQ
    http://www.bulletsandbones.com/GB/FAQPages/OddBallProbs.html
    Here is again the short version:
    Quit GarageBand, if it is running.
    Open your User Library in the Finder. It is hidden in MacOS X Lion, so use the Finder's "Go" menu:
    Finder > GO    hold down the "Options" key, until the library appears in the menu, select it.
    In the window that opens, open the folder "Preferences" and remove the file:com.apple.garageband.plist and com.apple.garageband.plist.lockfile
    Then try again to run GarageBand and download the loops.
    The preferences file stores all you user settings that you set using the "Preferences" panel in GarageBand, also the layout of the GarageBand window and the location of your recent projects. You will have to enter these settings again after removing the file.
    Regards
    Léonie

  • My iPod touch 4G will not work after I tried to Downgrade it from iOS 5 to iOS 6

    My iPod touch 4G will not work after I tried to Downgrade it from iOS 5 to iOS 6. The screen is black and it doesn't work.

    Downgrading the iOS is not supported by Apple.
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Glide pad will not work after formatting g60-630ca

    Can somebody help? my glide pad will not work after downgrading to xp.  The pad works itself for the mouse but then the scrolls on the side will not.  Please help...

    You need the driver. It is a Synaptics Touchpad and you can use this driver:
    Synaptics
    Here is a link to the General XP Downgrade guide which has a link to all the drivers you need under "Moderate models:
    XP Guide
    The touchpad is hard because Windows does load a basic driver so it does not appear with an error in Device Manager, but the "real" driver is needed for advanced features like scrolling. Be sure you have all the needed Xp drivers, by the way.

  • HT1414 wifi will not work after restore

    wifi will not work after restore

    Se emy response to your other post
    https://discussions.apple.com/thread/4862098?tstart=0

  • OMiC will not work after installing Leopard

    Does anyone know why OMiC will not work after upgrading to Leopard?
    After downloading Leopard, went into mail and tried to open a windat file, but a message came up stating OMiC disabled. I deleted that version, and tried to download OMiC 1.7.7 but it won't even get thru the download menu, it stops at "installation" gives me a choice of Tiger, or Panther, and it will not let me go any further. Has this happened to anyone else???

    I am not sure any of the solutions for these files have been made Leopard compatible -- I saw another post about this not long ago. See:
    http://discussions.apple.com/thread.jspa?messageID=5736631&#5736631
    Ernie

  • My Keyboard and touch-pad will work during post, but will not work after the os loads?

    I have a G60 and My Keyboard and touch-pad will work during post, but will not work after the os loads? Im running Windows 7, Anyone have any Ideas? I have already tried a hard reset, and safe mode???

    Try pressing the fn key and f2 to reach bios
    or
    try a usb mouse from your desktop
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

Maybe you are looking for

  • My adobe Flash player  does not connect on my Laptop HP Windows 7.

    My  Adobe Flash 11 Player on my laptop HP Windows 7 does not connect.  (or cannot be found even though it is downloaded in the programs

  • Cant get ipod music off of the ipod to burn a cd.

    I have tons of music on my ipod, but I cant burn a cd bc i cant get the music off of the ipod. PLEASE HELP THIS HAS BEEN DRIVING ME CRAZY FOR 3 DAYS.

  • When iMac Sleeps, AirPort Disconnects: Why?

    I took delivery of my iMac yesterday (my first Mac), and my problem is this: After awakening the iMac from sleep, the wireless Internet connection is lost and I have to go through the few clicks to select the wireless network, etc. It's then reconnec

  • 2009 iMac 27in - screen burn visible (Pics)

    Hey everyone, I have an i5 that I bought back in 2009 that has started developing screen issues. There seems to be a ripple on the right side of my screen internally, that is visible only on flat colored backgrounds. I use my iMac for a couple of hou

  • ASCP Test for Load Legacy Data

    Through to the legacy Web Adi ASCP Data in the Test of the load. Plan to check more than one, but the result is not correct  that there is  cause msc_operation_components not exists. Questions 1: msc_operation_components Table also through the Upload