Width of the text frame scrolling
I copied a text scrolling on the folowwing site code:
http://www.quackit.com/HTML/codes/html_marquee_code.cfm
Then I went to my InDesign document and choose Insert HTML code
and pasted the code:
I placed my own text, what a nice job... :))
But it is in a small frame:
And I want the image on the entire width of the entire page.
To increase the image manually does not work.
How can I solve this problem?
I have to add the HTML code?
Simply add a width attribute to the code, 768px 1024px landscape and portrait.
Tags: Digital Publishing Suite
Similar Questions
-
How do I get the width of the text, height frame
Hello
I am unable to find the text frame width and height using JS.
She can tell how to find values.
Thank you
Jeanmarc
Hi childsmile.
See also:
http://www.Indiscripts.com/post/2009/10/work-around-the-width-height-gap
@+
Marc
-
How mode change and get the coordinates of the text frame?
Hello.
There are two questions.
1. how to change fashion using JavaScript? writing-> selection
2. how to get the text frame coordinates?
Thank you.
1 app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;
2. f.geometricBounds (where f is your block of text).
-
If installation (Cmd + Alt + C) text the text frame moves to the upper left corner of the text block. Is there a simple way to change this?
You may need to explain why this is unexpected.
By design, (if we agree with the design decisions or not), the resize frame is "pinned" top. When it contains left-justified text it to "attach" in the top left. Center-justified pins at the top in the Center and justified to the right pin at the top right... but it's always TOP... regardless of the applied vertical justification. I don't think it can be changed.
-
Hello
I am eager to find the width of a text box and if it is longer than say 200 pixels, decrement the (points) by one font size until the width of the text box is less than 200 pixels. I guess I'm going to need some form of loop here but I have problems with this.
I have not included all my code just the important parts.
TextItem.Size = 50
TextItem.Kind = 2 (for me to find the width)
Var TextWidth = TextItem.Width
Now my thoughts for the loop are...
While TextWidth > 200
TextItem.Size-= 1
TextWidth = TextItem.Width
End while
I'm not the best programmer so don't know if the loop is just fine but my idea is that, while the width of the text box is greater than 200, reduced by one font size, find the new width of the text box, then if it's still higher than 200, repeat the process until it is less.
Is the part that I seem to have a problem with the "'TextWidth = TextItem.Width ' inside the while loop." Tests, I know that when the width of text box is greater than 200 pixels, correctly enter in the loop, decreases the font size, BUT I can't seem to find the new width of the text box. Instead, it seems to be still using the original value for the width and therefore without end of the loop.
Can someone tell me please in the direction where I'm wrong?
Thanks in advance.
This code looks like VBS (or some other flavor of VB). If VBS works in the same way javascript, change the size of the text will not change the width of the text box.
There are two types of text layers, point and paragraph text. The width property is applicable to the text of the paragraph but corresponds to the width of the bounding box of the text, not the width of the text itself.
You should be able to get the width of the text of the bounds of the text layer property.
-
I'm trying to find the coordinate x of each character in a text field. To do this, I place the text in a table and then add the text (followed by a space) in a second text field. I calculate the width of the second text field to calculate the exact position of each character in the string. My problem is that when I trace the position of each character, the line on the screen breaks do not match line breaks in my trace statement. In the trace, shown below, the letter 'e' should be the last letter in the text field, but the letters 'f' and 'g' show on the same line.
Can someone explain what I am doing wrong?
Width of the text = text 17 = a text field width = 17
Width of the text = text 18 = field for text b = 35 width
Width of the text = text 17 = c text field width = 52
Width of the text = text 18 = text field width d = 70
Text width = 17 = width of text e = 87 field text
Text width = 15 = text field width f = 2 text
Width of the text = text 17 = text field width = 19 g
Width of the text = text 18 = text field width h = 37
Text = text 13 width I'm = text field width = 50
Text width = 14 = text field width = 64 j text
Text width = 18 = text field width = 82 k text
Width of the text = text 13 = text field width l = 95
Width of the text = text 23 = text field width = 18 m
Width of the text = text 18 = text field width n = 36
Text = text 18 = o text field width = 54 width
Width of the text = text 18 = text field width p = 72
Text width = 18 = q = 90 width text field text
Width of the text = text 15 = text field width r = 5
= 16 = width of field of s text text text width = 21The error is the way in which the end of a line has been calculated.
Follow the width of each line in a text field
textFieldWidth += tf1.textWidth
textFieldWidth = textFieldWidth%tf0.widthshould have been:
Follow the width of each line in a text field
textFieldWidth += tf1.textWidth
{if(textFieldWidth>tf0.) Width)}
textFieldWidth = tf1.textWidth
} -
How to fix the text ticker scrolling of nervousness?
Hi everyone, need help to correct text ticker scrolling of nervousness. Here is my code
var ticker_text:TextField=new TextField(); ticker_text.selectable = false;//not selectable ticker_text.border = false;//no border ticker_text.autoSize = TextFieldAutoSize.LEFT;//field scales with more text ticker_text.gridFitType = GridFitType.SUBPIXEL; ticker_text.sharpness = 400; ticker_text.antiAliasType = AntiAliasType.ADVANCED; ticker_text.cacheAsBitmap = true; var my_tickertape:Sprite = new Sprite(); //my_tickertape.cacheAsBitmap = true; my_tickertape.x = 700; my_tickertape.y = 595.25; addChild(my_tickertape); my_tickertape.addChild(ticker_text); //RELOAD XML BASED ON ENTER FRAME///; stage.addEventListener(Event.ENTER_FRAME,reloadBusXML); function reloadBusXML(e:Event) { //LOAD HEADLINES TICKER TAPE tickertapexmlloader.load(tickertapexmlreq); tickertapeXML = new XML(tickertapexmlloader.data); tickertextLoaded(); } function tickertextLoaded():void { //busDetail = dataXML.busDetail; var myNewsheadlines:XMLList = tickertapeXML.headline; var i:Number; var text_to_scroll:String = ""; var myText:String = null; for (i=0; i < myNewsheadlines.length(); i++) { myText = myNewsheadlines[i].text(); //TEXT TO SCROLL text_to_scroll += myText; //BULLET DIVIDER if (i + 1 < myNewsheadlines.length()) { ///IF REACH THE LAST HEADLINE, DON'T ADD " • "/// text_to_scroll = text_to_scroll + " • "; } //ticker_text.htmlText += myText + " • " } /////////////////NEWSHEADLINES TICKER TEXT//////////////////////// ticker_text.htmlText = text_to_scroll; var ticker_text_format:TextFormat = new TextFormat();//set the formater ticker_text_format.color = 0x96CFDC;//set the color to the hex ticker_text_format.size = 24;//set the font size ticker_text_format.font = "Frutiger55Roman";//set the font type ticker_text_format.rightMargin = 15; ticker_text_format.display; //APPLY TEXT FORMATING ticker_text.setTextFormat(ticker_text_format); } //ADD THE LISTENER TO SCROLL my_tickertape.addEventListener(Event.ENTER_FRAME,move_text); //MOVE_TEXT SCROLLING FUNCTION; function move_text(myevent:Event):void { var scrolling_speed:Number = 1; my_tickertape.x -= scrolling_speed; if (my_tickertape.x < (0 - my_tickertape.width)) { my_tickertape.x = stage.stageWidth - 150; } }
Thank you
Another thing to try is to use the timer in conjunction with TimeEvent.updateAfterEvent (), but in my case it's worse Flash does not maintain framerate at all by its design so animations as it will never be perfect. If you increase the CPU and GPU, ability he can do it, but in the past I had to stop using a TTY to a large public facility because even with a top of the range Flash graphic card does not keep constant framerate.
--
Kenneth Kawamoto
-
Have two Dell optiplex home computers. The two same operating system windows 7. Use a wired keyboard and mouse and the other wireless.
On Web pages only using the same browser firefox on both pc, keyboard entry text constantly updated in a dialog box like this one and to use the scrolling of the mouse or the keyboard, the mouse has to right click on the page to reactivate the scrolling or entering text.
This most often happens on web pages than others, and the problem is the same on both PCs. Used to access the internet wireless modem.The result is very encouraging to do exactly what is suggested.
I've had the mode without failure for an hour now and there is no re-emergence of the issue of page web text of scrolling/entry so far. I'm now working my way through the process of elimination and will do the same for the other pc and report today come back later.
-
In any case to draw the width of the text?
Hi all
I use the graphics graphics card to draw text. Anyway, it is short of the width of the string to be drawn. Because I want to draw another string after that string in the same horizontal line. Thank you
Download the police, then:
defaultFont.getAdvance ("my text");
This property returns an integer.
-
How to make your table force widths to the width of the text block?
Hello
Is there a way to save a lot of time by forcing the tables to redistribute the column widths (by percentage or otherwise) depending on the size of the text box?
Currently, we resize each column individually.
See you soon
Ben
If your table is on a single page, you can enter the lower right corner (with the type tool selected) to resize all the columns proportionally. (you will see a two-headed diagonal area when you are on the right place to catch)
-
Images that exceed the width of the site without scrolling?
Is it possible to place some graphics/images, beyond the width of the site, while it appears on the screens without activating the scrolling? As a way to change the image of a picture of "background"?
The browser seems to allow to scroll to the 'include' images.
Default browser will add scroll if content extends outside the framework, that in his State, but you can customize it and remove all the appearing on the page scroll bars.
http://www.qooqee.com/Adobe-Muse-freebies?product_id=128
Thank you
Sanjit
-
Erase only the text in the text frame.
Hi all
Thank you in advance.
I want to remove the text in text frames. I want the blocks of text to keep.
After that, I need to place a word in text doc.
Can someone help me with the script.
Concerning
BG
Hello
If your goal is to remove the content of each textFrame of doc and keep them empty - I would start with this:
app.activeDocument.stories.everyItem().content = "";
Jarek
-
Problem with anti-aliasing on the text fields scrolls
I am building an application using FlashBuilder and currently running on the latest version of Mac OS x, and test my application in the anti-discrimination Act. I see the strangest problem; I have a large window, and I use scrollrect to view different parts of the window. When I set the scrollrect and it works very well, the window scrolls to the top just as you expect. But "BOLD" text on the screen becomes much more ugly after I scroll. I tried to set CacheAsBitmap on the sprite containing that scrolls, but that has no effect. It affects the text that could be in the middle of the window and just move upward, slightly; all of the characters in the text has ruined the subpixel antialiasing.
Is it a weakness known use ScrollRect? How can I work around this problem? I tried to turn on cacheasbitmap for all my sprites, but nothing has changed. I tried to set the AntiAliasType my TextField in ADVANCED, but which has also had no effect.
It is confusing to me, why the rendering is so bad after a scroll. Even when I go back to its original position (scroll down, then upward), the text is ugly. It's almost as if he shot it twice on the screen, but it's probably just a lower level of text rendering.
Any guidance would be greatly appreciated.
I've identified the problem. It is caused by a bug in my code, which is the double drawing of text on the other fields. When you have a large font size which is antialised, when you draw a second copy on the top, the aliasing allie to ruin the sweetness of the police. It is the only clue you double drew an object! Very interesting question in vector graphics, can not say once easily when you drew something twice!
-
I can't text IMPORTER in InDesign CC without the Red Cross at the bottom of the text frame.
Hello, I would like to import a manuscript of several pages, since OpenOffice Mac, in InDesign CC on online tutorials I see that all this is accomplished without problem. The import takes place directly on several pages.
But when I try, I end up with a single filled text frame, and the small red cross at the bottom of the frame indicating that the text is too long. I do not want to paste the rest of the text with the mouse page-by-page. Can you please help me!
Certainly it is stupid but I am looking for two days!
Professional in preferences > text box "smart text reflow" is checked. Or so when you import your text, hold down the SHIFT key: this will create as many pages as necessary.
-
Guy, on one of my pages on the site I do with animate I have a textfield with text. There is more text the field can hold, so I add a scroll bar to this textfield, so that the user can scroll the text. Someone knows how to do?
Thank you.
Make sure that your text is display the value always or when you select your textfield.
Example: auto.zip - Box overflow
Maybe you are looking for
-
I have the latest version of firefox to date (15/10/2014 v32) and I still get messages while on various sites Internet (Youtube, Google, Gmail), telling me that your Firefox is out of date and may contain a security risk. I have not even this message
-
Satellite Pro 6100: black border to the right of the screen
After a new installation with windows xp when I star tup I have a black border (1.5 cm) to the right of my screen.After the beginning and the end of the screen saver, I have a full screen.but when my laptop started again I have this black border agai
-
Black screen after the Windows Logo screen
All of a sudden just put off the computer. I keep trying to start it up, but just then it gets to a black screen and does nothing. I managed to get in Mode safe like twice, but when I try to access safe mode again, it gets stuck loading. What can I d
-
I'm using an EOS 7 d for 1080 p HD video shooting. New to SLR camera and digital video. I have watched several tutorials but do not yet have a good understanding of what the best practices for the development. If I put the camera in AI Servo it will
-
I have looked closely at (even vbundle) canned reports and can not find a report that you alow me to select 2 vm and compare it sΔ said last week. Any ideas would be fantastic.