Adding text to javascript pop up window

I am opening a pop up windows with javascript from my Flash
movie that works fine. Each opening window has a video in it. Now
what I'd like to do is add text under/above the quick time movie
inside the pop up windows. I'm not very savvy with programming and
I've tried to look all over but can't find a simple direct answer,
so any help would be greatly appreciated.
Thanks!
Here's the code I have inside the Flash movie:
btn_rebecca.onRelease = function() {
getURL("javascript:openNewWindow('Videos/rebecca.mov','thewin','width=500,height=400,toolb ar=no,scrollbars=no')");
And here's the code I have in the html:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures)
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
</script>

An html document is an html document. If you create a
document that has a line of text, then the QT movie, and then
another line of text, you have the basic layout of the movie. If
you just open this document in a browser, it will work as a normal
html document. If you open that same page using the window.open()
JS method, then you can define the chrome and size of the window.
If you don't want to create all 20 pages and load then on
your server, then you could write a JS function to write the
content to an html document on the fly. You might do this by:
1. Use window.open() to open up a blank html document,
2. Use document.write() to write the html content that you
want in that document.
That way you can create as many custom windows with unique
content as you want.
If all of the content is static, then it really is a whole
lot less work to just make the html documents and open them as
needed.

Similar Messages

  • I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content)

    I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content) is there a fix to this problem? using 8.1, Monitor is a high res.2560x1440.

    Another View.
    the GUI is so hard to read (so small) I enlarge my Ps UI by the instructions below...which helped a lot.

  • Javascript Pop-up window

    Hello guys. PLEASE HELP ME!
    I have the Javascript for opening a page into a pop up window
    with no toolbars, scrollers etc….
    Here is the code that I enter in the html page itself in the
    HEAD tags:
    </style></head>
    <script language="JavaScript">
    function openNewWindow(URLtoOpen, windowName, windowFeatures)
    newWindow=window.open(URLtoOpen, windowName, windowFeatures);
    </script>
    Here is the code that I enter into a button from the flash
    movie:
    on (release) {
    getURL("\r\njavascript:openNewWindow('main.html','thewin',\\r\\n'width=1280,height=980,to olbar=no,scrollbars=yes')");
    What I am looking for is that I need the popup window to open
    not by specifying WIDTH and HEIGHT as above in my script, but I
    would like the html to extend and open on a percentage way thus to
    fit any monitor.
    I tried this but it wasn’t working:
    'width=100%,height=100%
    Or
    'width=default, height=default
    I hope someone has the clue for me regarding this issue.
    Thanks a lot for your efforts,
    Beko

    Here you go....
    <script type="text/javascript">
    <!--
    function popup(url)
    params += ', directories=no';
    params += ', location=no';
    params += ', menubar=no';
    params += ', resizable=no';
    params += ', scrollbars=no';
    params += ', status=no';
    params += ', toolbar=no';
    params += ', fullscreen=yes';
    newwin=window.open(url,'windowname', params);
    if (window.focus) {newwin.focus()}
    return false;
    // -->
    </script>
    <a href="javascript: void(0)"
    onclick="popup('popup.html')">Fullscreen popup window</a>
    Thanks & Regards
    Ankur Arora
    Project Leader(Flash and Flex)
    http://flashdeveloper.blogspot.com
    let your
    thoughts fly to others... you will become rich.

  • Can you enter text into "info" pop-up window for TV Shows?

    It's not a big deal, but I was just wondering if there is a way (a script perhaps) of entering text into the little "info" pop-up window for TV Shows in iTunes? (You know the one...it pops-up when you click on the little "i" in the description box on the TV Shows main playlist)
    The show files I made myself have blank info windows of course and it would be nice to be able to enter a decent length description of the episode (the character limit in the "Description" box is so short).
    Like I said, it's not a big deal, but it would be nice to be able to enter info in there...so if anybody knows how...please let me know.
    Yhanx a lot!

    Thank you very much for your reply! I will definitely pass this along to the IT department! Smiling now!

  • FM to display full header text in a pop up window

    1 . I have a ALV report which displays first line of a headr text for a perticular sales doc.
    if i click on a header text  i should see the complete header text for that particular sales doc. in a pop up window.
    is there any FM to do so .
    please repond quickly . its urgent
    i will award full points to all attempters.

    Hi,
    For your reference-
    Re: How to create POPUP windows (from ALV report)
    You can have a look at a standard program where pop-up functionality is used.
    BCALV_GRID_AND_POPUP
    <b>Reward Points if Helpful!!</b>

  • Html tables with javascript pop up windows

    I have two tables with different table-id in html, that are as follows -
    table-header - consists of dynamic week wise days + resources
    table-data in with same nnumbers of columns...
                          for Img - http://i.stack.imgur.com/Gwvoq.png
    The Assign Task is a Button in every cell of table-data , What I need is , whent I click any button, the Pop-up window ( Kendowindow which is I m using right now in Javascript preferably) should display respective Cell row's 1st cell i.e resource's name and Id and cell column's 1st cell i.e. Date string.
    Please suggest the solutions.... Help is kindly appreciated.
    P.S. -- Please don't suggest Kendo Grid or Scheduler, because I can't able produce this kind of format, If you can do pls share your code and procedure.

    This forum is about JavaScript in PDF files, not in HTML pages.

  • Captivate 8 - submit buttons/images no longer showing on devices after adding text with javascript

    I'm working on a Captivate 8 project to publish to devices through PhoneGap. This is working successfully on iPhone and Android so far. I have modified the quiz so I have 2 types of quizzes with 3 levels each without the final score showing at the end (they have to get the answer correct to move on to the next question).  The submit buttons and image I added to each slide has been working perfectly until I added a text caption with a variable to show "Q X of 6" for each question, with X being a variable that increments by 1 for each slide and then I have another script at the end of each level to reset the variable back to 0.  This is working, however the submit button/success message and image on each slide is now not showing.  The submit button appears to still be on the screen as I can click in the same area where the it should be and it works but appears to be faded completely out, and the success message now shows so lightly I can hardly see it. My image does not show at all now.  I've checked the timeline and they are all set the same, to appear for the rest of the slide.  Any ideas?

    actually I think it might be an issue related to upgrading my Mac from Mavericks to Yosemite as the app was working perfectly before. I stripped all the javascript off and repackaged and it's having the same issue so I don't think it's the javascript. I'm going to keep looking into this.

  • Javascript pop up windows -- forces the current page to change?

    I have a really odd bug. I am testing a javascript popup window for a report. I edit the column of the report and tell it to link to a URL. For testing purposes I just put in javascript:window.open(); That takes fine. However, when I click the link in the report, it refreshes the current page, the url stays the same but the only thing I see on the page is [object]. White screen, black text. Anyone have any idea as to whats causing this? Thanks a bunch.

    Create the &lt;A&gt; like this
    &lt;A href="javascript:void(0)" onclick="javascript:fnPopup()">link&lt;/a&gt;
    or
    &lt;A href="javascript:fnPopup()"&gt;Link&lt;/a&gt;
    To achieve this I will type the following in URL
    javascript:void(0)" onclick="javascript:fnPopup()
    Note: there is no double quotes at the beggining and end.

  • How do i use variables for javascript pop up window?

    hi,
    i want to open a popup window from flash,
    as advised before i used this line :
    getURL("javascript:NewWindow=window.open('imylink.html','title','width=890,height=660,left =10,top=5,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No');
    void(0);");
    BUT, in flash, the URL that has to be open as do the height
    and wdth are stored as variable... imageURL, imageWidth,
    imageHeight, since i have quite a few different pages that have to
    open and they change. how can i use the values of the variables in
    the javascript code??
    is it possible at all?

    try:

  • How to create a pop out window?

    Can any buddy help me?
    I need a Pop Out window, that is 630Pixels X 430 Pixels...For a Flash Poll sistem
    I have search in google, for tutorials but it is just not working....
    What I being looking for, is to add like a link to a Text, and a pop out window appearing, to put a poll
    Any advice...thanks
    This is the code I being using
    </object>
    </noscript><script language="javascript" type="text/javascript">
    <!--
    function popitup(url) {
        newwindow=window.open(url,'name','height=430,width=630');
        if (window.focus) {newwindow.focus()}
        return false;
    and for the Text link
    <p><span class="style12"><a href="encuesta.html" onclick="return popitup('encuesta.html')"
        >CLICK AQUI ENCUESTA</a>

    But is the function "popitup()" actually defined somewhere? if there is no complementary script code in the head or an external JS file, naturally it won't work. And by all means, one can find a million alternate pop-up code generating tools...
    Mylenium

  • Javascript pop-ups - Classic ASP

    Anyone ever have a problem with javascript pop-up windows no longer keeping focus after upgrading to 5.0? We recently upgraded, and this is one of the quirky things that's come up...
    Wendy Ramsaur, KSA

    Found the culprit!.
    When disabling an add-on for grabbing material into TreeDBNotes - Add to TreeDBNotes 1.0 - the rest started working fine.
    The TreeDBNotes is a great word processor / database storage, that deserves more users and upgrades!

  • Passing values from javascript in pop up window to parent jsp

    Hi
    I am trying to pass values from a pop up window to the main window that popped this child window , with the idea to have the parent window refresh itself with value from pop up window.But the values are not going through.I do a request on the hidden variable but when the parent
    jsp refreshes , the variable is still null...
    The following is the code i have .
    Parent jsp:a.jsp
    <form name='summary'>
    <input type=hidden name=customerid value="">
    <input type="button" class="textButton" name="action" value="customerlist" onClick="javascript:openWin('b.jsp','800','350')">
    <script>
    function openWin(loc, w, h) {
    var newWin = window.openloc,"HTML",'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + w + ',height=' + h);
    newWin.window.focus();
    </SCRIPT>
    <%
    String optionVal = request.getParameter("customerid");%>
    var user = "<%= optionVal%>";
    </form>
    child jsp- b.jsp (pop up window)
    <script>
    function closer(){
    var val = document.formname.id.selected.value;
    window.opener.document.summary.customerid.value = val;
    window.opener.location.reload();
    </script>
    <form name = formname>
    <input type="text" name="id" value = ''>
    <input type="button" class="textButton" value="select"
    onClick="closer();window.close();">
    </form>
    Any ideas on what i am missing
    Thanks
    Arn

    use window.opener.document.forms[0].filedname.value = 'value u need to set'

  • Why are pop-up windows too small, text is being cut off. Problem is occurring with webkinz

    When I go to webkinz, the pop-up windows are too small to display all the information in the box. Text is being cut off. It works fine with Explorer. This has not always been a problem-- but is giving problems in the lat month. It occurs when you sign in, not noticeable on opening home page.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages
    See also:
    * http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    * http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings

  • This error message just began popping up yesterday: JavaScript Application - TypeError: window CloseAlert not a function.

    JavaScript Application - TypeError: window CloseAlert not a function.
    What is causing this error, can you help me fix it?
    I'm using Windows 7 , and the latest Foxfire Browser.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

Maybe you are looking for