Need Dynamic boxes position to move with scrollable text postion

I am having a problem that I can't figure out.  The textbox is scrollable and I need the boxes that are created to move according to the position of the word it is supposed to be hovering over.  I would think I could create an ENTER_FRAME listener for each siteButton and change the y position with the getCharBoundaries() of the word but I keep getting errors.  Here is the codee below:
webSite = infoBox.taNotes.text.match(regex);
    if (webSite.length > 0){
        for (var i in webSite) {
            var index1 = infoBox.taNotes.text.search(webSite[i]);
            var index2 = index1 + webSite[i].length - 1;
            var x1 = infoBox.taNotes.getCharBoundaries(index1).x;
            var x2 = infoBox.taNotes.getCharBoundaries(index2).x;
            var y1 = infoBox.taNotes.getCharBoundaries(index1).y;
            var h1 = infoBox.taNotes.getCharBoundaries(index1).height;
            var siteButton:linkButton = new linkButton();
            infoBox.buttons.addChild(siteButton);
            siteButton.addEventListener(Event.ENTER_FRAME, siteButtonMove);
            siteButton.x = infoBox.taNotes.x + x1;
            siteButton.y = infoBox.taNotes.y + y1;
            siteButton.width = x2 - x1 + 9;
            siteButton.height = h1;
            siteButton.blendMode = "multiply";
            siteButton.name = "siteButton"+[i];
            siteButton.siteLink = "http://" + webSite[i];
            siteButton.addEventListener(MouseEvent.CLICK, gotoNotesWebsite);
function siteButtonMove(event:Event):void {
    if (webSite.length > 0){
        for (var i in webSite) {
            var index1 = infoBox.taNotes.text.search(webSite[i]);
            var y1 = infoBox.taNotes.getCharBoundaries(index1).y;
            trace(y1);
            trace(event.currentTarget.name);

Dear havoc:
You leave out some details so it's not exactly clear what you want. (InDesign does have modal dialog boxes, though I don't know why you would want more of them -- generally a user interface designer tries hard to reduce the number of modal dialog boxes...)
What does it mean for text to "start on the previous line where the previous text ended"? What does it mean for "text to end"?
Are you dealing with multiple text frames?
How is your data getting from your database to InDesign?
If you are using data merge, you can just put 3 fields on the same line.
You can also do something similar with XML, though I would warn you away from that.
But probably I would just instruct the database to combine the 3 fields together on export.
So, please give us a concrete example of the trouble you're having. A screenshot would be excellent, too.
I don't think thre is any reason you would nee to upgrade from CS4 to CS5 (or CS5.5) for this.

Similar Messages

  • How do I have an image move with a text box?

    I need to embed an image within a text box so that when I add additional text in the future, the image moves with the text that surrounds it.
    For example, if I have a paragraph of text, then on the following line vertically I have an image, then on the following line another paragraph of text ... When I add additional paragraphs of text above the image, how can I have the image track down to stay between the original two paragraphs of text?

    Thanks Zak!  I figured that out but now have another problem that I just posted. The app keeps locking up when I try to export HTML or upload my site to the server. Please give me any advise on how to handle it.
    Here's my other post:
    Hi,
    I just upgraded to the latest version of Muse. I made a few changes to my site and I'm trying to export the HTML. I've now tried 3 times and the app locks up at 89%. It completes all pages, but locks up there. When I look into the Muse Export folder, there is nothing there. The window reads "Finishing export" but it stays at that point for more than an hour when I finally give up and force quit.
    Any ideas? Anyone else having this issue? Any ideas on how to get my HTML exported successfully?
    Thanks in advance for any help!
    Reply
    27 Views   2 Replies   Latest reply: amchambers,      May 26, 2013 9:23 PMWas this helpful? Yes   No
    Replies
    20 posts
    Sep 19, 2012
    1.amchambers,May 26, 2013 9:18 PM   in reply to amchambers
    Just an update. Previously I was attempting to export HTML to the Muse Export folder on my computer. I described what happened above. Now, I'm trying to publish directly to my FTP site. Its doing basically the same behavior where it exports all desktop pages (189 of them) then it locks up. However, the interesting thing is that when exporting to the Muse Export folder on my computer this said it was 89% complete. When uploading to my server, it says its 59% computer when all pages have been exported. Both options result in the app locking up and never completing the export. I did check my site online to see if the pages were really updated. I made a change to the nav bar on the master so I should see that on every page. It is not showing up online yet even though the app says all 189 pages have been exported. Still looking for help, all advice and ideas will be appreciated! I do want to get my updates online.
    Was this helpful? Yes   No
    Reply|
    Mark as:
    CorrectHelpful
    20 posts
    Sep 19, 2012
    2.amchambers,May 26, 2013 9:23 PM   in reply to amchambers
    Here's what I have when it locks up. It sits like this for hours.

  • Export H264 pass-through movie with embedded text track QuickTime Pro 7 Windows?

    Using QuickTime Pro 7 for Windows, I add a text track with closed captions to my H264 .mp4 videos. 
    The text track works great until I try to export it.  After I've added the text track, the text track is displayed as long as the track is selected to be active using the Movie Inspector track GUI.
    My movies are encoded as H264 for cross-platform compatibility, and need to remain in this format.  The only way to save them in QuickTimePro 7 for Windows is to Export Movie to MPEG-4.  I select Pass-Through mode to retain the resolution and bandwidth parameters that I initially encoded the video with.
    Unfortunately, after I export to MPEG-4, the caption track is lost.  It disappears.  When I open the newly exported MPEG-4 caption file, and select Movie Inspector, the caption track is missing.  Inspector only shows video and audio tracks.
    If QuickTime Pro 7 for Windows correctly exported my text track with the video and audio tracks, then users would be able to view the closed captions upon playback in QuickTime Player by selecting View--> Show Closed Captioning (Ctrl+Alt+T).
    Anyone been able to export to MPEG-4 pass-through movie with embedded text track QuickTime Pro 7 Windows?
    Thank you!

    Sorry here is the code
    <body>
    div id="myAlternativeContent"
    a href="videofolder/video.mov"
    img src="videofolder/video-poster.jpg"
    /a
    /div
    </body>
    videofolder/video
    Message was edited by: SFlocation
    Message was edited by: SFlocation

  • HT201269 I need to disassociate my phone number with apple texting.  Where do I do this on-line?

    I need to disassociate my phone number with apple texting.  Where do I do this on-line?

    IMESSAGE NOT REMOVED FROM OLD DEVICE
    If you have registered your device in your profile then go to: https://supportprofile.apple.com/MySupportProfile.do and click on you your old device in the profile and "unregister" it there.  If you have not registered it there change your Apple ID password.
    Read http://www.imore.com/text-issues-switching-iphone-android-heres-fix
    iMesssage to old phone
    If you move to another phone and forget to turn off iMessage then read “if you no longer have the device in http://support.apple.com/kb/HT5661  If you still cannot resolve it call Apple http://support.apple.com/kb/HE57
    Read http://m.samsung.com/us/support/SupportOwnersFAQPopup.do?faq_id=FAQ00053450&fm_s eq=62995

  • SAPscript - Dynamic box position and height.

    Greetings...
    How to print dynamic box according to the Element. I have an element with looping condition when i used box the line only printed on the first loop, but and no line printed on the next looping even though its is  different element.. Below is the sneak peak of my code.
    /E 101
    /:   BOX WIDTH 0 MM HEIGHT '2' MM FRAME 20 TW
    /:   POSITION YORIGIN '+2' MM
    W2   <B>&text&</><B>,,&zvalue&</>
    Thank you

    Hi
    it is very hard to print a dynamic box with sapscript.
    It is more easy to develop a new-smartform then to develop a dynamic box.
    i know only 1 sapscript which is using dynamic boxes. I do not know the sapscript only the fucntional name we use. That is shopfloor papers (for a production order). It has a good combination of printprogram and sapscript which both has to be working together to get it done. Try to find it and study it. Then you will find out how it works.
      There is no way to get it done with only changes in your sapscript.
    an alternative is to use tab's and '|' and ulines to make something that look a bit like boxes.
    Hope this will help you out.
    Gr., Frank

  • Aliasing effect with scrollable text frame

    Hi
    I dettect the visualization for text is so better witthout scrollable frame… do you know a trick to have anti-aliasing effect for scrollable text frame?
    is it usual this problem?

    Here, two kinds of font visualization (with png export option), with text frame (rought font) and without text frame (ok font)
    Do you've this problem?

  • I need help with a 1 Page Form with scrollable text field (5000 limit characters) and printing

    Hello, I have no training in using Adobe Acrobat Pro or Livecycle Designer so I need major help with a 1 page form that I am attempting to create. Basically the form will be used to nominate employees for a Job Well Done Award.
    The form contains the following:
    1.) The name(s) of the employees being nominated and the date of the accomplishment.
    2.) In the middle of the page I have a section for a write up, limited to 5000 characters, this is were I am needing the most help. A couple of things, about this section: The font is set at 11 and I don't want it to change. The text field has multiple-line, scroll long text enabled. The text field is a certain size and can only hold so much text, then it starts to scroll, which I am ok with, I like that feature. The issue I am having is during printing. I would like to keep the text field scrollable but when I print I would like to be able to print everything in that field. Executing this is the problem, I have no clue how to do it. I was hoping for some setting within Acrobat Pro or LiveCycle to be available, but the more I read and research this, it appears that it may require java, xml, basically some coding. I don't know for sure.
    3.) Below the text field I have another field for the person nominating to type their name and right next to that another field for a digital signature.
    4.) And finally below those two fields I have a Submit button that is setup to start email application so the form can be emailed to the proper inbox.
    Thank you in advance.

    With an Acrobat form the only thing you can do is export the text to
    another location (like a blank field on another page) or to another file
    format. With an LCD form you can expand the text box itself, but you'll
    need to ask about that over at the LCD Scripting forum.

  • Dynamic box position in SAPscript

    Hello,
    I need to put a box in the Main window after I print all line details and other things on the invoice. How can I find the current line position (Y position), so I can pass it to the POSITION command.
    Thanks
    Igor

    Hi Rich, Sam and Rob,
    Thanks for you reply. This is exactly what I need.
    I need to print totals box after the details on the same page of the invoice. The number of detail lines (and pages) is variable. That's why I have to put it in the Main window.
    Now it is printed on separate page (next page), but they want it on the same page as details if it fits.
    I was thinking about counting lines, but since there is a logo, address, headers, details, etc and all are printed in different fonts, this will be very difficult exercise.
    Any more ideas?
    Thanks
    Igor

  • Positions mass move with same position name?

    Hi All,
    1) Is there any direct way to change Organization of a Position?
    We tried performing Mass move between the organizations with the same source and target position names. But we faced the issue - 'The target position already exists outside the target organization' since the same position cannot exist in 2 organizations.
    2) We tried a changing the position name to a temporary name and then performed mass move between the orgs from the temporary position to original position. This worked to some extent - The position and the assignments having this position got updated correctly, but the position hierarchy still shows up the Temporary position name.
    Is there any solution for our issue 1? or any approach for issue 2?
    Application version is 12.1.2.
    Many Thanks in advance!

    In Oracle HRMS Positions have very strict criteria.
    1. They have to be unique within a BG. Hence you cannot have two positions with same name inside one BG even if they are in different Organizations.
    2. You cannot change the job or Organization of a position once created.
    and so on..
    what you are trying to do here violates the basic definition of position in HRMS. You will not be able to change the organization of a position and treat it as the same old position. This is functionally not correct.
    In such cases, the best approach is to have a segment for the position KFF holding the short name for the organization it belongs to. Thus whenever you want to change the organization of the position, what you actually do is create a new position, since one of the segment values changes in the position definition.
    Coming to the approaches you have tried:
    1. Mass move cannot circumvent the basic tenet of HRMS position to allow you create new position with same name but different organization. Hence this approach will not help at all.
    2. I am not sure how this happens. But as discussed above changing organization of a position will definitely cause issues somewhere or the other.

  • Help needed using CSS positioning for movie/text

    I have been deconstructing a few sites to get a better
    understanding of CSS for a simple portfolio.
    Anyway, I have a simple navigation set up in place which I
    want to place my movie next to. The problem is that I can't work
    out how to place it next to the buttons...
    The url to the site is:
    http://www.notjustthenews.co.uk/page8.html
    Once I've done that I want to place a paragraph of text to
    the right of the movie so that if you resize the browser window the
    text wraps around the movie.
    Any help would be most appreciated.
    The CSS is question is:
    #wrapper{
    float:right;
    width: 75%;
    margin: 0;
    padding: 0 3% 0 0;
    #widescreen {
    float: left;
    padding: 0px 10px 0px 0px;
    margin: 0 5px 5px 0;

    Not sure what the web forum and the news forum does with code
    these days
    but here is the complete coding/css that you need. (That's if
    it
    transfer ok)
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
    xmlns="
    http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1"><title>notjustthenews.co.uk</title>
    <style type="text/css">
    body{
    font-family: Arial,sans-serif;
    color: #000000;
    line-height: 1.166;
    margin: 0px;
    padding: 0px;
    h1 {
    font-family: Verdana, Arial, sans-serif;
    font-size: 120%;
    color: #000000;
    h3{
    font-size: 100%;
    color: #334d55;
    p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000000;
    label{
    font: bold 100% Arial,sans-serif;
    color: #334d55;
    ul{
    list-style-type: square;
    #top{
    border-bottom: 1px solid #cccccc;
    width: 100%;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    #topmenu{
    color: #cccccc;
    padding: 0px 0px 0px 10px;
    white-space: nowrap;
    #topmenu a {
    font-size: 90%;
    padding: 0px 4px 0px 0px;
    #title{
    padding: 0px 0px 10px 10px;
    #topmenu ul {
    font-family: Arial, sans-serif;
    font-size: 14px;
    #topmenu li {
    margin-bottom: 5px;
    #topmenu a:link, #topmenu a:visited {
    text-decoration: none;
    color: #000000;
    #topmenu a:hover {
    color: #990000;
    text-decoration: none;
    #seltopmenu a:link, #seltopmenu a:visited, #seltopmenu
    a:hover {
    color: #990000;
    text-decoration: none;
    #navBar ul a:link, #navBar ul a:visited {display:
    block;<br />
    #navBar ul {list-style: none; margin: 0; padding: 0;
    #navBar li {border-bottom: 1px solid #EEE;
    html>body #navBar li {border-bottom: none;
    #navBar{
    float: left;
    width: 200px;
    background-color: #eeeeee;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    #search{
    padding: 5px 0px 5px 10px;
    border-bottom: 1px solid #cccccc;
    font-size: 90%;
    #search form{
    margin: 0px;
    padding: 0px;
    #search label{
    display: block;
    margin: 0px;
    padding: 0px;
    #projectLinks{
    border-bottom: 1px solid #cccccc;
    font-size: 90%;
    #projectLinks h3{
    padding: 10px 0px 2px 10px;
    #projectLinks a:link{
    text-decoration: none;
    color: #000000;
    padding: 2px 0px 2px 10px;
    border-top: 1px solid #cccccc;
    width: 100%;
    voice-family: "\"}\"";
    voice-family:inherit;
    width: auto;
    #projectLinks a:visited{
    text-decoration: none;
    color: #000000;
    border-top: 1px solid #cccccc;
    padding: 2px 0px 2px 10px;
    #projectLinks a:hover{
    color: #990000;
    text-decoration: none;
    border-top: 1px solid #cccccc;
    background-color: #dddddd;
    padding: 2px 0px 2px 10px;
    #selprojectLinks a:link, #selprojectLinks a:visited,
    #selprojectLinks
    a:hover {
    color: #990000;
    text-decoration: none;
    #widescreen {
    padding: 0px 10px 0px 0px;
    margin: 0 5px 5px 210px;
    #widescreen object {
    float: left;
    margin-right: 10px;
    #widescreen p {
    margin-top: 0;
    </style></head>
    <body>
    <div id="top">
    <h1 id="title">notjustthenews.co.uk</h1>
    <div id="topmenu"> <a href="#">home</a> |
    <a href="#">movies</a> | <a
    href="#">audio</a> | <a
    href="#">websites</a> | <a
    href="#">reviews</a>
    | <a href="#">other stuff</a> | <a
    href="#">contact</a>
    </div>
    </div>
    <div id="navBar">
    <div id="search">
    <form action="#">
    <label>search</label>
    <input name="searchFor" type="text" size="10">
    <input name="goButton" type="submit" value="go">
    </form>
    </div>
    <div id="projectLinks">
    <ul>
    <li><a href="#">project1</a></li>
    <li><a href="#">project2</a></li>
    <li><a href="#">project3</a></li>
    <li><a href="#">project4</a></li>
    <li><a href="#">project5</a></li>
    <li><a href="#">project6</a></li>
    </ul>
    </div>
    </div>
    <div id="widescreen">
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
    name="defences" width="402" height="240" align="middle"
    id="full screen">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="movieplayer.swf">
    <param name="quality" value="high">
    <param name="salign" value="tl">
    <param name="bgcolor" value="#000000">
    <param name="FlashVars" value="vidpath=defences.flv">
    <embed src="page8_files/movieplayer.swf"
    flashvars="vidpath=defences.flv" quality="high" salign="tl"
    bgcolor="#000000" width="402" height="240" name="defences"
    align="center" allowscriptaccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </object>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text.</p>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text.</p>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text.</p>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text. This is some filler text. This is some filler
    text. This is
    some filler text.</p>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text. This is some filler text. This is some filler
    text. This is
    some filler text.</p>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text. This is some filler text. This is some filler
    text. This is
    some filler text.</p>
    <p>This is some filler text. This is some filler text.
    This is some
    filler text. This is some filler text. This is some filler
    text. This is
    some filler text.</p>
    </div>
    </body>
    </html>

  • Dynamic height in a table with scrollable content

    Hello,
    i have in a web dynpro a table. The table is scrollable. At present i have a fixed height. Is it possible that i have a dynamic height, so that the table for example has a height of 70 percents from the page.
    I try that but it doesn't work. Have any one a solution or is it not the supported in web dynpro's?
    best regards
    Markus Jura

    Markus,
    There is no way to define height of table in percents of parent container. You may only manipulate number of visible rows. For example, bind corresponding IWDTable property to context attribute of type int and change value of this attribute dynamically (in wdDoInit and/or action handlers code)
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Integrating Wordpress into Muse need dynamic height based on content with cross domain

    Since Muse doesn't currently support Blogs and Wordpress integration I have decided to use an iFrame.
    My goal is to have the height of the iframe dynamically change based on the content in my Wordpress blog. I understand this is a common issue with frames that are hosted on different domains.
    I am running into having to over compensate with a bunch of deadspace to allow enough room. Alternatively I get the horrible looking scroll bar.
    I have tried using cross site scripting, JQuery and postMessage but am having trouble figuring out how to put the proper code into Muse and Wordpress for them to communicate back and forth.
    Please, any help on this matter would be greatly appreciated.

    Abhishek,
    Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
    Inserted into head section --
    <script type="text/javascript">
       function resizeIframe(obj)
      obj.style.height = 0;
      obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
       </script>
    inserted as an html object --
    <iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
    Below is the result:
    The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
    Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

  • Need help about Post  goods movement with refernece to Inbound delivery

    Hi All,
    I am using  FMs MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT and commit to create a goods movement. I am successfully creating the MM doc and also posting.But still the Inbound delivery is open for GR.Is there any other function module or BAPI that creates GR with reference to Inbound delivery and update the document flow?Or is there any parameter in the above FM that sets the inbound delivery.Kindly provide your guidance on the same.
    Best Regards,
    Sailaja.

    I used BAPI_GOODSMVT_CREATE and it posted the GR successfully and the document flow was updated also.
    You have to use GM_code '01' and give the delivery number / item number w/o PO (if I gave the PO additionally, it also worked).
    If still your document flow is not updated then have a look at OSS note 1050944 and check your config.

  • How do I print a movie with a text track to video?

    Hello,
    How can I get the subtitles in a text track to appear on a file in iMovie or Final Cut so it can be printed to video? Or put differently, how can I render that information so it becomes a part of the video track? The best I can do is print the clip with the subtitle area intact, but the area is filled in with white. I'm using QTP7.
    Thanks!

    I'm not sure how to do this with Quicktime, but VideoLAN can do it by using the "soverlay" module with the output transcoder.
    http://www.videolan.org/
    http://www.videolan.org/doc/streaming-howto/en/ch03.html#id291629
    http://forum.videolan.org/viewtopic.php?t=14570
    Hope this helps

  • Help!  Question, how do I move an image along with the text

    New to InDesign and I'm creating a how-to brochure of sorts for my business and as I'm making edits/updates I realize I need to insert another picture at the beginning of the document.  I already have a bunch of other images throughout the document in specific places that need to remain with the text they are wrapped around.  If I try to insert a new picture at the beginning of the document and wrap the text, all of the text moves down throughout the document but the images do not.  That means none of the images are in the correct place anymore.  Is there a way to make sure if I insert a new picture or text at any place in the document all of the following images move with the text they are by?  I'm sure its a simple fix, I just can't figure it out.  Thanks.

    Look into anchored objects.

Maybe you are looking for

  • How to transfer video from hard disk to i tune?

    how to transfer video from hard disk to i tune? can any one please?? help me also in guiding if  anything else is required to be done to transfer the content to ipad....

  • HDCP error death

    I started getting the HDCP error recently and have been unable to watch any trailers and the film i rented. After calling Apple support they suggested that my Tv is not HDCP compliant. (Polaroid FLU-2632) it is a new ATV purchased in June 2012 with a

  • SQL 2005 to SQL 2012 Replication for SSRS

    I recently successfully implemented one-way log shipping from a production SQL 2005 database to a new SQL 2012 database in the hopes that I can use the 2012 database to run SSRS 2012 on it. Unfortunately, the 2012 database is kept offline since log s

  • Start up screen is blue

    My start up screen stays blue help me anyone

  • Deleting unused hyperlink destinations

    Is there a quick way of identifying then deleting unused hyperlink destinations? I have a large document with hundreds of links which are constantly being changed and updated. Is there a way I can automatically select unused destinations and delete t