How to resize a region in a SMIL presentation, using Javascript?

I have Quicktime player embedded in HTML page. The src is link to SMIL text on my server. The presentation works fine, but I couldn't find any way to re-size its regions dynamically, using Javascript.

Before posting, please TRY and do a search on the forum, you MIGHT find your question already asked and ANSWERED..: place a reports region on center of the page
Thank you,
Tony Miller
Webster, TX
On the road of life...There are 'windshields', and there are 'bugs'
(splat!)
"Squeegees Wanted"

Similar Messages

  • How to pass a single quote in a URL using Javascript

    Can someone tell me how to pass a single quote in a URL using Javascript. I have created a Javascript funciton in which I pass several column values from an APEX report.
    The URL for the report link I am using is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')"
    The problem occurs with the Name and e-mail columns contain a single quote (i.e. James O'Brien)

    Thank you Saad, that worked.
    Since I built the report using type 'SQL Query (PL/SQL function fody returning SQL query)' I had to add some additional quotes to get it to work.
    i.e.
    replace(EMP_EMAIL_NAME,'''''''',''\'''''')
    or
    replace(EMP_EMAIL_NAME,chr(39),''\'''''')
    Thanks for the help,
    Jason

  • How can I attach a PDF in an email, using javascript in PDF document?

    How can I attach a PDF in an email, using an interactive button in the PDF-document?
    I tried to create a form button with the menu action 'attach this PDF in an email'.
    This Send.to-action doesn't work with Microsoft.
    Does anyone has a solution by implementing a javascript-code for this in the PDF?

    Dick,
    Thanks for your replie.
    Nice alternative, but it still doesn't work on a Windows machine when the
    mail software from Microsoft doesn't react on PDF actions.
    You can do many things in Acrobat, but it is a problem when it doesn't work
    on Windows and iPad.
    So now I am looking for alternatives like  interactive magazine software
    (based on html5).
    2012/5/11 dick the flash <[email protected]>
       Re: How can I attach a PDF in an email, using javascript in PDF
    document?
    created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
    JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927

  • How to create a Document Set in SharePoint 2013 using JavaScript Client Side Object Model (JSOM)?

    Hi,
    The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
    But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
    below my code. I am using Content editor web part and attached my JS file with that :-
    <div>
    <label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
    <input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript">
       SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
    // This function is called on click of the “Create Document Set” button. 
    var ctx;
    var parentFolder;
    var newDocSetName;
    var docsetContentType;
    function CreateDocumentSet() {
        alert("In ClientContext");
        var ctx = SP.ClientContext.get_current(); 
        newDocSetName = $('#txtGetDocumentSetName').val(); 
        var docSetContentTypeID = "0x0120D520";
        alert("docSetContentTypeID:=" + docSetContentTypeID);
        var web = ctx.get_web(); 
        var list = web.get_lists().getByTitle('Current Documents'); 
        ctx.load(list);
        alert("List Loaded !!");
        parentFolder = list.get_rootFolder(); 
        ctx.load(parentFolder);
        docsetContentType = web.get_contentTypes().getById(docSetContentTypeID); 
        ctx.load(docsetContentType);
        alert("docsetContentType Loaded !!");
        ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
    function onRequestSuccess() {       
        alert("In Success");
        SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
        alert('Document Set creation successful');
    // This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args) {
        alert("Document Set creation failed" + + args.get_message());
    Please help !!
    Vipul Jain

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • How to find the font and replace another font using javascript in illustrator?

    Dear All,
    how to find the font and replace another font using javascript [batch process] in illustrator?
    i have 700 image file, it very deficult replace one by one.
    regards,
    .Suresh.S

    Ask the creator of the file for a unprotected version.

  • How to validate People Picket control at client side using javascript/Designer in New form.aspx

    Hi Folks,
    I have list library with 2 columns. where as 1 column is people picker control and it is not mandatory filed .
    When the user open newform.aspx and fill all the column values and submit it should show error message if user not enter any data in people picker control column though it is not a mandatory column.
    How to achieve this by using javascript or sharpoint designer.

    Hello,
    Here is script for that:
    http://social.msdn.microsoft.com/Forums/en-US/f1c2a651-a0fb-484d-af33-e7084439b6c8/validate-sharepoint-people-picker-using-javascript?forum=sharepointgeneralprevious
    http://ankursharepoint.blogspot.in/2012/10/javascript-validation-of-people-picker.html
    Edit your newform.aspx page and add content editor webpart on that page. Then add script on HTML source section.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to Insert user selected files as list attachment using JavaScript?

    I could able to Inset list items using ECMA Script, But for the user added attachment how to save it to list item.
    Please help

    check the similar post
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3d92510f-f966-45b2-989d-734ba21c5ce5/how-to-attach-file-to-list-item-using-javascript-in-sharepoint-2010?forum=sharepointcustomizationprevious
    More links
    http://sharepoint.stackexchange.com/questions/88487/using-sharepoint-client-api-to-upload-file-as-attachment-in-javascript
    http://sharepoint-community.net/forum/topics/copy-attachments-of-sharepoint-list-item-to-a-document-library

  • How to get text from column  labels in pivot using javascript?

    Hi, is it possible to get text from column labels in pivot using javascript? How?

    You don't get a response from a URLRequest, you get the response from a URLLoader:
    View this sample page for URLRequest and URLLoader and I think it'll make more sense to you.
    http://help.adobe.com/en_US/air/reference/html/flash/net/URLRequest.html#URLRequest()

  • How to resize the Region's width

    Dear all,
    i am using apex 4.2.2 , oracle database 11g R2, internet explorer 9.
    i have created a region in HOME Tab for navigation menu.
    but its width is covering the width of whole page.
    how could i resize the width of the navigation region?
    Thank you so much.

    Hi Maahjoor ,
    you can set height with same code,
    just check with the different style properties
    in Region attributes put the below code.
    style="width:300px;height:200px;"
    Regards,
    Jitendra

  • How to: Resize a rows height in a table using acrobat 9 pro?

    I'm working on a government grant, with many tables that need to be resized in order to fit the required information. Can anyone help me?

    PDF isn't a word processor like file format -- so, a "rebuild edit" to a table is a "You Don't".
    As to form fields, Acrobat provides one with the ability to edit Acrobat form fields (if the form / file is not protected).
    But, changing a grant form is likely to result in its being rejected by the originating organization.
    Basically, you want to speak with the organization that you will submit the form to.
    It may well be that you are trying to put 2 tons in the 1 ton pickup (less might be ok & actually expected).
    Or, it may be that, unknown to the organization, the PDF form is hosed.
    If so, communicating with the organization may well be a good thing.
    Be well...

  • How can you change individual words in a PDF using javascript?

    Hi,
    I am trying to do some simple text replacement in a PDF file using Acrobat. Specifically, I want to do some simple transliteration of words or partial transliteration. For instance, I would like to change a word like "red" to "ρed". This is to help me get used to the Greek alphabet step by step.
    Anyway, I downloaded Acrobat and there is no feature to do a single letter search and replace -- only word replacement. I have a Computer Science degree and decided to investigate the javascript capabilities to see if I can make those a simple letter replacement script. However, I have gotten to the point where I can cycle through every word in the PDF (using functions like getPageNthWord), and I can make a replacement on the string returned using something like: val.replace(/r/, "ρ"). However, I don't know how to replace the word in the PDF file....such as with a hypothetical function setPageNthWord (which does not exit). I have found the online documentation very thin on this, and I am scratching my head. Perhaps, it is something to do with the PDF format that I do not understand. So, is there a way to simply change text of a PDF file, like I am asking? All I am looking for is simple script to change a letter to another across a PDF.
    thanks if you can help
    Justin

    JS can't edit the text in a PDF file directly. There are workarounds, like
    using a redaction with overlay text or simply placing a new field or
    annotation on top of the old text with the new one, but they are all far
    from perfect and won't cause a "reflow" of the document, so if the two
    texts are not of the same length the result will look odd. Also there's the
    issue of which font to use (font family, color, size, etc.), which JS can't
    know so you'll have to tell it.

  • How to fit the images within textframe in indesign using javascript?

    Hi,
    We are using the update script for updating the values in table.
    If i am using images within textframe, the table is not fitting after updating it. Without using images the table is fitting.
    First i have dragged the table in Indesign document. Then i have altered the image size and updated the table using Update script.
    Finally i want to fit the table with the resized images.
    Note: I can get the updated values in table . but i cannot get the resized images.( Now i can get the original image after updating the table)
    Please help me if anyone has idea regarding this issue.
    Thanks,
    Vimala L

    Hi,
    Please find below the Update Script,
    var myDocument = app.activeDocument;
    var updateOption = app.scriptArgs.get("updateOption");
    main();
    function main()
    if(updateOption=="UPDATE")
      UpdateLink();
    function UpdateLink()
    myDoc = app.activeDocument;
    myLinks = myDoc.links;
    for (j = myLinks.length - 1; j >= 0; j--)
    myName = myLinks[j].filePath;
      var ext =  myName.substring(myName.length-3,myName.length) ;
    if (myLinks[j].status == LinkStatus.linkOutOfDate)
    myLinks[j].update();
    After running this script i cannot get the image in table.
    While running the Fitting script followed by Update script i am getting the Original size of the image. But i want the re-sized image in table.
    Fitting Script:
    var textFitoption= app.scriptArgs.get("textFitOption");
    var imageFitoption= app.scriptArgs.get("imageFitOption");
    var tableFitoption= app.scriptArgs.get("tableFitOption");
    main();
    function main()
      IterateDocument();
    function IterateDocument()
      for(myCounter = 0; myCounter < app.activeDocument.activeLayer.textFrames.length; myCounter++)
      myStory = app.activeDocument.activeLayer.textFrames.item(myCounter);
      FitPageItem (myStory);
    function FitPageItem (mySel)
      if(mySel.associatedXMLElement!=null)
    if (mySel.constructor.name == "TextFrame")
      if(mySel.associatedXMLElement.xmlAttributes.itemByName("IMAGE_FILE")==null)
    mySel.parentStory.clearOverrides();
      mySel.parentStory.appliedCharacterStyle = app.activeDocument.characterStyles.add()
      mySel.parentStory.appliedCharacterStyle.remove();
    //Fit all inline Items
      graphicItems = mySel.allGraphics;             // I cannot get the graphicItems.
      for(g=0;g<graphicItems.length;g++)
      if(imageFitoption=="Fit Frame To Content")
      graphicItems[g].fit(FitOptions.frameToContent);
      else if(imageFitoption=="Fit Content Proportionally")
      graphicItems[g].fit(FitOptions.proportionally);
      }//for
      }//Has image_file attr
      }//is text frame
       if(mySel.associatedXMLElement.markupTag.name=="products")
      if(IsImageEmbeddedInTable(mySel)==true)
      xmlElem = mySel.associatedXMLElement;
      mySel.placeXML(xmlElem);
      }//if products
    function IsImageEmbeddedInTable(mySel)
      for( var j = 0; j< mySel.tables.length ; j++ )
      table = mySel.tables[j];
      for( var i = 0 ; i< table.cells.length ;i++ )
      cell= table.cells[i];
      cellElement = cell.associatedXMLElement;
      if(cellElement !=null)
      if(cellElement.xmlElements!=null)
      if(cellElement.xmlElements.count()>0)
      if(cellElement.xmlElements[0].xmlAttributes.itemByName("href")!=null)
      return true;
    Thanks,
    Vimala L

  • How to disable the print option in A. Reader (using JavaScript)

    I need be able to disable the print option from JavaScript code. I know that the print option can be disabled in the
    "File > Form preferences > PDF Security" option in the main menu but i need to do this from a script into the document (
    preferably using the JavaScript language).
    Thanks in advance!
    Dan

    HI!
    I have the same problem =)
    I have fixed this issue using the "app.fs.isFullScreen = true;" statement.
    Doing this you don't see toolbar anymore.
    You can use "hideToolbarButton" instruction and, maybe, you can obtain a more interesting result.
    Below there is a very interesting document:
    http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
    I'm sorry for my poor english :-)
    Bye,
    Roberto (from Italy)
    Ps= Do you know how I can obtain a list of required fields in a form?
    thank's!

  • How to change the print page setup in IE using javascript

    dear all,
    I want to take print out envelope paper size, so i want to chnage the page setup in IE
    i want to change the print page setup in IE using javascript

    I think, you can do this using CSS.
    http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html

Maybe you are looking for

  • Template Datafile Location issue

    Hello, I previously created a new database template based on an existing database. I later deleted this template i created. Now when i attempt to create a new database with the DBCA using ANY template, i.e. General Purpose etc, i receive a DBCA scree

  • Unexpected Warnings in JDeveloper 10.1.3

    I have folowing warnings i output console. I know it's possible to dispose it. How can I do it? 2006-11-13 23:14:15 com.sun.faces.config.rules.ConverterRule end WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null) 2006-11-13

  • Opening Adobe form after editing on an ipad

    I created a form in Acrobat on my Windows PC and emailed it to a colleague to fill in on an Ipad (in Adobe Reader App) in front of customers.  He has done this and sent it back to me via email.  I am able to view it on my ipad from the email, opening

  • 3D Toolkit save setting

    Hello I have a problem, with a Acrobat 3D file. A line of an edge disappears when I save it in 3D Toolkit. ex. Acrobat 3D → 3D Toolkit → Acrobat 3D Will there be any problem for save setting?

  • Hyper-V on Windows 8 why SLAT requirement?

    When I saw that Hyper-V will be available for client OS I was very excited, and that would be my "No.1" reason to upgrade to Windows 8. Reading the Microsoft article Client Hyper-V and their "declarations" like "Client Hyper-V provides the same virtu