How can I control text color in a template?

Hi,
I've got a template I'm using to control a simple text
navigation menu. The menu is not even a list, it is just the
following text with links applied:
Page 1 | Page 2 | Page 3 | Page 4 ....etc
All the pages on my site use this template to control the
order in which pages appear in the navigation menu. The color
(a.link, visited, hover, and active) is controlled by css styles.
What I want to do is make the "Page 1" text a certain color when
the user is on Page 1, make the "Page 2" text a certain color when
the user is on Page 2, and so on. However, since I cannot edit any
of the individual pages (e.g. cannot apply a class style to
individual "Page x" text links) due to the fact that they are
controlled by a template and are not editable regions, I can't seem
to apply a certain color to the appropriate text link for the
corresponding page (i.e. can't make the "Page 1" text a certain
color only on Page 1). If I make the navigation text links an
editable region than I loose the ability to update those text links
via the template, so that's not an option. I fooled around with the
"Make Attribute Editable" tool, putting div tags around my text
links (<div class="text_color">Page 1</div>...I also
tried it with span instead of div), but couldn't get that to work.
Does anyone know how I can do this? Basically, I just want the user
to have a visual clue as to what page he's on while still being
able to use a template to create the pages (and residing navigation
menu).
Thanks so much.

NO NO NO NO NO!
Never make your navigation editable or you will shoot
yourself in the foot
when it comes time to change a link there and you would have
to touch every
page. <sheesh>
Give each of those links a unique ID, e.g.,
<a href="page1.html" id="link1">Page 1</a> |
<a href="page2.html"
id="link2">Page 2</a>....
Then in the head of each child page, add this to the Editable
Region called
"head" -
<style type="text/css">
a#link2 { color:whatever; otherstuff:whatever; }
</style>
Now you would just edit the embedded stylesheet to change
a#link2 to a#link3
or whichever button you wanted to affect on that page.
Alternatively, you can go here -
http://www.divahtml.com and get
their
DivaGPS extension.
DO NOT MAKE YOUR NAVIGATION EDITABLE.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"malcster2" <[email protected]> wrote in
message
news:ga5dev$e89$[email protected]..
> make those links editable regions on the template, and
apply the
> neccessary styles in the individual html pages

Similar Messages

  • How Can I Control Format & Color Of Text Links?

    iWeb appears to colorize and/or box or underline link text according to its own "uncontrollable" set of criteria.
    How can I control the color of a text hyperlink and turn automatic link underlining OFF?

    you CANNOT do that in iWeb. there are the following ways around iWeb which solve it:
    http://www.rowan-cottage.co.uk/Site/CSSiniWeb.html
    im bringing up a video tutorial soon, so check my site in the future!
    max

  • How can i control background colors with items (registry.dat)

    Hello Evry one.....
    plzzzzzzzzz help.
    how can i control background colors with display items
    in registry.dat
    like app.ui.requiredFieldvABGCOLOR=255.0.0
    how can i control background colors with others items ????
    thanks.

    The iPhone has a "remote" app that lets you control Keynote on a Mac, but not on another iOS device (iPhone/iPad/iPod Touch).
    There are some apps that let you control limited content on another iOS device - but the content has to be within the app. You might check out SyncPad - perhaps you can import the presentation into it and then control it on the iPad.

  • How can i change backgroud color of global template in fusion cloud?

    Hi all.
    someone of you could help me?
    How can i change backgroud color of global template in fusion cloud?

    Hi.
    Making CSS changes like this is currently only possible off-line, using the JDeveloper-like Skin Editor. This is described in our blog post here, a demo on our YouTube channel in this video, or the product documentation here. Coming soon is an online 'theme editor' feature which allows this kind of customization online. I would recommend that you raise a request with the Cloud Operations team to verify if they support the addition of custom skin files, otherwise you are limited to the online branding options currently available.
    Kind regards
    Richard
    FA Developer Relations

  • How can i Change Text Color in table

    How can i change the text color i table, the true becoming GREEN, and the text in Fals becoming RED.
    Someone can help me to resolve this problem with a sample, because when i run the program all text becoming green in (TRUE) and than when i chang it to the (fals) all becoming Red.
    Attachments:
    Color.vi ‏38 KB

    Modifying the properties of a control in a subVI do not modify the properties of a different control in the main VI. The data is the only thing passed back from the subVI. To modify the properties of the table in the main, you need to pass a reference to it to the subVI and modify it's properties. I've attached a modified llb that does what you want.
    Attachments:
    Main_color_Table_mod.llb ‏41 KB

  • How can I parse text color from PSD

    Hi all, I am writing a parser of PSD in Java, but I just can't find the color of each character; I thought they were in Additional Layer Information of Layer and Mask Information Section. I have a text layer with a string, and each character has different color.
    Please help. thanks.

    Modifying the properties of a control in a subVI do not modify the properties of a different control in the main VI. The data is the only thing passed back from the subVI. To modify the properties of the table in the main, you need to pass a reference to it to the subVI and modify it's properties. I've attached a modified llb that does what you want.
    Attachments:
    Main_color_Table_mod.llb ‏41 KB

  • How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)

    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    3° Ive created buttons linking pages..
    - "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'
    - what should i do?
    5° Once i export it into Swf. how how can i visualize it? or put it online?
    Thank you for your time.

    stlbbl4u wrote:
    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    You should setup Object Styles - these can also include Paragarph Styles that can be triggered when the Style is selected.
    http://help.adobe.com/en_US/indesign/cs/using/WS5CEDB81A-0011-4dc9-9DE8-AC7AD4C80076a.html
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    I'm not sure what you mean - I don't do files with Animations
    3° Ive created buttons linking pages..- "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    Does it work properly when you export it to the finished file?
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'- what should i do?
    InDesign won't link directly to youtube videos. I think your best bet would be to use Downloader to download the video and embed them directly in Indesign.
    5° Once i export it into Swf. how how can i visualize it? or put it online? 
    Thank you for your time.
    You can look up how to embed a SWF file into your HTML - but it depends what you mean by "online" there's a dozen ways to get a file "online".

  • How can i change the color of the text bubble and change my name instead of having verizion at the top

    how can i change the color of my background on my texting and the bobbles and instead of having verizon at the top i was told i could have my last name

    You cannot.  Customizations such as those are not available in iOS.

  • How can I get Multi-color text it a swing componet?

    How can I get Multi-color text it a swing componet?
    I've tryed JTextPane and JEditorPane.
    If they support having text in more then one color then I don't see how.
    I want to make a color-coded Java editor in Java, but I can't color-code if I can only have one color.
    JComponent.setForeground(Color fg)
    is not what I need.
    maybe Java doesn't support it yet.
    but I hope it does.
    Please help, thanks.

    Hi,
    I've made you a little example with a coloured JEditorPane and JTextPane:
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ColorDemo extends JFrame {
         public ColorDemo() {
              super("ColorDemo");
              // coloured JEditorPane
              JEditorPane editorPane = new JEditorPane("text/html",
                   "<FONT color=red> This </FONT>"+
                   "<FONT color=blue> is </FONT>"+
                   "<FONT color=green> a </FONT>"+
                   "<B> JEditorPane </B>");
              editorPane.setPreferredSize(new Dimension(250, 150));
              // coloured JTextPane
              JTextPane textPane = new JTextPane();
              textPane.setPreferredSize(new Dimension(250, 150));
              Document doc = textPane.getDocument();
              Style def = StyleContext.getDefaultStyleContext().
                   getStyle(StyleContext.DEFAULT_STYLE);
              try {
                   StyleConstants.setForeground(def, Color.blue);
                   doc.insertString (0, "This ", def);
                   StyleConstants.setForeground(def, Color.red);
                   doc.insertString (5, "is ", def);
                   StyleConstants.setForeground(def, Color.green);
                   doc.insertString (8, "a ", def);
                   StyleConstants.setBold(def, true);
                   StyleConstants.setForeground(def, Color.black);
                   doc.insertString (10, "JTextPane", def);
              } catch (Exception e) {}
              JPanel contentPane = new JPanel();
              contentPane.add(textPane);
              contentPane.add(editorPane);
              setContentPane(contentPane);
         public static void main(String[] args) {
              JFrame frame = new ColorDemo();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              frame.pack();
              frame.setVisible(true);
    }Hope this helps,
    Kurt.

  • How Can I write text in color

    Simple use for text output is System.out.println("Hallo");
    But how Can I write text in different color?

    http://www.javaworld.com/javaworld/javaqa/2002-12/02-qa-1220-console.html

  • How can i make text in 4 colors??

    Hello
    i'm making a short film in "premiere" and i want to add some text effect
    so i using "after effect" for the text effect...
    my question is how can i make text in 4 colors (which each letter get 1 diffrent colors from each corner)
    i know how to do it in the premiere  but i couldnt find this option in after effect
    Thanks

    Select the text you wish to adjust with the Text Selection tool. 
    Click on the text colour box in the Text Pallete and select a colour.
    Repeat with each new section of text.

  • How can I control slide layout choice?

    Hi guys,
    My question is this - how can I control what slide layout Presenter chooses when it inserts the quiz questions? I use PowerPoint 2010 and I want to know if there is some way I can control the choice Presenter makes so I can setup/create a P'Point template.
    Advice appreciated.
    Carl

    Hi,
    I've been through the Appearance tab and I understand what I can do there, although I am interested in your comment 'you can change the shape and color of the feedback captions on the slide itself' - how do you do that because I have not seen anything to make that change (unless you mean to go to P'Point and change the boxes on the slides there).
    The attached graphic shows what I want to be able to change. I have reduced the size of the boxes shown but when the quiz is published the font style and size is always the same so that the text comes out cropped or hidden.
    I hope this makes it clearer.
    Thanks

  • How can I control selection on a PDF

    I have Acrobat Pro 9 Pro build 9.4.6 and am constantly exporting documents from indesign to .pdf, and also building docs in the 'combine' feature from mixed pages. 
    While everything seems to go reasonably well, I have a few problems that are due either to my ignorance, or bugs.
    1.  The biggie; How can I control what I select, for the purpose of copying, moving and deleting?   When I drag the touch-up object tool over my selection, it selects what it wants to most of the time; sometimes it selects (i.e., puts a light blue box around) the entire page, instead of my selection (no pages are scanned).  There are very few instances when I get exactly what I want; there are usually a few lines above or below, no matter how careful I am in my selection.  The funny thing is that this is not a constant; sometimes, the tool works perfectly!  and I have my heart in my mouth every time I really need it to work, hoping that it will not force me to go back to Indesign to make minor corrections.   Perhaps my problems are connected to options I select when exporting my indds, but I've tried checking, clearing, and selecting various combinations and nothing seems to work.
    Sometimes, the text selection tool is strange; a wide blue swath develops over the selected text, even though it is still usually possible to  edit the text in this condition.  And BTW, is there anything to do about the fact that some text can't be edited at all because a suitable font replacement can't be found?  Can't a font be added somehow that will take care of this?
    2. Headers and Footers; fairly effortless, but if the footer contains two rows and I want them centered, the second row looks centered in the preview but not in the doc.  I have to go back to the footer dialog and guesstimate how many spaces to place before the second row to get it to look centered.  Also, is there any way to place a logo in a header?  That would be one of my requests for the next version of Acrobat, if not.
    3.Hyperlinks; they don't always work,even though I check Hyperlinks in the Export settings.  Sometimes yes, sometimes no.
    4.  Typwriter toolbar; it also seems to offer font and size changes whenever it feels like it, and I've tried all different orders of typing, selecting, etc.

    It's me again, sorry!  I wanted to save what I'd written, and my message popped up to the board.
    Thank you for any advice anyone has!
    PS  My indd and acrobat are the same version, as they came in the same package (CS4).  Windows XP sp3.
    Oh, one more thing I just remembered, as long as I'm complaining; sometimes if I place an object (the logo) and copy it to another page, it disappears on the original page, as if I've cut it.  Any fix for that?  (strange how I can edit tmy 'reply' but not my original post...well, at least I found where to ask a question fairly quickly!)

  • How can I wrap text in a pie in pages?

    How can I wrap text in a pie in pages?

    If you need to insert text into a shape like a pie wedge, the easiest way might be to simply use the shape - freeform tool (at the bottom of the shape menu) and create a shape and type your text in it then place the shape over your pie wedge. The text within the shape should wrap - additional controls for text can be used with the Text Inspector.
    You can edit the actual shape with Format Object > Make Shape Editable option but unfortunately, you have an option to make straight or smooth curves, but not both, so you'll need to shape the object using smooth curves and use the the bezier controls that appear as you select a control point.

  • How can I adjust text size in ibooks dictionary?

    How can I adjust text size in ibooks dictionary?

    Hello Eoradec2012,
    It sounds like you are using the Define function in iBooks and you are wanting to increase the size of the font on the page showing the definition. The size of that text can be controlled in the Text Size section:
    To adjust the font size, follow these steps:
    Go to Settings > General > Text Size.
    Drag the slider to the preferred size. The text on the screen will adjust as you move the slider.
    iOS: Adjusting the font
    http://support.apple.com/kb/HT5956
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

Maybe you are looking for