Javascript  and ehlp introduced into source files

RH "stops responding" and closes-whenever it encounters one--making minor changes on a few topics has forced me to relaunch RH 30 times or more yesterday.
Projects were generated with different versions of RH (5, 6,7,8) and I've been updating them (I apply a common .css by selecting all the topics in the topic list to each project by filey . Some were taken out of the RH versioning server. I've been working several inherited projects that were hastily converted into single source RH HTML 8 projects. The conversion, I think, is introducing certain kinds of javascript?  Until today, I thought the previous contributors were saving the published files because of messed up javascript.
<style type="text/css">/*<![CDATA[*/ A:visited {color: #800080;} A:link {color: #0000ff;}/*]]>*/</style>
(putting the above script into this forum message causes java another java function ($A(arguments))) to display in a tooltip for the cursor as I type)
The scripting is not in all topics; certain editing actions cause RoboHelp HTML to shut down--perhaps it is editing a topic that LINKS to such a topic; can't say for sure. I have had a dickens of a time cleaning the gunk out of files: I do know that some topics have kadov tags nested in HTML tags, nested inside css styles (i.e. 3 ways to indicate <b> bold.
I've put the css file through http://www.w3schools.com/site/site_validate.asp and when I run the validated css in the RH project, some styles get redefined. Any ideas on how to clean up the 990 topics in the project I'm working on this week?
I had the same kinds of issues on a different project last week. What is an effective way to clean the scripts out of topic files?  The example above is broken into 2 to 6 lines, just before the <body> tag. Additonal js may occur in the footer, or in a numbered procedure. Not all topics, not all numered procedures.  There are 3 kinds of  < js start>   < js end > tags in various files.  I've been using InfoRapid Search and Replace (it can search across line breaks) but failed to spot EVERY script.

Hi,
The CDATA means unparsed data. This can be used for javascript, but you can use it for any data you need. If a chunk of data uses characters that are defined in the XHTML file system, a program may not be able to read the file. With the CDATA command, the program will correctly read the string.
If what you posted is the text added, RH doesn't add javascript, it adds css. In this case the colour of visited hyperlinks and the colour of unvisited hyperlinks.
You say you validated your css using the W3C validator. Is it validated, or are there errors? Also, the validator only checks your css, it doesn't change it. I don't see what RH would do to a css you've only validated. Can you be more specific?
Have you run "Update DHTML Effects in Topics"? This feature may solve a lot of your problems. Just backup your projects first.
For find and replace, try using dnGrep (http://code.google.com/p/dngrep/). It supports regular expressions and multi line search and it saved me a couple of times. I don't know the tool you're using, so I don't know why it can't find the text. Backup your projects before using this tool.
Greet,
Willam

Similar Messages

  • I have to average data of 1min and then log into text file

    For my application i have to average data of 1min and then log into text file. please guide me on this . To transfer the data i am using notifier.
    Prashant Soni
    LabVIEW Engineer

    hi prashant,
      Check this attachment..I just implemented my idea    in this one.
    Thanks and regards,
    srikrishnaNF
    Attachments:
    Example_VI_BD.png ‏12 KB

  • How to insert landing site and impression code into swf files

    Hi guys!
    i got problems.
    Actually, i dont have  knowleage about tracking and clicks.
    I want to find out how to use it and use it in swf files.
    i want to insert landing site and impression code into swf files but i dont know how to do it.
    i want insert two link below into swf files.
    Impression:
         http://impgb.tradedoubler.com/imp?type(inv)g(xxxxxxx)a(xxxxxxx)
    Click:
         http://clk.tradedoubler.com/click?p=xxxxxx&a=xxxxxxx&g=xxxxxxx
    Can you show me how to do that?
    Thanks for your helps.

    You would need to creat a invisible button or movieclip on a new layer on top and have it fire a external javasctipt function you create in the HTML header that will then call those URLs .

  • Extraction of oracle pkg and pkg bodies into spool file??

    Hi,
    I need to extract all packages and its bodies into spool file. can you give me script or guide how to do this.. i have more than 200 packages.. need to create spool file for each package. great thanks for help.
    /mr
    Edit/Delete Message

    From 10g, DBMS_METADATA is designed for ! :)
    [http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#i1019414]
    Edited by: Leo Anderson on 1 sept. 2008 14:22

  • SAP E-Commerce 5.0 - Examples and Tutorials Guide  : examples source files

    Hi everyone,
    Where can i find examples source files of the "SAP E-Commerce 5.0 - Examples and Tutorials (Dev./Ext.) " Guide ?
    Thanks & Regards

    You can get the JAVA files source code from the <drive>:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b directory, you should be able to find the src.zip file which contains the source code for the Action & Business object files.
    You can access the JSP files from the <drive>\usr\sap\CD5\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b\servlet_jsp\b2b\root
    OR
    You can import through NWDI into your NWDS.
    Let me know if you need further details.
    Thanks
    Srini Sandaka

  • Calling javascript from swf (which is source file of frame) - problems with OPERA

    hey,
    right now i have the swf-file as the source file for a frame,
    because i want the swf-width depend on the browser-size.
    it looks kinda like this:
    <frameset cols="10,*,10">
    <frame src="border.htm" name="leftFrame">
    <frame src="file.swf" name="mainFrame">
    <frame src="border.htm" name="rightFrame">
    </frameset>
    from the swf i call a javascript-code that is located in the
    'border.htm'
    file.
    the javascript simply opens a popup window.
    function open_popup() {
    MM_openBrWindow('popup.htm','pop','toolbar=no,location=no,status=no,menubar=no,scrollbars =no,resizable=no,width=400,height=500');}everything
    works fine ine firefox, ie, netscape (at least in another tab),but
    when it comes to the opera browser (and apparently also safari)i
    don't get any reaction at all ...i told opera to allow
    popup-windows, so that shouldnt be the reason.now i am thinking
    maybe some browsers have a problem with callingjavascripts from
    within swfs that are not located in that specifichtml-file?maybe
    some of you encountered the same problem ...would be grateful for
    any advices ...thanx,eva

    hey,
    right now i have the swf-file as the source file for a frame,
    because i want the swf-width depend on the browser-size.
    it looks kinda like this:
    <frameset cols="10,*,10">
    <frame src="border.htm" name="leftFrame">
    <frame src="file.swf" name="mainFrame">
    <frame src="border.htm" name="rightFrame">
    </frameset>
    from the swf i call a javascript-code that is located in the
    'border.htm'
    file.
    the javascript simply opens a popup window.
    function open_popup() {
    MM_openBrWindow('popup.htm','pop','toolbar=no,location=no,status=no,menubar=no,scrollbars =no,resizable=no,width=400,height=500');}everything
    works fine ine firefox, ie, netscape (at least in another tab),but
    when it comes to the opera browser (and apparently also safari)i
    don't get any reaction at all ...i told opera to allow
    popup-windows, so that shouldnt be the reason.now i am thinking
    maybe some browsers have a problem with callingjavascripts from
    within swfs that are not located in that specifichtml-file?maybe
    some of you encountered the same problem ...would be grateful for
    any advices ...thanx,eva

  • Ksld not breaking into source file

    Hi guys,
    I installed ksld and started debugging my driver using a tip connection... all works fine.. i inserted a breakpoint on one of my functions in the driver.. and in the tip console once i have reached the breakpoint.. i use ::remote to enter remote mode and start the ksld with all those options on the host and it get connected to the ksld agent.. but the host is not able to show the source code of my driver... ie it always breaks into the asm dump of the driver code.. how do i switch to source display.. but at the same time i am able to edit the source file and all.. ie by using edit command.. but no idea why the asm code is dumped while a break point is reached..
    any idea how we can switch to source level code for debugging..
    thanks all

    The simple answer here is that machine specific files do not need to be checked in. This includes .PSS and .CPD files. The .HHP and .XPJ files are not machine specific, they are project specific and therefore must be checked in. The confusion over the HHP file may come down to whether CHM output is being produced. If you are not, you could safely say that this file need not be source controlled. However it doesn't cost anything to include it under source control so why make life more difficult by excluding it.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Looking for a way to combine audio and images together into movie file

    I am using JMF to make a tiny movie.
    The thing is that I've done making sequential images (.jpeg) into a .mov(quicktime) video file, but I am not sure how to add audio (in this case in a .wav file) into this .mov . Does anybody has any idea?
    Thanks.
    P.S. this is the file that I am using to generate .mov, which is an example from SUN.
    http://www.java2s.com/Open-Source/Java-Document/Graphic-Library/apollo/org/apollo/jmf/test/JpegImagesToMovie.java.htm
    Edited by: 877113 on Aug 3, 2011 6:29 PM
    Edited by: 877113 on Aug 3, 2011 6:30 PM
    Edited by: 877113 on Aug 3, 2011 6:31 PM
    Edited by: 877113 on Aug 3, 2011 6:31 PM

    877113 wrote:
    Does anybody has any idea? Merge the video track and audio track and write it to a file using a DataSink.
    Here's an example:
    http://web.archive.org/web/20080216001555/http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Merge.html

  • Moving js and embed code into linked files

    Hello all,
    I am trying to "optimize" some of my web pages by moving as
    much code as possible into linked files. I'm using Flash 8 in
    conjunction with Dreamweaver 8. I am also employing some DW
    behaviors, like swap image, that generate javascript.
    I am wondering if it's possible to put the javascript code
    and all the code thats generated to embed Flash movies into a page
    into a linked file, and if so, how?
    Any direction will be much appreciated,
    Scott

    This Article covers rather more than you are asking about,
    but you may
    be inspired to streamline your page even further than you're
    planning on
    now:
    http://divahtml.com/articles-tutorials/site_maintenance/SSI_and_other_external_files.php
    E. Michael Brandt
    www.divaHTML.com
    divaPOP : standards-compliant popup windows
    divaGPS : you-are-here menu highlighting
    divaFAQ : FAQ pages with pizazz
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • A script that captures the coordinates of the mouse clicks and saves them into a file

    Hello,
    I'm trying to create a cartoon taking a movie (I've chosen blade runner) as base. I've got the real movie and I've exported all the pictures using VirtualDUB. Now I have a lot of images to modify. I would like to modify the actors faces with the faces generated by Facegen modeller. I'm thinking how to make the whole process automatic because I have a lot of images to manage. I've chosen to use Automate BPA,because it seems the best for this matter. I'm a newbie,so this is my first attempt using Adobe Photoshop and Automate BPA. I wrote a little script. It takes a face generated with Facegen modeller and tries to put it above the original actors faces. But it doesn't work very good and I'm not really satisfied,because the process is not fully automated. To save some time I need to write a script that captures the coordinates of the mouse when I click over the faces and that saves them into a file,so that Automate BPA can read these coordinates from that file and can put the face generated with Facegen Modeller above the original face. I think that Automate BPA is not good for this matter. I think that two coordinates are enough,X and Y. They can be the coordinates of the nose,because it is always in the middle of every face. It is relevant to knows how big should be the layer of the new face,too. This is the Automate BPA code that I wrote :
    <AMVARIABLE NAME="nome_foto" TYPE="TEXT"></AMVARIABLE>
    <AMVARIABLE NAME="estensione_foto" TYPE="TEXT"></AMVARIABLE>
    <AMSET VARIABLENAME="nome_foto">br</AMSET>
    <AMSET VARIABLENAME="estensione_foto">.jpeg</AMSET>
    <AMVARIABLE NAME="numero_foto" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_x" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_y" TYPE="NUMBER"></AMVARIABLE>
    <AMWINDOWMINIMIZE WINDOWTITLE="Aggiungere_layer - AutoMate BPA Agent
    Task Builder" />
    <AMWINDOWMINIMIZE WINDOWTITLE="AutoMate BPA Server Management Console
    - localhost (Administrator)" AM_ONERROR="CONTINUE" />
    <AMENDPROCESS PROCESS="E:\Programmi_\Adobe Photoshop
    CS5\Photoshop.exe" AM_ONERROR="CONTINUE" />
    <AMRUN FILE="%&quot;E:\Programmi_\Adobe Photoshop CS5\Photoshop.exe&quot;%" />
    <AMPAUSE ACTION="waitfor" SCALAR="15" />
    <AMSENDKEY>{CTRL}o</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMINPUTBOX RESULTVARIABLE="numero_foto">Inserire numero FOTO di
    partenza -1</AMINPUTBOX>
    <AMINCREMENTVARIABLE RESULTVARIABLE="numero_foto" />
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMMOUSEMOVEOBJECT WINDOWTITLE="Apri" OBJECTNAME="%nome_foto &amp;
    numero_foto &amp; estensione_foto%" OBJECTCLASS="SysListView32"
    OBJECTTYPE="ListItem" CHECKOBJECTNAME="YES" CHECKOBJECTCLASS="YES"
    CHECKOBJECTTYPE="YES" />
    <AMMOUSECLICK CLICK="double" />
    <AMPAUSE ACTION="waitfor" SCALAR="10" />
    <AMSENDKEY>{CTRL}+</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="20" />
    <AMSENDKEY>l</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMSENDKEY>v</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="131" MOVEY="99" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="99" MOVEY="162" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="release" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMINPUTBOX RESULTVARIABLE="coord_x">Inserire coordinata X</AMINPUTBOX>
    <AMINPUTBOX RESULTVARIABLE="coord_y">Inserire coordinata Y</AMINPUTBOX>
    <AMMOUSEMOVE MOVEX="200" MOVEY="200" RELATIVETO="screen" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMMOUSEMOVE MOVEX="%coord_x%" MOVEY="%coord_y%" RELATIVETO="position" />
    <AMMOUSECLICK />
    and this is a short video to explain better what I want to do :
    http://www.flickr.com/photos/26687972@N03/5331705934/
    In the last scene of the video you will see the script asking to input the X and the Y coordinates of the nose. This request is time consuming. For this reason I want to write a script that captures automatically the coordinates of the mouse clicks. The only thing to do should be click over the nose and the script should make the rest. As "c.pfaffenbichler" suggested here : http://forums.adobe.com/thread/775219, I could explore 3 ways :
    1) use the Color Sampler Tool’s input with a conventional Photoshop Script.
    2) use After Effects would provide a better solution.
    3) Photoshop’s Animation Panel might also offer some easier way as it might be possible to load two movies (or one movie and one image) and animate the one with the rendered head in relation to the other.
    Since I'm a totally newbie in graphic and animation,could you help me to explore these ways ? Thanks for your cooperation.

    These are the coordinates of the contours of the face that you see on the picture. Can you explain to me how they are calculated ? The coordinates of the first colums are intuitive,but I'm not able to understand how are calculated the coordinates of the second one.
    Thanks.
    1 COL     2 COL (how are calculated these values ?)
    307.5000 182.0000 m
    312.5000 192.0000 l
    321.5000 194.0000 l
    330.5000 193.0000 l
    335.0000 187.0000 l
    337.0000 180.5000 l
    340.0000 174.0000 l
    338.5000 165.5000 l
    336.0000 159.0000 l
    331.5000 153.0000 l
    324.5000 150.0000 l
    317.0000 154.0000 l
    312.5000 161.0000 l
    309.0000 173.0000 l
    307.5000 182.0000 l
    Message was edited by: LaoMar

  • IO - Read two image files and put them into one file

    Hi,
    i have 3 files in all. The two image files and one text file. I need to place the image in the first image file, followed by text in the text file and then the image in the second image file, into one file.
    Can anyone tell me how do i go about doing this ?
    i tried using fileinputstream and fileoutputstream, which works fine if all the 3 files have text but when the first and the third file have image, the code doesn't give any error but the result file displays only the image from the first file and nothing else.
    i am running short of time and need to do this really soon.
    if anyone has done anything like this. please let me know,
    thanx,
    poonam

    One approach would be to programmatcally create a single zip/jar file from the three input files. You can use the java.util.zip and java.util.jar packages for this purpose.
    The other apprach would be to create a single image by drawing images and text strings on a BufferedImage object.
    I think the first approach is preferable because you can easily extract the individual files from the zip/jar file

  • Adding data from a rolling camera and entering it into a file

    i have managed to get my software to read camera input from a usb port! I would like it to be able t pause the rolling image and trnsfer a image of me into a file named owner, so it reconises me! NOTE! it should only have to take my profile when it is started for the first time! then i would like it to be able to acsess the file so it knows that i am the owner!
    how would i go about doing this!
    baring in mind it would need to permantly know who i am afterwards!
    to make it reconise me after the initial setup! would you sagest i se a random accses file so that it can acses it or not!
    and would i need to put a loop so that it can acses the file to know who i am all the time!
    I hope this makes sense!
    many thanks

    Hi and welcome to the forum.
    Is there a way to retrieve data from a blob field and save it to temp table.Why would you want to do that?
    Can you provide some more details regarding your requirement?
    (Don't forget to mention your database version as well)
    Also, I wonder why you've added a 'decompress' tag to your question?
    edit, after seeing Tubby's reply
    Dang, the connection must be frozen here ;)
    Edited by: hoek on Jan 6, 2010 9:06 PM

  • I only have the exported .zip file for a project, can I import to captivate and make a .cptx source file?

    I am working on a multi-person team with Captivate 7. The CPTX source file cannot be located for one module. We have the exported .zip files in our Version Control system. Can I take these files and recreate the .cptx file. I don't mind having to recreate a little functionality, but am hoping to avoid starting from the beginning with this file.
    I know this can be done for RoboHelp files, was hoping some script existed for Captivate as well.

    You might be able to save a bit of headache by extracting the content of the zip. Likely a SWF will be inside along with other files. You could then play the SWF and capture the screens. Might save a tiny bit of effort.
    Cheers... Rick

  • ODI:data RDBMS and put it into a file

    hi i need to put data from an rdbms to flat file using a variable to specify which file to put the data in.
    now i know how to put the data into flat file by specifying the file name as the resource name while creating the target datastore.
    now i need to use a variable instead of directly specifying the file name.
    the variable must contain a query that can fetch the file name based on the count of another variable..........so i can chose which file to write the data too......

    hi....thanks for the help
    i created a variable named var1
    i entered abc.txt as the default value of the variable.
    in the target datastore resource name i entered #var1
    and i created the package with var1 as refreshing followed by my interface as you said.
    the problem is that the file being created is with the name #var1 and not abc.txt
    when i open this file with notepad it contains the correct data.
    can you pls help me with this......

  • Recalling Spreadsheets and appending results into 1 file.

    Hi,
    i am in a stage of my program where i have to do numerical analysis on a set of data collected by an Optical spectrum analyser... the data has been saved in multiple spreadsheets... (each with a row for the wavelengths, x-values, and power, y-values)...i need to get the power values and put them all in 1 spreadsheet file, with the wavelngth values in the first row.
    so multiple 2D spreadsheets: Wavelength:  x1 x2 x3 .....
         Power 1     : P1 P2 P3....
         Wavelngth: x1 x2 x3...
         Power 2    : p1 p2 p3...
    Will turn to: Wavelength:  x1 x2 x3...
    Power11 P2 P3...
    Power21 p2 p3...
    attached below is my attempt at doing this, which doesnt seem to work. The loops are present so that 'read from spreadsheet' vi recalls all the spreadhseets...which it does do... but i don't know how to improve it so that all the files succesfully append into 1 2D array (as shown above).
    Please can someone help me figure out how to do this (recall multiple spreadsheets and then save into 1). right now only the files being recalled in the last loop iteration are saved into the single spreadsheet. 
    the file paths of the spreadsheets are all dependent on the number (N) so the file paths are such that 00.txt,01.txt,02.txt,03.txt...0N.txt, 10.txt,11.txt...1N.txt,20.txt,21.txt... etc ...NN.txt and teh final file will be RESULTS.txt (as seen in the pic)
    Any input will be greatly appreciated, it seems like an easy concept, but the answer totally evades me.  
    thanks a lot,
    Asiri  
    Attachments:
    Savespreadsheet.jpg ‏121 KB

    as you can see in the image, i have used the required VIs to recall and save the spreadsheets, what i am having problems with is appending ALL of the spreadsheets, my loops are not working properly, i only append a select number of spreadsheets/arrays together dependent on the loop iterations,
    perhaps its something wrong with the way i got everything wired? i index at the outer loop, however this information gets lots in subsequent iterations... what i need ideally is some sort of VI which inserts sub arrays into consequative rows in an array though just one input (such as in my loops).
    any suggestions are greatly appreciated.  
    thank you!
    asiri  
    Attachments:
    Savespreadsheet.jpg ‏121 KB

Maybe you are looking for

  • Creating calendar

    Create calendar view for week, month, year according to inputs

  • Leopard upgrade = no wireless networking

    I upgraded my Mac Mini (1.83 GHz Core 2 Duo) to Leopard the other day. Took it to 10.5.2 right after the upgrade. Everything worked flawlessly for about 2 days. Then the AirPort networking started dropping it's connection. I have a Wireless Router se

  • Can't send mail: connection to server timed out

    Every time I go out of the USA I have problems with mail. Sometimes they go away by themselves........this one is not. I am in israel; I receive mail but when I send i get the message "connection to server smtp on port 587 timed out........ How can I

  • Validating Internal Order Settlement Rule during creation

    Does anybody know of a user exit, badi, anything, that can be used to validate assignement data when creating/changing the settlement rule on an internal order? Appreciate the help... Sam

  • Choosing album art for album with multiple art

    I tried looking around for an answer to this to no avail... Let's say I have a single album that contains songs with different artwork. How do I pick which album art I want displayed in Cover Flow/Album Grid? I tried everything, including pasting the