Reading properties on the linked text frames
Hello
I need to be able to get the background color and a background image of a textframe help of scripts. I can't find anything in the documentation on the subject. Suggestions?
Also, I need to test if one or more linked text frames are connected to each other. Suggetions?
Thanks in advance
Bo Dudek
WebDeveloper
Mediegruppen
To test if a block of text is linked to another, use the nextTextFrame and previousTextFrame:
if (myFrame.nextTextFrame === null && myFrame.previousTextFrame === null) { // the frame is not linked to another frame }
Background color: myFrame.fillColor
Background image of a block of text: is a picture behind a block of text?
Tags: InDesign
Similar Questions
-
Block of text not threaded connection to the linked text frames
Can someone please help with a script js (for ID 5.5) that connects a textframe not threaded to those threaded. I tried
myTextFrameA.nextTextFrame = myTextFrameB;
He messes things as soon as I learned to link more than once, of course, I have to (I need a script otherwise?).
Thanks for your help.
Oops - I did not try before posting. The idea was to force the script to stop when you have selected something else, and in general a 'return' is sufficient.
Change the 'back' in 'exit (0)' he'll grind to stop as required.
-
How to remove the 'link text' of an action link
Hello world
After searching the forum and the web with no luck, I need help on this topic. I work with many reports pointing to other dashboards. These dashboards have been created in 10 OBIEE and migrated to 11.1.1.3.
What we wanted to do (and combined in 10g) should be able to click on some data (on a value of a graph, a column value in a header table) and go to an another dashboard. OBIEE 11g for this criteria-> columns-> Interaction Properties tab and selecting the action links.
11 g, when do this Action of links and clicking on a value, appears a link 'text' (screenshot: [https://picasaweb.google.com/102130000310148493868/Screenshots#5646178057282726354]), so that the user must carry out 2 clicks (the one on the value and the other in the link text).
Is there a way to delete this text link? It can be a bit boring if there is always an option and unnecessary.
Thank youHi Elena!
In the tab Interaction (in the column properties window), once you create the action, you will be just there a checkbox that says: "can't be a popup if only an action link is available during execution. Clik on the box and you're ready to go!
Please assign points if helful.
J. -.
-
I can't change the color of the linked text?
I have a black background on the side of my web page containing the menu bars, which requires that the link text is white, so it can be
view. I also changing to yellow when you go over it.The problem is that this setting seems universal throughout the site and I can't see the links in the general text (such as ' contact)
links, etc.) on each page to change color - they default to white that does not appear as the background is also white.I tried to create a CSS rule for the links in the body of a page, but nothing helped.
Can I change the color of links on different parts of the Web site?
I'm relatively new to dreamweaver with little knowledge of CSS, etc, but I don't know that this should be possible.
Yes, it is possible to have Different color links...
You look at Pseudo-classes / descendant selectors:
http://www.ThePattySite.com/linkstyles1.cfm
http://www.Projectseven.com/tutorials/Pseudoclasses/index.htm
Descendant selectors:
http://www.Projectseven.com/Tutorials/CSS/Pseudoclasses/page3.htm
Nadia
Adobe® Expert community: Dreamweaver
Unique templates CSS | Tutorials | SEO articles
http://www.DreamweaverResources.com
--------------------------------------------------
-
Changing the properties of the links of
Hello! I am trying to build a page with a project called VII mercury CSS template and have a little difficulty (I'm new to this whole CSS, because I am really migrate from iWeb!).
I changed the text I have selected in hyperlink and now I'm trying to change the color of the links and the underscore; I discovered the selection of Page Properties in the menu drop-down change and which worked very well! However, it has also changed the look of all links on the page, which is not exactly what I wanted. What should I do here?
Thanks a bunch!
-Catboy. Meow!
A set of classes of nickname for all States of your link in your CSS. (= someone .foo ' u name you want to use.)
.foo a: link {color: orange ;}}
.foo a: visited {color: red ;}}
.foo a: hover {color: green ;}}
.foo a: active,
.foo a: focus {color: yellow ;}}
HTML:
class = "foo" href = "some_link.html" > Foo color of links
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB -
Can someone help me with the properties of the multiline text field?
Adobe is not my first or second language. I have been responsible for making a form to fill out and were able to understand a little after reading the Adobe Acrobat Bible, most, however, I just can't understand this little thing that's driving me crazy! I created a large default text field (so the person filling out the form to the management a little) this field is also defined as a multiline and also make field scroll long text. The problem is that the default text is highlighted not crept to crush then tab through the various areas of creation. He puts just the cursor at the end of the text by default so using back or manually select and delete text. I looked at how to set up the rest of the fields and the only thing different, I selected the multiline text box in the Properties menu. I need to be multiline text. If this is not the case, only the first words of the default paragraph I entered couple is visible. Any suggestions or ideas would be a step ahead of where I am now. Thanks in advance.
Yesterday, we discussed a similar situation and the solution should work for you too: http://forums.adobe.com/thread/756410?tstart=0
What you do is create a Format script that displays the text that you want, when the field is empty, but this text is not the value of the field. The modified script below prevents printing explanatory text if the field is empty.
-
How to change the properties of the link?
When I do the text a link it automatically changes the color in blue and it says. I would like to change the color and remove the underline. Is it possible? Thank you
The easist is to open the window of properties in Design view, and then open the Properties Page, go to the links and change the way that you want. Explicit he will be, once you open the dialog box.
Gary
-
Setting width of the table text frame script
Hello
I need to capture my table cells within the "Width of the text frame" option with "Distribute column evenly", when it goes beyond the "width of the text frame. Is it possible by script?
by
hasvi
Hi Hasvi,
Try this.
var doc = app.activeDocument, _tables = doc.stories.everyItem().tables.everyItem().getElements(), _tfwidth, _cells, finalwidthofcell; for(var i =0;i<_tables.length;i++) { var currentwidth = 0; _tfwidth = _tables[i].parent.geometricBounds[3] - _tables[i].parent.geometricBounds[1]; _cells = _tables[i].rows[0].cells; for(var j=0;j<_cells.length;j++) { currentwidth +=_cells[j].width; } if(currentwidth > _tfwidth) { finalwidthofcell = _tfwidth/_cells.length; for(var k=0;k<_cells.length;k++) { _cells[k].width =finalwidthofcell; } } }
Kind regards
Cognet
-
Place the cursor on the link text - background fill appears
Hi, I would like to set a link style that when someone passes on a text on my page link, the bottom of the text shows a fill in a certain color. How can I do?
Here is alink example, imagine the mouse by placing the cursor on the link bgrd gray:
Thank you!
If you want to set for the text itself States, would add the code in the page of specific text that you provided as an example, because within the Muse, we cannot define States for text.
Add the code in the head section of the page to the State, something like:
in theto the head section of the page (s)
Thank you
Sanjit
-
Move URL in the link text or the text at the end of the story. Also: tables
Hello everyone
I am currently working on a script which translates by Textile Markup InDesign-formatted text. It worked well for the most part, because it is really hard to do by FindChangeByList. However, some things are a bit more complicated than the others. Namely the URL in the text. Textile, all URLs are so similar. Let's say I want to make a link to Google. So I type this: 'Google':http://www.google.com happen Google. I can isolate the word and delete the URL of ["------"](.+?) [\\\"]:\\?\\S+ and substituting $1.] So far so good.
However!
It would be great, if the URLS are still in the text. Then I would be to have as follows: Google or that the word Google (or any what $1, really) is found in the text, then the link is added at the end of the text as a sort of "Sources"-paragraph thing. ". How is that possible? I can do by FindChangeByList? Because that would be cool, because then I would just need to run a script.
And here's a general question: How can I translate Textile-Tables in InDesign Tables formatting?
For reference, it would be a table with a row of a header.
|_. name | _. age | _. sex |
| Joan | 24. e _
| Archie | 29. m |
| Bella | 45. e _
Is this possible?
Thank you very much for your help!
Hello
Ok. If you can assume that $2, it's exactly a word ==> we could edit it above like this:
//... mSource = mDoc.hyperlinkTextSources.add(mText[0].words.itemByRange(0,-2).texts[0]); mDest = mDoc.hyperlinkURLDestinations.add(mText[0].words[-1].contents); //...
Jarek
-
Help with the help of Adobe Muse CC
It may be little reason to do this, including links to page content or content used in the phone/tablet version.
Please provide the url of the site, also try to publish the site as a place to test with all the layouts that would help to isolate the problem in Business Catalyst.
Thank you
Sanjit
-
page link text disappears when the link is run
I have a page with lots of links and e-mail links on page 2 Web using Dreamweaver CS5.5. During the test, I was able to first see the text for all of the links on the page. Whenever I click on a link, the text so that it is empty, but the link works fine. After that, there is an empty space on the page where the link text had been, but when the mouse enters it, the link is displayed and can be run again. He NEVER comes back. I can't test on another computer and initially, the text is there but not after execution of the binding. It's as if the text is just sucked out of the page. Here is the link to the page that I have tested. I used Insert > Email to put in place email links and typed in links to web pages 2.
http://www.graceavenue.org/new%20Site/view/missions.htm
Where the text goes and how can I keep him?
Thank you, Susan
I can provide the source code if it would help although it is available in the view > page Source.
Here is the css of the page:
{body
background-color: #FFFFFF;
left margin: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
line-height: normal;
Color: #000;
padding: 5px;
}TD {}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
Color: #000000;
line-height: normal;
margin: 0;
padding: 0px;
make-style: normal;
make-weight: normal;
}a: link {}
color: #000090;
text-decoration: none;
do-size: 12px;
make-style: normal;
line-height: normal;
make-weight: bold;
}
{.sitelink}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
make-style: normal;
make-weight: bold;
color: #000090;
}a: visited {}
color: #FFFFFF;
text-decoration: none;
}
a: hover {}
color: #000090;
text-decoration: underline;
do-size: 12px;
make-style: normal;
line-height: normal;
make-weight: bold;
}
a: active {}
color: #000090;
text-decoration: none;
do-size: 12px;
make-weight: bold;
}{.h1}
color: #C00000;
font size: 24 PX.
do-family: Tahoma, Geneva, without serif.
make-weight: bold;
line-height: normal;
letter-spacing: 1px;
make-style: normal;
text-align: center;
}. H2 {}
do-size: 18px;
do-family: Tahoma, Geneva, without serif.
color: #C00000;
make-weight: bold;
make-style: normal;
text-align: center;
}
{.h2b}
do-size: 18px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: bold;
make-style: normal;
text-align: center;
}. H3 {}
font size: 24 PX.
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: bold;
make-style: normal;
}{.h4}
do-size: 14px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: bold;
make-style: normal;
}. H5 {}
do-size: 14px;
do-family: Tahoma, Geneva, without serif.
color: #C00000;
make-weight: bold;
make-style: normal;
}.i {}
do-size: 14px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: normal;
make-style: italic;
}.i2 {}
do-size: 12px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: normal;
make-style: italic;
}.p {}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
make-style: normal;
line-height: normal;
make-weight: normal;
Color: #000;
}
. TD {}
make-style: normal;
do-size: 12px;
do-family: Tahoma, Geneva, without serif.
}{#wrapper}
Width: 1000px;
position: relative;
margin-left: auto;
margin-right: auto;
}
{.pbold}
do-size: 12px;
make-weight: bold;
}
{.pictureright}
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
}{.pictureleft}
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}{.tdbold}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
Color: #000000;
line-height: normal;
margin: 0;
padding: 0px;
make-style: normal;
make-weight: bold;
}. SM {}
do-family: Tahoma, Geneva, without serif.
do-size: 9px;
Color: #000000;
line-height: normal;
margin: 0;
padding: 0px;
make-style: normal;
}Not too surprising, really. This is what happens when you have white text on white background links.
{body
background-color: #FFFFFF; / * It's white * /.
}
a: visited {}
color: #FFFFFF; / * It's white * /.
text-decoration: none;
}
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
-
remove the selection text box in the text block related
I chose text frames linked text frame
out of the text and I want to delete a block of text
Is it possible that an order letter
same thing by selecting the external box
Ok. Try now,
var doc = app.activeDocument; app.findGrepPreferences = app.changeGrepPreferences = null; app.findGrepPreferences.findWhat = "~a"; var found = app.selection[0].findGrep(); for(var i =found.length-1;i>=0;i--) { var ip = found[i].insertionPoints[0]; if(found[i].allPageItems[0] instanceof TextFrame) { var cont = found[i].allPageItems[0].texts[0].duplicate(LocationOptions.AFTER,ip); found[i].remove(); } }
Kind regards
Cognet
-
How to keep link text fonts to change when it is associated with an object?
Greetings. Using Dreamweaver cs5 and would like help with a simple problem.
I am discovered late text flash broke and if I change links in html format. The problem is that when I connect text to an object, another web page, the police link the two changes of fonts and colors (blue). I suspect it's maybe because I have an attached css style sheet. I guess that means that I have to change the properties of the link of the page through the page properties, which I believe is supposed to replace the css stylesheet. Appears not to be the case, I applied the changes and change of police remains. What I am doing wrong? Thanks for your help.
I think I get the question now. The links are intended to be grey, good, not blue?
In this case, you have all these styles in the linked stylesheet "subpages.css" that affect the links.
a: link {color: #0033CC; make-weight: normal; do-family: Verdana, Arial, Helvetica, without serif; do-size: 1em; text-decoration: none}
a: visited {}
color: #993366;
text-decoration: none;
do-family: Verdana, Arial, Helvetica, without serif.
do-size: 1em;
make-weight: bold
}
a: hover {make-weight: bold; color: #000000; text-decoration: none; do-family: Verdana, Arial, Helvetica, without serif; do-size: 1em}
a: active {}
color: #FF3300;
text-decoration: none;
do-family: Verdana, Arial, Helvetica, without serif.
do-size: 1em;
make-weight: bold
} -
In chrome and rekonq under Kubuntu 12.04, in all browsers including FF 24.0 under Windows 7 64 bit, ebay html editor (accessible by clicking on the 'HTML' tab next to the 'Standard' tab in the "Add a description" section of the "Edit registration" page) works as expected. For example paste a HTML from photobucket link to an image fits the link text in the editor. With FF 24.0 under Kubuntu 12.04 image is displayed, i.e. the link is followed.
However, nothing is really stuck, the image is displayed, but nothing is changed in the HTML itself. Closure of the area of editing html and return to it details unchanged content.
Paste the link into the Standard editor works as expected: the image appears in the wysiwg editor and go to the shows html editor html link was added.
Editing in the html editor works as it should, pasted from an external source links are followed instead of being stuck in.
Correction: this is not a problem with FF. Links pasted from another tab in the same instance of FF behave correctly. The problem is caused by pasting links from an external source. I don't see why links from external sources stick properly in other browsers, but of a life too short to investigate that.
Maybe you are looking for
-
I accidentally added a photo to iCaldendar
I accidentally added a photo to iCaldendar and I can not use iCalendar on my MacBoor Air. I can't delete the picture and there was a server error. The image is displayed with this header, 'the server responded with an error.
-
I let iTunes upgrade to 12.4 12.3.2 on my win 10 portable 64-bit. Subsequently, the "subfolder" which was labeled bought ' under library in my music went along with all of my downloaded music. Then I went to get my downloaded Apps and they were missi
-
After RAM upgrade on stick Satellite L30 - 10V single RAM is recognized
I just added a stick of Ram 1 GB Crucial in the L30-10 (PSL33E), but only the recognized 1 GB, the Hyundai stick (512 MB), which shipped with the laptop is no longer used by the system. I tried to pass it around, but I can only get 1 stick of RAM to
-
HelloI'm trying to built a flop flip j k as below with on the clock I always get an unstable state I'm looking for in nor I found a few j k flip.vi but it complex I find that the shift register both initially run fake and wrong in sequential logic, t
-
original title: CD BURNING! For some reason, I can not burn blank any CD songs... this weird window pop-up telling me to go download this _ that costs money! ... he wasn't there has got to be an easier way to fix this problem right?