Problems importing a JavaScript (.js) external file

Hello everyone,
Within RoboHelp, I was able to write a JavaScript function for a link that asks our customer if a topic was helpful.  The code basically populates the topic name in the subject line in the e-mail to prevent us from entering the topic name for each topic.  Basic stuff.  Anyway, if I put the code in the topic itself and call the function, it works beautifully.  But if I reference an external file with the traditional reference tag, I have no luck and an "object not found" error message displays, which tells me that it cannot locate the .js file -- it is in my project folder.  No dice.
Any thoughts on this?  Has anyone experienced this before?  I am using RoboHelp 7.

Hi,
In the top of your HTML file stands an empty function: <script language=JavaScript>breadcrumbs()</script>. This is causing the error in your CHM. Remove this, or create a valid function.
Your script works fine in both CHM and WebHelp, but only the CHM gives an error message because of the empty function.
Greet,
Willam

Similar Messages

  • Putting Drop Down Javascript in External File

    I am creating drop-down menus using Fireworks. I am then
    importing them into DW. The problem is that this menu is going into
    a template so any time I make a change to the navigation bar I have
    to update all the pages and re-upload all the pages that use that
    template for it to take affect.
    Is there a way of putting the javascript for these menus into
    an external file rather than having it live in the template. That
    way all I would have to do is replace the file.
    Many thanks in advance,
    Andy

    >I am creating drop-down menus using Fireworks
    Mistake #1.
    > I am then importing them into DW.
    Mistake #2.
    > The problem is that this menu is going into a template
    so any time I make
    > a change to the navigation bar I have to update all the
    pages and
    > re-upload all
    > the pages that use that template for it to take affect.
    Depending on which version of FW you are using this could
    well be the third
    strike. Which FW is it?
    > Is there a way of putting the javascript for these menus
    into an external
    > file
    > rather than having it live in the template. That way all
    I would have to
    > do is
    > replace the file.
    No, it's not all you would have to do. The javascript only
    defines the
    menu's functionality, not its characteristics.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "andrewmcgibbon" <[email protected]> wrote
    in message
    news:gqtdic$12g$[email protected]..
    >I am creating drop-down menus using Fireworks. I am then
    importing them
    >into
    > DW. The problem is that this menu is going into a
    template so any time I
    > make
    > a change to the navigation bar I have to update all the
    pages and
    > re-upload all
    > the pages that use that template for it to take affect.
    >
    > Is there a way of putting the javascript for these menus
    into an external
    > file
    > rather than having it live in the template. That way all
    I would have to
    > do is
    > replace the file.
    >
    > Many thanks in advance,
    > Andy
    >

  • Importing flash with AS3 external files

    developing a ui in flash for photo gallery which I am loading
    into dreamweaver.
    using as3 in flash to load external photo files so not all
    having to download on opening.
    have had no problem in dreamweaver with swfs with embedded
    jpgs.
    ui comes up in dreamweaver but not external files. even
    though when I open swf movie or the flash created html of same
    file, on its own, no prob.
    anyone run across this problem, jpgs are in same file as
    flash media, also dropped them into image file just in case that
    might work---no go
    any ideas ?

    Post a link to the page, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "pandorasboxtop" <[email protected]> wrote
    in message
    news:gajd7f$qpv$[email protected]..
    > developing a ui in flash for photo gallery which I am
    loading into
    > dreamweaver.
    > using as3 in flash to load external photo files so not
    all having to
    > download
    > on opening.
    > have had no problem in dreamweaver with swfs with
    embedded jpgs.
    > ui comes up in dreamweaver but not external files. even
    though when I open
    > swf
    > movie or the flash created html of same file, on its
    own, no prob.
    > anyone run across this problem, jpgs are in same file as
    flash media, also
    > dropped them into image file just in case that might
    work---no go
    > any ideas ?
    >

  • Problem in displaying topics from external files

    Hello,
    I have a set of Help projects created using Robohelp classic
    7.00.139 by Blue sky Software Corp. There is a Master project and
    sub projects linked together using “.cnt” files.
    Now I want to move to HTML Help format (".chm")
    Using Adobe Robohelp 6 for word, I convert all the help
    projects to .CHM FILES using Batch generate option in Adobe
    Robohelp 6 for word. I put all the “.chm” files in a
    single folder of my application. But now the links from my MASTER
    projects to the sub projects are not working.
    When an external topic is selected from the master it points
    correctly to the topic title in TOC, corresponding to the external
    sub project but the topic from the selected external file is not
    displayed there.
    What could be the problem? Are there any settings to be made?
    Best regards
    VIPL

    hi,
    when you are creating the key figure info object. there is one tab called additional properties on that select decimal places as you want. activate it. and the reporting. check it out.
    if helpful provide points
    regards
    harikrishna N

  • Problem importing specific data from .csv file

    Hello!
    I'm using JDev 11.1.3.0 with JSF ui and I've been following the excellent example about importing comma separated values from a .csv file, of Mr. Bors, but I have a specific problem...
    1) When i try to import a date value (format dd/mm/yyyy) to a date field of my adf table, the date won't be accepted and it's not shown (I'm using Row.setAttribute("Field", textValue) for that purpose). I guess I have to enter it in a specific format but don't know how!
    2) Same thing with double values. Tried 1.50 and it's showing on the adf table 0.02. Tried 1,50 (with a different text separator) and it's throwing me an error and doesn't show anything on the table (again i'm using Row.setAttribute("Field", textValue) for that one too)...
    Any help would be appreciated!
    Thank you
    Edited by: Nikolas Saridakis on 6 Νοε 2010 11:10 πμ

    I tried your suggestion before I set my question but didn't know if I was looking on the right direction (I tried some things but they didn't work out). After a bit poking everything was fine...
    So I used
    Row.setAttribute("Field_name", oracle.jbo.domain.Date.fromText(value, "dd/mm/yyyy", null));
    and it did the trick...
    Weird thing about numbers was that after that, they were entered properly on the table with a normal Row.setAttribute("Field_name", value); with value being a String... anyway!
    Thank you Timo!

  • Problem importing CSV or tab-delimited file into Address Book

    I am trying to import a text file (tab delimited) or csv file into address book. The files are created in Excel and consist 8 columns with address info (first name, last name, street, city etc). For the sake of simplicity, the file only contains 2 records - so all in all 3 rows with data where the first row contains the headers as described above.
    I am perfectly able to import the fields first name, last name using Address Book's text import feature. However, as soon as I try to map Address Book's address field (Home, work or other) to my text file's headers, the import wizard stops responding. I can still scroll through the records with the left and right error, but the record count is screwed up ("-3 of 2") and clicking the OK button doesn't result in anything.
    So I am able to import the names but not the addresses - so I better rename the Address Book to Name Book
    Any clue of what's going wrong?

    I've been wrestling with the exact same problem. I have come to a solution, though serendipitously. The address variables belong to a group say address Office.
    1 - I creted a column with address Office which clued in AddressBook the the existence of the data for +address Other+ (and it assigned the columns ot the proper data)
    2 - address book does have an entry of address with all group elements of same colour, normally. I reassign address other to address office
    3 - I also assign address office (in right-hand column) to address office.
    At this point I have two groups of address office
    4 - I indicate to the second group 'do not import'
    5 - Then hit OK
    It seems that this loop is necessary to instantiate the proper group name to the group of variables. Why? who knows. Bad UI? Clearly. Apple engineers should've thought about it before? no kidding...

  • Lightroom 5.4 problem importing older crw and nef files

    Built new computer. Fresh install of Photoshop Lightroom 5.4. Imported photos to lightroom 5.4. After import session completed noted some folders in catalog had zero photos. Checked folders in explorer and photos/files are present. Able to open and view photos/files in Photoshop cs5.
    Files are raw files format  from canon G1 CRW and Nikon d70 NEF.
    Any ideas? How do I proceed? Should I download and install the free Adobe DNG Converter? But these are old cameras?
    thanks

    Thanks for the reply. No the files were not list in a LR Catalog anywhere on the computer. I was able to import the missing files by right clicking on the empty folder in the LR Catalog, selected the import to folder option. This opened the import LR Window, I deselected the "duplicate option" . This allowed the files to become visible, not the usual grayed out thumbnails usually seen if attempting to import a duplicate. Once I selected the raw files LR imported them to the folder. I did get a LR message stating that a "smart preview already was present for files.
    If LR was able to verify a smart preview for the files from a previous import, why were the folders in LR displaying a 0 for files/photos?
    I am in the process of reviewing the LR Catalog to ensure everything was imported.

  • Problems Importing a PageMaker 6.52 file into FrameMaker 9

    I have an 11-year old file that I need to import into either InDesign CS5 or FrameMaker 9 on Windows 7. The file was originally done on a Mac, so it had no extension. I have tried adding the .PM6 extension, but when that didn't work, I tried the .P65 extension. I know from the PDF properties that the file was done in PageMaker 6.52, but I don't have PageMaker, and neither does the original author at this point.
    When I try to impor the file into FrameMaker 9, I get this message: "The filter encountered an error and could not complete the translation."
    When I try to import the file into InDesign CS5, I get this message: "The PageMaker document is damaged and cannot be recovered." (Note that I am using CS5, not CS2, so the issues I've seen posts about should not apply.)
    I could try converting the PDF, but I'd like to get this file converted if that is possible.
    I am posting this in the InDesign forum as well to see if they may have any insights.
    Tammy

    Tammy,
    The file might actually be damaged. If you have the PDF, then you can try exporting as RTF from that and re-build it in FM. The layout models are different between FM and PM, so you'd have to do some clean-up anyway. As long you can get the content into FM, then you can tweak your layouts as required.

  • Problems Importing into Address Book

    Trying to import my address book from a vcf file. I get the following error:
    Are you sure you want to add 1511 cards to your address book? There were problems importing.
    My address book file has 2308 cards, not 1511.
    Any suggestion

    If you open Address Book, click on Card menuitem and select Edit Template. This will show you what the current template is and what fields may be added to the template.
    You can then edit the LDIF file when it's created to select only the desired export fields that will match the template.
    I believe when you then import into Address Book you will have an opportunity to match up the corresponding fields. Been so long since I did this I don't remember.

  • Problems importing and playing songs from an external cd/dvd drive

    I am having problems importing songs on my PC from an external usb drive. What I have is an external combo usb firewire drive hooked up to my pc with a usb cable. (usb 2.0) When I launch itunes, it sees the cd I have loaded but when I go to import the songs, itunes just pops past each song in a second like each song was just a second in length. Then I have some corrupt file in my itunes library. Itunes gets the cd names and titles from CDDB correctly but can't play the songs or import them. I use this pc solely for playing audio, it is a Pentium 4 2.6 with 1GB of ram with build in usb 2.0 on the motherboard. There is no other software installed on the system other then virus software. When I use Windows Media Player the cd is read perfectly fine. I even play DVDs off the drive with no problems too. This problem in intermittent, with different cds. These are all commercial cds not burnt ones that someone made for me. Any help or suggestions would be appreciated.

    Hi Toonz - I have exactly the same problem when trying to import songs - itunes does recognise the cd drive and names of tracks etc - it just won't play more than one second of each, or import any more. i did run the cd diagnostic check you suggested - results below - don't mean anything to me i'm afraid - any bright ideas?
    this was a christmas present and i haven't managed to put any new music on apart from what was already on our pc, so am v sad and hope you can make it better....
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    ASUSTeK Computer INC. A7N8X2.0
    iTunes 6.0.0.18
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    UpperFilters: GEARAspiWDM (2.0.4.3),
    Video Driver: RADEON 9500\RADEON 9500
    IDE\DiskMaxtor6Y120P0_________________________YAR41BW0, Bus Type ATA, Bus Address [0,0]
    IDE\CdRomATAPICD-RW_52XMax______________________150D___, Bus Type ATA, Bus Address [1,0]
    IDE\CdRomSONYDVD-ROM_DDU1612____________________DYS1___, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    D: SONY DVD-ROM DDU1612, Rev DYS1
    Drive is empty.
    E: ATAPI CD-RW 52XMax, Rev 150D
    Audio CD in drive.
    Found 14 songs on CD, playing time 65:08 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 00:17:42
    Track 3, start time 04:59:28
    Track 4, start time 12:35:43
    Track 5, start time 16:11:73
    Track 6, start time 22:46:73
    Track 7, start time 28:23:27
    Track 8, start time 32:37:70
    Track 9, start time 37:46:01
    Track 10, start time 42:35:14
    Track 11, start time 46:22:32
    Track 12, start time 50:29:14
    Track 13, start time 55:20:60
    Track 14, start time 60:46:54
    Audio CD reading failed. Error Code: 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110.
    Get drive speed succeeded.
    The drive CDR speeds are: 4 8 12 16 20 24 32 40 48 52.
    The drive CDRW speeds are: 4.

  • External file imported in flash

    I need urgent help I need to import the hyperlinks from a
    text file into my swf file at run time can anyone help me on
    tht

    well the problem here is I have an exsisting website in flash
    where in the update panel i have some text that comes on runtime
    from the text file which i can alter as an external file using
    notepad
    Now in that text i want to place links so when it is loaded
    in flash the hyperlinks should be shown so that my user can click
    the link and go the the required url.
    I hope i made myself clear
    Thx a million

  • Problems importing mts files from Canon HF M30 to PrE 9

    I am not new to premiere elements, but I am new to PrE 9.  I am also new to AVCHD, having recently received a Canon HF M30 camcorder.  Now, when I import my video (as .mts files), the playback in Premiere Elements 9 is very choppy.  What am I doing wrong?  Is there something I can do with my camera or with PrE to fix the problem?  Or do I need to convert my video files to another format?
    I realize this may have been asked before, so feel free to direct me to the appropriate discussion if the issue has already been addressed elsewhere.  Thanks!

    >is it safe to say
    Yes, it is completely safe to say that your Pentium 4 computer will not edit AVCHD smoothly... and, you can't just replace the CPU, you need an entirely new computer
    My CS5/AVCHD 1st Impressions http://forums.adobe.com/thread/652694?tstart=0 includes a link to the computer I built... since the GTX 285 is no longer sold, I would now go with a GTX 460 or whatever is the current "best bang for the buck" - AND I would buy 4Gig-by-3Sticks memory to be able to expand from 12Gig to 24Gig if needed
    For my home hobbyist, family movies (which means that I am not trying to recreate Star Wars with video effects or many layers) AVCHD editing is "as smooth as spreading warm butter on hot toast" (also the MP4 video from wife's Flip camera)
    My 3 hard drives are configured as...
    1 - 320Gig Boot for Win7 64bit Pro and all program installs
    2 - 320Gig data for Win7 swap file and video project files
    3 - 1Terabyte data for all video files... input & output files (*)
    (*) for 4 drives, drive 3 all source files & drive 4 all output files
    Search Microsoft to find out how to redirect your Windows swap file
    http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US
    Trying to use only ONE Hard Drive for Video Editing
    You are a music conductor, with a baton that you use to point to various parts of the orchestra... this is like Windows pointing to various parts of the hard drive to do Windows housekeeping or to load program segments for various functions
    Now, at the same time and with the same hand... while still using the baton to conduct the orchestra... pick up a bow and play a fiddle... this would be doing something with your video file at the same time as all the other work
    You as a person cannot do both at the same time with the same hand
    A computer is a LITTLE better, in that it can switch from one kind of task to another very quickly... but not quickly enough for EASY video editing
    You need AT LEAST two hard drives (separate drives, never a partition http://forums.adobe.com/thread/650708?tstart=0 for more) with Windows (or Mac OS) and software on your boot drive, and video files on a 2nd drive so the boot drive is not slowed down by trying to do everything
    I find that the three drives I use work very well for me, for editing AVCHD video... some people use a 4th drive, so video INPUT files are on drive three and all OUTPUT files are on drive four... I only bought a mid-tower case instead of a full tower case (my bad... but had to fit in the space available on my office desk!) so I use the three drives that will fit
    Depending on your exact hardware (motherboard brand & model AND USB2 enclosure brand & model AND external hard drive brand & model) AND the type of video file, you may... or may NOT... be able to use an external USB2 hard drive for SD (Standard Definition) video editing
    Steve Grisetti in the Premiere Elements forum http://forums.adobe.com/thread/856208?tstart=0 and Jim Simon in the Premiere Pro forum http://forums.adobe.com/thread/856433?tstart=0 use USB externals for editing
    A USB3 hard drive connected to a motherboard with USB3 is supposed to be fast enough for video editing (I don't have such, so don't know) but eSata DOES have a fast enough data transfer for video editing... I have not used this eSata Dock... for reference only, YMMV and all the usual disclaimers
    http://www.amazon.com/Thermaltake-BlacX-eSATA-Docking-Station/dp/B001A4HAFS/ref=cm_cmu_pg_ t
    You could also consider an i7-2600 CPU (and the appropriate motherboard) with 16Gig of Ram

  • I am trying to import aperture library from macbook to new imac the import window sees the external harddrive but does nt see library.  I can open library as a refernce library but cannot import onto hardrive as managable files  Tried to do as a backeup t

    I am trying to import aperture library from macbook to new imac the import window sees the external harddrive but does nt see library.  I can open library as a refernce library but cannot import onto hardrive as managable files 

    I may be misreading what you are trying to do but you don't import libraries via the import window. You use File->Import->Library..
    If this doesn't resolve your problem post back with more detail of what you are doing and what is happening.
    regards

  • Image problems importing Illustrator 10 file into Flash MX.

    Hello,
    I'm working on my portfolio and want to import an Illustrator
    (version 10) file into Flash (Flash MX). The problem I'm having is
    that when I import the Illustrator file into Flash, it comes out
    looking blurred. I tried exporting the Illustrator file into
    Photoshop and saving it as a JPEG, PNG, and TIFF (in each file
    format, changing the image size to 72 dpi) and I still get the same
    blurred result. I also tried saving the file for web, in
    Illustrator (in JPEG and PNG formats) with no success as well.
    The Illustrator file is a small collage of my graphic design
    work (where I pasted graphic work done in Illustraor and made
    clipping masks to collage them together), so I'm not sure if
    bringing these files together maybe causing some technical issue or
    is importing Illustrator files into Flash just something that will
    always appear blurred. If so, is there a way I can bring the file
    into Photoshop and work with it where I can import it without the
    blurred appearance?
    Any help will be greatly appreciated.

    Hi Matthew,
    Here's the Help doc that talks in more depth about Smart Objects:
    http://help.adobe.com/en_US/photoshop/cs/using/WS41A5B796-6846-4e95-8459-95243441E126.html
    And here's a section that goes into more detail on Placing files:
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-78f2a.h tml#WS634E6022-BC34-4aa8-857B-21D88D4C8D50a
    We have multiple request to add support for externally linked files and certainly see the value. There also are a couple third party solutions that offer linked file behavior (I'm not sure what versions of Ps they work with). You can see and add to the request (and find the third party solutions) here:
    http://feedback.photoshop.com/photoshop_family/topics/please_consider_a_references_tool_to _create_links_to_layers_or_folder_groups
    regards,
    steve

  • How to Read a External File in a livecycle form (using javascript)

    Hi Everyone,
       First of all, i would like to thank you in advanced for your help !!
       I have a situation were i need to load some values into some fields inside a dinamic pdf that was created in livecycle, what can i do so far ?
       I can load the fields with some values using a livecycle event and javascript, the values come from some functions that i have created but ... are fixed of course...
    What i need is to load up the values from the outside world.... from a external file (text or xml) or a webservice... i have some several experiences but nothing has worked so far...
    Can anyone publish a sample code in javascript to load up a file (text or xml) that works inside livecycle ??
    Thanks in advanced.
    Miguel Angelo (migas)

    Hi, Paul,
      Thanks i have looked inside the link (dam big ) but i'm still kind of lost, can anyone please publish a code example ?
    Miguel

Maybe you are looking for