I am having trouble implementing scripting functionality in an indesign template for a DPS project.

Basically how should the interaction between inserted HTML and the CSS, JS applied for the HTML happen?
I created plain HTML code which has text fields, buttons and the functions that perform some simple calculations. But when imported via Object>Insert HTML the HTML functionality was lost. I then tried creating and exporting an indesign template which contained all the buttons required for the calculation as a HTML file via File>Export option, added modified HTML code and then used Object>Insert HTML. But no luck.
Is there a better way to import and/or how do we initiate a button to be used via scripting? (Eg: convert a image into a button in indesign, but.... how best to initiate a "onClick" function for the button created via Js or Jquery).

I'm having the same issue. And Dreamweaver now crashes after just a few seconds.

Similar Messages

  • HI there, I am having trouble updating my CS5 Master's Collection Suite for at least a month now. I keep gettin this message "There was an error downloading this update. Please quit now and try again later" every time and do not know how to fix it.

    I am having trouble updating my CS5 Master's Collection Suite for at least a month now. I keep getting this message "There was an error downloading this update. Please quit now and try again later" every time and do not know how to fix it.
    Any help will be highly appreciated.
    Thanks a lot in advance.
    Sincerely,
    Uvaldocj@@
    Here is a list of the products I am troubled with:
      Adobe After Effects CS5 10.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Bridge CS5 4.0.5 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Extension Manager CS5 5.0 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Illustrator CS5 15.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Pixel Bender Toolkit 2.5 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe® InDesign® CS5 7.0.4 update
    There was an error downloading this update. Please quit and try again later.
      Dreamweaver CS5 11.0.4 Updater
    There was an error downloading this update. Please quit and try again later.
      Fireworks CS5 11.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Photoshop 12.0.4 update for Photoshop CS5
    There was an error downloading this update. Please quit and try again later.
      Photoshop Camera Raw 6.7 Update
    There was an error downloading this update. Please quit and try again later.

    I'm having the same issue. And Dreamweaver now crashes after just a few seconds.

  • Having a problem importing xml into an indesign template.

    I am having a problem importing xml into an indesign template. The xml data is there and will populate the columns on the document but I am having problems matching styles, removing data that should not be mapped and importing repeated same fields but differnet data.
    Message me if this is something you can do quickly for a fee.

    Also you can check the following link
    [Reporting|http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm]
    Regards,
    Tej

  • Having trouble with the Check Out (Registration - Buy) template - keep getting error message!

    Hello!
    Hoping somone can help me with this. I've been struggling for a while and must get this finished. I am using BC ecommerce and PayPal standard. I have set up my item, templates, etc. I'm testing the function and can get through until the checkout. When I try to checkout, I get an error message that says:
    "ERROR: You have deleted your web form. Please login to the Admin panel of your website and remove the previously submitted form from the web page you last visited. You will need to recreate this web form by going to Modules -> Webforms. After recreating simply insert this new web form into the web page and your web form should work properly."
    I edited the Registration - Buy template to only include PayPal as the payment method (though I don't see how this form functions).
    I followed the instructions on the kb site to set up PP standard (PDT token and all that) and have set that up in the gateway section.
    I can get to the item, add it to the cart, get to the cart, checkout button brings me to the checkout page, but then stuck.
    I'd appreciate any help you can offer as I'm behind on this now. Thank you

    Thank you for your quick reply Liam! You know, I checked the web forms list when I got that error message and the form isn't there. I was having trouble the other day when another of my forms kept getting deleted.
    Sorry if this is a stupid question (I'm a BC newbie) but I want to be sure so I can get this project finished... The proper workflow would be to create this form myself in Web Forms then insert it into the Registration - Buy template using the modules toolbox?
    Thanks to you I may get this done on time still... if my PayPal set up works

  • Having trouble with Dreamweaver and fireworks willing to pay for support

    I'm new to the forum and i was hoping to get some help with
    dreamweaver and fireworks.
    I built a site on my own using dreamweaver 3 years ago but
    have forgotten almost everything. I am planning on building a new
    web site and have been messing with dreamweaver for over a week
    trying to figure it out, with little success. I bought a web
    building package years ago that included fireworks, dreamweaver,
    freehand and maybe more, but i lost my books on dreamweaver and
    fireworks somehow.
    Anyways, I was trying to learn dreamweaver 3 and fireworks
    and was having a lot of trouble with it. The dreamweaver bible
    assumes you know how to make a navigation bar using fireworks and
    that simply isnt the case for me. So I need help with that.
    Also, i have been having trouble with my template. This is
    how you save your basic page correct? For some reason it doesnt
    save the whole page for me. I figured out the editable regions
    part, I think, but since i didnt know how to make a navigation bar
    I made my own links out of text, and this part isnt saving with the
    template.
    I have a lot more questions but i think ive taken enough of
    your time. I am willing to pay someone to help me build this site,
    i cant afford a lot but i think my questions are pretty basic.
    Thanks

    There is a recent thread on the FW forum that may interest
    you - it's called
    "Firworks and HTML". The advice there applies in your case,
    too.
    One problem with your use of DW3 is this -
    the browser world has changed quite a bit in the almost 10
    years since DW3
    was released. Some (many?) of the behaviors in DW3 simply
    won't work any
    more because of these (significant) changes. Are you
    absolutely locked into
    using DW3?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jfmalewitz" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm new to the forum and i was hoping to get some help
    with dreamweaver
    > and
    > fireworks.
    > I built a site on my own using dreamweaver 3 years ago
    but have forgotten
    > almost everything. I am planning on building a new web
    site and have been
    > messing with dreamweaver for over a week trying to
    figure it out, with
    > little
    > success. I bought a web building package years ago that
    included
    > fireworks,
    > dreamweaver, freehand and maybe more, but i lost my
    books on dreamweaver
    > and
    > fireworks somehow.
    > Anyways, I was trying to learn dreamweaver 3 and
    fireworks and was having
    > a
    > lot of trouble with it. The dreamweaver bible assumes
    you know how to make
    > a
    > navigation bar using fireworks and that simply isnt the
    case for me. So I
    > need
    > help with that.
    > Also, i have been having trouble with my template. This
    is how you save
    > your
    > basic page correct? For some reason it doesnt save the
    whole page for me.
    > I
    > figured out the editable regions part, I think, but
    since i didnt know how
    > to
    > make a navigation bar I made my own links out of text,
    and this part isnt
    > saving with the template.
    > I have a lot more questions but i think ive taken enough
    of your time. I
    > am
    > willing to pay someone to help me build this site, i
    cant afford a lot but
    > i
    > think my questions are pretty basic.
    > Thanks
    >

  • Having trouble getting waf to create a pc file for pkg-config

    Hello Arch Linux forums!
    After successfully building and installing some monome tools on my debian machine, I thought I'd migrate over to developing things on arch linux.
    However, I'm having trouble building my project because pkg-config cannot find libmonome after a fresh build.  It complains that there's no libmonome.pc in my $PKG_CONFIG_PATH.  Sure enough, libmonome.pc does not exist, while it does on my debian machine.
    I suspect it's some sort of permissions / path issue that I need to account for, but I'm unaware as to where to start looking.  Has anyone else used waf and encountered similar issues?
    Thanks in advance!

    Well the configuration file you chose does not allow users created in NetWeaver to be created in the LDAP.  That's why it's a "readonly" configuration.  I would guess that you need a custom configuration file specifically for open ldap.
    This should help get you started on a custom configuration file:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/14d43f2dd44821e10000000a1550b0/frameset.htm
    Then again, if the only problem with the .XML file you chose is that you can't write to the LDAP, give the dataSourceConfiguration_ads_writeable_db.xml configuration file a shot.

  • Having trouble implementing Captivate simulation in an iFrame

    Hi all, hoping you can give me some pointers.
    I'm trying to implement Captivate scalable html5 simulations in a proprietary LMS that requires that I place it in an iFrame.  It works, but the scaling is not working properly.  Immediately upon loading, the Captivate content is too large for my frame, although it does resize (still too large) when I scale the page. 
    Are there any known tweaks for this kind of issue?
    Thanks in advance,
    Jill

    Not sure if you still need this, since it has been nearly a month.
    But I just ran into this same issue.
    Require using HTML5 with Captivate inside of an iFrame.
    The "Scalable html" was ignoring the iframe's dimensions, and using the full window dimensions instead.
    What I ended up doing is stop using the "scalable html" option when publishing from captivate. and then i used the following javascript inside the html that the iframe was placed:
        <script type="text/javascript">
            var iframeName = 'trainingVideo';
            this.FindZoomHeight = function () {
                var slideshow = $('#main_container', $('#' + iframeName).contents());
                var showHeight = $(slideshow).height();
                var frameHeight = $('#' + iframeName).height();
                if (frameHeight >= showHeight) { return 1; }
                return (frameHeight / showHeight);
            this.FindZoomWidth = function () {
                var slideshow = $('#main_container', $('#' + iframeName).contents());
                var showWidth = $(slideshow).width();
                var frameWidth = $('#' + iframeName).width();
                if (frameWidth >= showWidth) { return 1; }
                return (frameWidth / showWidth);
            this.SetZoomLevel = function () {
                var zh = FindZoomHeight();
                var zw = FindZoomWidth();
                var zoom = 1;
                if (zh < zw) {
                    zoom = zh;
                } else {
                    zoom = zw;
                var container = $('#main_container', $('#' + iframeName).contents());
                $('body', $('#' + iframeName).contents()).css('-moz-transform-origin', '0 0 0').css('-o-transform-origin', '0 0 0').css('-moz-transform', 'scale(' + zoom + ')').css('-o-transform', 'scale(' + zoom + ')');
                $(container).css('zoom', zoom);
            $(document).ready(function () {
                $(window).resize(function () {
                    SetZoomLevel();
            $('#' + iframeName).load(function () {
                SetZoomLevel();
        </script>
    This uses the css zoom property. (uses transform scale in firefox/opera..but captivate doesn't support those browsers anyways)

  • Having trouble GUI scripting

    Hi there,
    I'm trying to script a small app called Deeper (that doesn't work natively with ascript).
    I tried GUI scripting with apple script editor but I'm not how it works so I put that aside and went trying with UI Element Inspector.
    So I'm trying to select something from a scroll menu, and then click a start button.
    What it does is it activates the Flurry screensaver as a background, but some bugs turn it off, so I wanted that by running this script, it would use Deeper to turn it back on without having to do it manually.
    I tried as best as I can to stick with the example given in the UIElementInspector page, but I am really a starter in scripting.
    First, I did:
    tell application "Deeper"
    activate
    end tell
    tell application "System Events"
    tell process "Deeper"
    tell menu "PopUpButton"
    But then I found out there was no way to distinguish that pop up menu from others (with UIElementInspector) other than by the size and location of the menu in the app.
    So first I'd need help finding out how to tell the script wich menu to go check in, and then probably stick with the example page.
    As you can see, I'll really trying to learn applescript from the start, because it looks so useful.
    Thanks to anyone for helping!

    You shouldn't need this:
    "open application file "Deeper.app" of folder "Applications" of startup disk"
    as this activates your app for you:
    "activate application "Deeper""
    activate application "Deeper"
    delay 1
    tell application "System Events"
    tell process "Deeper"
    click button "General" of tool bar 1 of window "Deeper"
    delay 0.5
    tell pop up button 4 of window "Deeper"
    click
    click menu item "Flurry" of menu 1
    end tell
    delay 0.5
    click button "Start" of window "Deeper"
    delay 0.5
    tell application "Finder"
    quit application "Deeper"
    end tell
    end tell
    end tell
    Budgie

  • Grapher having trouble with trig functions

    Well I thought that I could make some cool visuals for my math class by using grapher instead of just making charts and graphs in Excel on my pc, but no dice with that idea. I created all the different variables (and how they related to x, ie x^2*(5-x6)/x=m) and it was pretty cool how it would all come together and I could use those variables in other equations instead of writing it all out (stuff like y=4x^m-m/5). (Those are examples, not anything I used)
    Everything seemed fine until I tried to use a cosine function in one of the equations. It seemed really intuitive and recognized cos as cosine and not the variables c, o, and s multiplied, so I thought "great!" Then when I entered it the graph didn't appear anything like it should have. It gave me a Richter scale instead of a slightly curved line. I spent about half an hour trying to find my own error but then realized maybe there was something wrong with the program. I tried just plain old cos(x) and found that it was completely off. Instead of traveling from 0,1 to 180,-1 like it should have, it went from 0,1 to 3.1475,-1. This was way off so I tried a sine function and that did the same exact thing (having a period of roughly 6.295 instead of 360!). These functions were way off, and I'm using an intel macbook from my school (with 10.5), so I thought maybe someone changed the settings, so I tried them them on my aunts g4 macmini (10.4.11 I think) and it gave me the same problem!
    Anyway what's wrong with the trig functions for Grapher and how can I fix them?

    Emzz, I'm running 10.5.5 (Intel) and Grapher v2.0. My version of Grapher supports changing Trigonometric Mode, so the absence of this option seems to have nothing to do with Leopard.
    But let's do some Math now. As you surely know the cosine has (besides others) a root at 90 Degrees in the unit circle. Now let f : (angle in Degrees) -> (length of the corresponding arc of the unit circle) be a mapping. For 90 Degrees f yields 0.5*Pi. That means cosine has a root at 0.5*Pi in Radian unit.
    Now, if you swith Grapher's Trigonometric Mode from Degrees to Radian, cosine will no longer have a root at 90 but at approximately 1.57. Hope that explains a bit...
    By the way, Radian is the standard unit of angular measurement when it comes to trigonometric functions. For more details about Radian see [this article at Wikipedia|http://en.wikipedia.org/wiki/Radian] (click the link to be redirected).
    I suggest you close this topic because, as you already noted yourself, your initial question is answered.
    Good computing.
    floba
    (MN576)
    Message was edited by: floba

  • I am having trouble with a function in vb can anyone give me a suggestion?

    I am trying to calculate a cable bill of a residential customer and a business customer, when the customer checks the list box of the channels and the connections I need it to add it up. I have edited the code. Does my logic make sense?
    for residential customers it is 4.50 processing,30 basic service and 5 per channel
    so is the logic processing+basicservice *premium
    Public Class Main
    Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click
    If Data_Validated_ok() = False Then Exit Sub
    Dim premiumChannels As Integer = lstPremium.SelectedIndex
    Dim Connections As Integer = lstConnections.SelectedIndex
    Dim totalDue As Decimal
    If radResidential.Checked Then
    totalDue = CalcResidentialTotalDue(premiumChannels, Connections)
    lblTotal.Text = totalDue.ToString("C2")
    Else
    totalDue = CalcBusinesssTotalDue(premiumChannels, Connections)
    lblTotal.Text = totalDue.ToString("C2")
    End If
    End Sub
    ' make a function to calculate residential customers
    Private Function CalcResidentialTotalDue(ByVal premiumChannels As Decimal, ByVal connections As Decimal
    ) As Decimal
    Const ResidentialProcessing As Decimal = 4.5D
    Const ResidentialBasic As Integer = 30
    Const ResidentialPremium As Integer = 5
    Return ResidentialProcessing + ResidentialBasic + ResidentialPremium * premiumChannels
    End Function
    ' make a function to calculate business customers
    Private Function CalcBusinesssTotalDue(ByVal premiumChannels As Decimal, ByVal connections As Decimal
    ) As Decimal
    Const BusinessProcessing As Decimal = CDec(16.5)
    Const BusinessBasic As Integer = 80
    Const BusinessPremiumchannels As Integer = 50
    Return BusinessProcessing + BusinessBasic + BusinessPremiumchannels * premiumChannels
    End Function
    here is  a pic of my listboxes
    [IMG]http://i57.tinypic.com/muepug.png[/IMG]
    http://i57.tinypic.com/muepug.png

    The statement below is wrong in both functions.  You are passing the variable "connections" in the function parameter list and not using the variable.  I thing in the statement below you need to change connections to something else.
    connections = Convert.ToDecimal(lstConnections.SelectedItem)
    Here are the two parameter lists
    1)    Private
    Function calcResidentialTotal(ByVal connections
    As Decimal,
    ByVal premium As
    Decimal)
    As Decimal
    2)   Private
    Function calcBusinessTotal(ByVal connections
    As Decimal,
    ByVal premium As
    Decimal)
    As Decimal
    jdweng

  • Having trouble utilizing event functions in a class.

    I am trying to write button code in a class, so my main actions panal of my .fla doesn't get too overcrowded. Here is my class coding:
    package grid {
    import flash.display.*;
    import flash.events.*;
    public class g1x1 extends MovieClip {
      public function activateGrid() {
       this.addEventListener(MouseEvent.CLICK, onMouseClickEvent);
      function onMouseClickEvent(event:Event):void {
       trace("mouse clicked on me");
    Then on my main timeline I call to that class using:
    instance:g1x1 = new g1x1();
    instance.activateGrid();
    I have also tryed linking the button, using export for actionscript, but I don't know what I'm doing wrong I keep getting errors when I try to compile.
    I know something is wrong with my code, I'm used to assigning code right onto the buttons in AS2.
    Can sombody tell me what I'm doing worng?
    Thanks
    Matt.

    This is how it should look like:
    Class:
    package grid {
    import flash.display.*;
    import flash.events.*;
    public class g1x1 extends MovieClip {
    public function g1x1()
    public function activateGrid()
       this.addEventListener(MouseEvent.CLICK, onMouseClickEvent);
    private function onMouseClickEvent(event:Event):void
       trace("mouse clicked on me");
    your document class or timeline or .as
    import grid.*;
    private var myGrid1x1:g1x1 = new g1x1();
    myGrid1x1.activateGrid();

  • Having trouble with put_line function in block statement..

    Am a student, and the request does not appear to be in my book anywhere... Nothing on put_line, or block statements that I can see..
    Need to write a block which will bring back via put_line for department 110: the department_id (departments table), the department_name (departments table), and the city in which the department is located (which must be pulled from locations table... can be joined by department_id). I can write the select statement with join, just not sure how to turn it into a block with put_line function..
    any advice appreciated.. Thanks.

    Hi,
    You need to format your code, so that it's easy to see what statements are in each section (DECLARE, BEGIN, etc.).
    The compiler doesn't care about this, but it will help anyone who tries to read your code, including yourself.
    Type &#123;code&#125; before and after formatted sections when posting messages on this site.
    All statements, including each individual variable declaration) end with a semicolon.
    If a query will return no more than one row, you can capture the results using an INTO-clause, right after the SELECT-clause. For every column in the SELECT-clause, there will be one variable in the INTO-clause.
    Lists, including lists of table names in a query's FROM-clause, are delimited by commas.
    In a query's FROM-clause, the real name of the table comes first, optionally followed by the alias you're using in the query.
    I think this is what you're trying to do:
    SET   SERVEROUTPUT  ON  SIZE 50000
    Declare
        dep_id    NUMBER;
        Dep_string VarChar (100);
    Begin
        select  d.department_id, d.department_name -- , l.city
          into  dep_id,          dep_string
          from  departments  d
             ,  locations    l
          where d.location_id = l.location_id
            and d.location_id = 110;
        DBMS_OUTPUT.PUT_LINE (Dep_string);
    END;
    /No one should ever have this many errors at one time. Write code in much smaller increments, and test after each one. For example, you know you'll be using dbms_output.put_line, so start with something like:
    SET   SERVEROUTPUT  ON  SIZE 50000
    BEGIN
        dbms_output.put_line ('Hello, world!');
    END;You may have problems if you forget semicolons, or SET SERVEROUTPUT. Solve those before you go any further.
    Once the program above is working, add a little (and I mean a little) to it.
    For example, you know you'll be printing a varibale, not a literal, so change it to a variable:
    SET   SERVEROUTPUT  ON  SIZE 50000
    DECLARE
        dep_string  VARCHAR2 (100) := 'Hello, world!';
    BEGIN
        dbms_output.put_line (dep_string);
    END;And so on.
    Edited by: Frank Kulash on Dec 15, 2008 12:36 PM

  • Anyone having trouble w/ iPod function?

    I was up and running in a breeze...very impressive. Unfortunately, I had some issues w/ iPod freezing right off the bat...then, for a few hours I had no problem other than the speaker sounding pretty lame...tonight, when I finished syncing, my entire music Library disappeared (from the iPhone). The iPhone memory shows it to be there and when I sync w/ iTunes, the memory bar shows I have music on the iPhone. However, when I tap the iPod widget, there is NO music, no playlists, nada, nothing. I just reset and erased the entire phone and am starting over. Hope it works. Downloading 1300+ songs takes forever.
    iMac, Powerbook   Mac OS X (10.4.10)  
    iMac, Powerbook   Mac OS X (10.4.10)  
    iMac, Powerbook   Mac OS X (10.4.10)  

    I've had a similar problem as those discussed here. I've sync'ed my iPhone, when it's complete it says there's more than 3G of audio. When I eject/unplug the iPhone, there's no music under the iPod tab. I had this happen yesterday, too.
    At that point, I restored (but lost all my previous text messages).
    It happened again tonight, the sync showed that the iPhone was full of music but there wasn't any on the device. I unchecked sync music and let it erase all the music data (it took a couple of tries). Now I am reloading all the music. How can this be avoided? It makes me scared to sync!
    BTW, I love it otherwise:)

  • Having trouble with adobe flash cs6 accepting a variable for the scene calling gotoandplay

    ive got a simple quiz going and i seem to have hit a bit of a brick wall, in order to avoid having a seperate wrong answer scene per question i decided to impliment a simple history system, with a string variable defined on the first scene as a global variable and set at every question, problem is whenever the function to go back is called flash spits out an error saying it cant accept a variable for this parameter, but surely that cant be right. i dont understand where im going wrong and as this is coursework i need to fix it quickly. any chance of help?

    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is declared but not instantiated
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.
    If you are going to continue pursuing this using AS3 please start a new posting in the AS3 forum...
    http://forums.adobe.com/community/flash/flash_actionscript3?view=discussions

  • ESS Implement some functionality enterprise wide certain others for pilot

    Hi ESS Gurus
    I am new to ESS and just started looking at the functionality that needs to be provided.
    One requirement is that some functionality like salary statement etc. is to be provided for every body in the eneterprise while functionality like leave application needs to be done only for piloy group.
    Can any body help me how do I get this conrol ?
    Thanks in advance for the help.
    Kala.

    Hi Suresh,
    Thanks for the quick reply.
    I thought we need to handle this at config level in back end system. As per your reply there is nothing we need to do in the back end but has to be handled via portal roles.
    Is there a way this can also be addressed via back end config ?
    Kala.

Maybe you are looking for