Controling link colors in javascript

I have 3 links next to each other, one is the addtoany social bookmark (code below, inserted with web maestro), one is an html snippet and one is an iweb link. The link colors do not match (such as visited). How do you control the link colors in code like below? link, hover, visited, etc. Don't assume I know anything...lol. I did try some standard HTML, but that did not work. Is there a javascript approach?
Is there a more appropriate web site to ask javascript questions?
THanks
Bob
<!-- AddToAny Button Begin --><<a class="a2a_dd" href="http://www.addtoany.com/share_save" <style="text-decoration:underline;font-family:Trebuchet MS;font-size:16px;"<title="Share or save to social networking sites, Email to a colleague or Bookmark this page" <>Share / Email / Bookmark<</a><<script type="text/javascript"><a2alinkname=document.title;<a2alinkurl=location.href; <a2ashow_title=1;<a2a_color_main="CCFFFF";<a2a_color_border="669999";<a2a_color_link _text="000000";<a2a_color_link_text_hover="333333";<a2a_colorbg="99CCCC";<</script><<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"><</script><<!-- AddToAny Button End -->

no responses, but removed from open questions.

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

  • OT: JavaScript Question (Remote Control Linking)

    I retrieved a really cool JavaScript function from a trashed
    website,
    but it's only partially functioning, and I can't figure out
    what the
    solution is - though it's probably pretty simple.
    Imagine a web page named World.php that features a series of
    JavaScript
    pop-up links that look like this:
    echo '<a href="javascript:;"
    onclick="MM_openBrWindow(\''.$BaseURL.'/1A/inc/Pages/World/children/na.php\',\'IRNA\',\'s crollbars=yes,resizable=yes,width=175,height=250\')">Pop</a>';
    I think the following, retrieved from the head section, is
    the script
    that powers it:
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    //-->
    </script>
    When you click that link, a tiny pop-up opens. It's
    resizeable, and you
    can drag it across the screen. You can even open multiple
    pop-ups and
    leave them laying around until you need them.
    Each pop-up features a PHP/MySQL query that displays a list
    of nations,
    with each name hyperlinked. For example, the U.S. pop-up
    displays a list
    of the 50 states. If you click on a linked item, the pop-up
    remains
    unchanged. Instead, the MAIN PAGE is forwarded to the
    appropriate URL. I
    refer to it as a "remote control" script, though I don't know
    if there's
    a standard name for it.
    Anyway, the pop-ups work fine, but when I click on a link on
    a pop-up,
    nothing happens. This is an example of a pop-up link:
    <a href="javascript:;"
    onclick="opener.location='/World/Canada'">Canada</a>
    Can anyone deduce what the problem might be? My best guess is
    that I
    need to add some sort of onload function to the body tag on
    my main page
    (World.php).
    Thanks.

    What is the code IN THE POPUP page. That's where the target
    for the link
    therein would be set.
    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
    ==================
    "David Blomstrom" <[email protected]> wrote
    in message
    news:[email protected]...
    >I retrieved a really cool JavaScript function from a
    trashed website, but
    >it's only partially functioning, and I can't figure out
    what the solution
    >is - though it's probably pretty simple.
    >
    > Imagine a web page named World.php that features a
    series of JavaScript
    > pop-up links that look like this:
    >
    > echo '<a href="javascript:;"
    >
    onclick="MM_openBrWindow(\''.$BaseURL.'/1A/inc/Pages/World/children/na.php\',\'IRNA\',\'s crollbars=yes,resizable=yes,width=175,height=250\')">Pop</a>';
    >
    > I think the following, retrieved from the head section,
    is the script that
    > powers it:
    >
    > <script language="JavaScript"
    type="text/JavaScript">
    > <!--
    > function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    > window.open(theURL,winName,features);
    > }
    > //-->
    > </script>
    >
    > When you click that link, a tiny pop-up opens. It's
    resizeable, and you
    > can drag it across the screen. You can even open
    multiple pop-ups and
    > leave them laying around until you need them.
    >
    > Each pop-up features a PHP/MySQL query that displays a
    list of nations,
    > with each name hyperlinked. For example, the U.S. pop-up
    displays a list
    > of the 50 states. If you click on a linked item, the
    pop-up remains
    > unchanged. Instead, the MAIN PAGE is forwarded to the
    appropriate URL. I
    > refer to it as a "remote control" script, though I don't
    know if there's a
    > standard name for it.
    >
    > Anyway, the pop-ups work fine, but when I click on a
    link on a pop-up,
    > nothing happens. This is an example of a pop-up link:
    >
    > <a href="javascript:;"
    >
    onclick="opener.location='/World/Canada'">Canada</a>
    >
    > Can anyone deduce what the problem might be? My best
    guess is that I need
    > to add some sort of onload function to the body tag on
    my main page
    > (World.php).
    >
    > Thanks.

  • IWeb & Link Color

    My default link color appears as red. This applies to any "page links" that show at the top of the page, as well as internal links like links that I put in my blog entries.
    Is there a way to change the default link color? It seems like it is a very basic necessity to a website to have link colors that actually correspond to the website.
    Thanks!

    So there is a way to access the source code of what I build in iWeb? Not that it is fun to have to change things manually, but if that is a solution then I'll take it.
    iweb navbar css is rendered by javascript widget and the code is in the page source.
    you can change it if you like, but it isn't practical because you have to post edit every time you publish your site.
    I did run a forum search before posting this, but oddly enough what I found I could only view the original post and no replies - so it didn't do me too much good.
    the link in my previous post was to lay out all the possible method, you pick your poison and acquire the needed knowledge, except for method #4.
    Sad that Apple would leave out something as basic as changing some generic website preferences like link color. That makes me a bit wary about actually using iWeb for large-scale projects :-\
    give them feedback: http://www.apple.com/feedback/iweb.html
    that said, navbar is the simplest of iweb widgets; just about everything in it can be changed with ajax and javascript, see this thread:
    http://discussions.apple.com/thread.jspa?messageID=11431458

  • Visited link color...

    Howdy - Can the color of visited links (when using search engines) be changed from the default purple? I found that option in Camino, but don't see it in Safari. Thanks!

    You need to use a CSS style sheet.
    Select it in Safari preferences, advanced.
    Here is a sample. Save the following 5 lines as plain text, with the extension css. For example, Safari_colors.css
    focus { outline: 1px dotted invert }
    a:link { color: #990000; text-decoration: none; }
    a:link:active { color: #CC0099; outline: gray 1px dotted; }
    a:visited { color: #0000FF; text-decoration: none; }
    a:visited:active { color: #006699; outline: gray 1px dotted; }
    If you put the following javascript in your bookmarks bar, you can see all the color by selecting that bookmark.
    javascript:t='';c=new%20Array('00','33','66','99','CC','FF');for(i=0;i%3C6;i+)%7Bt+='%3Ctable%20width=100%25%3E';for(j=0;j%3C6;j++)%7Bt+='%3Ctr%3E';for(k=0; k%3C6;k++)%7BL=c%5Bi%5D+c%5Bj%5D+c%5Bk%5D;t+='%3Ctd%20bgcolor='+L+'%3E'+L%7Dt+=' %3C/tr%3E'%7Dt='%3C/table%3E'%7D;with(document)%7Bwrite(t);void(close())%7D

  • Can I control an Applet via JavaScript?????????????

    Please Guys! Can I control an applet via JavaScript?
    How????????????
    Thanks
    Renato

    Great to see you back, bbritta! Problems with the
    reauthentication stuff?The reauthentication was just another annoyance. I was getting fed up with answering posts for a variety of reasons (mostly because I don't have the patience you seem to have).
    I got assigned to modify some old ColdFusion code. I thought it would be a nice change of pace having never done it before. Yick... Gak... I should have started over with JSP's, but the user insisted they wanted the old code modified. I have never seen so much cut and paste coding in my life. They actually got hold of the old developer and he was so proud of his code that I didn't have the heart to tell him what I thought of his efforts.
    Anyway, a couple of weeks ago, I ran into a problem with an applet I wrote about a year ago and wanted to search the bug database. I reauthenticated fairly easily, but found out nothing had changed.
    A couple of days ago, there was a post in advanced topics asking if the forums were any use. I saw Dana respond and I thought it might be a chance to discuss some of the problems I saw with the forum. I came back to see if there was any response, but it looks like there will never be any meaningful discussion between Sun & the members about the forums.
    I have tried for a couple of years to just post a link to a search page if the answer could be easily found by searching. It seemed like a better thing to do than just saying 'Do a search!' I'm not sure anybody gets it though.

  • Link color problem

    I am trying to figure out how to change the color of a set of a links on my page using CSS. Here is what is going on:
    The link colors are currently set using the "Page Properties" button in DW, they are orange in color. I have a group of links that are listed on the left hand side of the page. Because of the background graphic, the orange color doesn't look good. I want to change it to a lighter color, such as white. I changed the color in the CSS style for these links to white (#FFFFFF). The show up correctly in DW but not in IE. I have IE6 on the computer I am designing on and IE8 on the system the site is goig to be on. It looks like these links are inheriting the orange color and I want to stop this. Thanks!

    What are the links on the left hand side of your page contained in, i.e, are they in a <div> or a table?
    To control the color of specific links you have to target them.
    As an example say I have a link in a <div> container (like below)
    <div><a href="welcome.html">Welcome</a></div>
    I would give the container <div> an 'id'. (I've chosen 'leftLinks' (see below) but you can call the 'id' what you want)
    <div id="leftLinks"><a href="welcome.html">Welcome</a></div>
    Now use some css to target the link/s in the <div> with the 'id' leftLinks
    #leftLinks a {
    color: #FC0;
    The above says to color any link yellow in the <div> with the 'id' of leftLinks.

  • Varying Link Colors On Same Page

    Is it possible to make text links be of two different colors within the same web page in GoLive 6? In "Page Properties" I can make all text links any color I want, but I can't seem to vary only one link color without changing the color of all text links on that same page. Please help.

    The page properties sets the HTML attribute for the link colors, which applies to the whole page. For more control, you'd need to use CSS to set the colors of links within a specific div/table/span, or links with a certain class assigned.
    http://www.projectseven.com/tutorials/css/pseudoclasses/index.htm

  • Can not control the color in JOGL

    I am a beginner to use JOGL.
    I find that I can not control the color, both background and foreground. The background is always Black, and foreground is always Red.
    I use canvas.setBackground(Color),
    gl.glColor3*(), trying to change the color. But it does not work.
    What is the problem?
    Thanks.
    Toby

    A big help for learning JOGL is reading the Red Book from OpenGL, which can be downloaded in pdf. Since JOGL is almost a direct wrapper, the function calls are identical.
    To set the background color, you need to add a GLEventListener to the GLCanvas that you're using. To set the background color, in your init() method for GLEventListener do:
    public void init(GLAutoDrawable glad) {
    GL gl=glad.getGL();
    gl.glClearColor(r,g,b);
    or something similar, I'm not on my normal computer so this was all from memory. Check the JOGL API for the exact method name for glClearColor. To change the foreground color, there are a bunch of various methods that are all similar to glColor3f(float r,float g,float b).
    Calling this on the GL object in the display() method will set the foreground color and everything drawn that isn't using lighting will use this color.

  • Spry Menu Bar link colors not consistent

    I have a horizontal Spry menu bar set up with 4 items in it.
    The first item is the Home link and does not have a submenu, but
    the other 3 items do. What I want is when you roll over the main 4
    items the text link color will be purple (#583399). When an item
    has a submenu the rollover text link on the submenu links will be
    green (#89b11a).
    My current code almost works, but the problem I am having is
    that the Home link
    without the submenu changes to a green color instead of
    purple like the other 3 main links. If I add a test submenu to the
    Home link then it turns purple like the other links. How can I get
    the Home link to change to purple like the others without having a
    submenu attached to it?
    Here is my html code that refers to the menu:
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="index.html"
    class="MenuBarItemSubmenu">HOME</a></li>
    <li><a href="about.html"
    class="MenuBarItemSubmenu">ABOUT</a>
    <ul>
    <li><a
    href="services.html">services</a></li>
    <li><a
    href="bios.html">bios</a></li>
    <li><a
    href="news.html">news</a></li>
    </ul>
    </li>
    <li><a href="work.html" class="MenuBarItemSubmenu"
    >WORK</a>
    <ul>
    <li><a href="design.html">design</a>
    </li>
    <li><a
    href="advertising.html">advertising</a></li>
    <li><a href="casestudies.html">case
    studies</a></li>
    </ul>
    </li>
    <li><a href="contact.html"
    class="MenuBarItemSubmenu">CONTACT</a>
    <ul>
    <li><a href="#">.</a></li>
    <li><a
    href="location.html">location</a></li>
    <li><a
    href="opportunities.html">opportunities</a></li>
    </ul>
    </li>
    </ul>
    Here is the Spry CSS code that pertains to the links:
    /* Menu items are a light gray text with padding and no text
    decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    padding: 0.5em 0.75em;
    color: #666666;
    text-decoration: none;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    /* Menu items that have mouse over or focus have green text
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    color: #89b11a;
    /* Menu items that are open with submenus are set to
    MenuBarItemHover with purple text */
    ul.MenuBarHorizontal a.MenuBarItemHover,
    color: #583399;
    /* Menu items that are open with submenus are set to
    MenuBarItemHover with purple text */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover,
    ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    color: #583399;
    And
    here
    is a link to my test file so you can see what I am talking
    about.
    Thanks for any help and let me know if you need anything else
    to help with it.

    Anyone??

  • How to have 2 link colors on one page?

    Learning CSS and am unable to make this happen. What am I doing wrong?
    http://larrysullivandesign.com/sourceprintmedia.com/_contact.html
    http://larrysullivandesign.com/sourceprintmedia.com/sourceprintmedia.css
    The text links at page bottom (link-typeA) load up blue, even though the stylesheet calls for them to be gray (#E8E8E8), so they'll read on dark background.
    I want blue links site-wide, and grey at page bottom, only for link-typeA
    I want only one style sheet, if possible.
    How do I make all the link stage (active,hover, etc) colors apply to just link-typeA ? Only way I can see is in Page Properties, which makes one single embedded style on each page. confused....
    thanks!

    The divs are always referenced in the body and then you assign a class to that div. You can also asign a class to a table if you are using tables.
    First make a refernce to an external style sheet and place all your css in there.
    make your page and then assign the classes to the divs or tables.
    If you think of a div as a container then you assign a class of (footer) to the container. The reference then looks to the external style sheet of where to find that class and then finds the .footer and assigns the correct attributes to it such as the .footer a:link{color:#000;}
    you can also see the styles and assign them without handcoding by going to window/CSS styles

  • How to change the Hyper links color in the XML form

    HI SDNs
    Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview.  I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
    Appreciate if you give suggestion.
    Thanks
    Ramana

    Hi Ramana,
    The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
    Hope this helps.
    Kind regards,
    Joost

  • Fine-grained control of colors in a bar chart

    Hello,
    Short version: How do I control the colors of the bars in a bar chart in Keynote, so that each bar, representing a particular entity, retains its color no matter its position relative to the other bars after updating the chart?
    Detailed version: I am using iWork '09. In Keynote I have a 3D bar chart showing an indicator for different companies (industry comparison). The companies are sorted in ascending order by revenue, so that the lowest bar (company with smallest revenue) is to the far left and the tallest - to the far right. I update the chart regularly. I have the following problem: each bar, representing a company, is in a particular color. When I update the chart, if the the order of the companies changes, the colors of the bars do not change, so that in the new chart the order of the colors is the same, although some or all of the bars now represent different companies. In other words: if in version 1 company A is in red and comes before company B which is in blue, if in the next version company A comes after company B, I want its bar to still be red. In the current situation, if company A comes after company B its bar will be blue and comapny B's will be red, i.e. red still comes before blue.

    I have to give up the beautiful colors of the automatic chart and only use the restricted number of colors from the color well.
    There is no restricion in the choice of colour, the colour depth on a Mac has over 16 million to choose from.
    Further, the fill type has options for;  colour, gradient, image and tint

  • Need help with link colors.....

    New assignment at school (our 4th project).
    Our teacher has given us a preformatted .html document that we
    are not allowed to touch at all.
    Having a hard time grasping working this way......
    How do I change the color of the link in the top header
    without changing the color of the other links?
    How do I line the four paragraph divs up across my page
    horizontally (left to right)?
    http://student.ccbcmd.edu/~rsmit459/a_study_in_css/index.html

    The div that the "Select a Design" and it's links are in is
    called "#styles".
    I put this code into my .css file and it did nothing:
    .styles a:link {
    color: #FFFFFF;
    text-decoration: underline;}
    .styles a:visited {
    color: #999999;
    text-decoration: underline;}
    .styles a:hover {
    color: #FF0000;
    text-decoration: underline;}
    .styles a:active {
    color: #FF00FF;
    text-decoration: underline;}
    What am I doing wrong?

  • [Locked] Link colors work in Firefox but not Internet Explorer

    http://zenfotoz.com
    I have changed the link colors by setting a CSS class to a non default color a:link to the div containing thumbnails. The site behaves as designed in Firefox, but uses default colors in Internet Explorer and no colors in Safari for windows. 
    Is this a known bug/issue with a workaround or am I just doing this incorrectly?
    Thanks,
    Erik

    You have replied to a message that's more than a year old. If you're having problems with your links, post a URL to your site, and someone can have a look to see what the problem is.
    [Thread locked because of duplicate post.]

Maybe you are looking for

  • How to delete pics from desktop

    I accidently moved all my iphotos to the desktop ( copies ) and want to delete them.. i get an pop up message saying they're being used in another application.. do i want to continue? There's 9000 of them, and is there a quick way to delete them, ins

  • Can't print to pdf  8.13 Standard

    When I try to print to pdf from Internet Explorer it hangs at about 60% and locks up internet explorer. When I try to print to pdf from Word 2007 it will crash Word immediately. So far I have updated from adobe 8.10 to 8.13, repaired the installation

  • "edit in original in AE"?  (CS5)

    Hi, I have a sequence where I took one clip, right clicked and entered AE to edit at original. When finished closed AE and the clip was returned to PPro. In AE I did a tracking to remove some camera shake. Now this clip is stuttering when I run it in

  • PSE10 Organizer crashes when using the "find a missing person" button

    I have been using PSE10 for about six months and have about 10500 images in the catalog, mostly digital but also some scanned slides I have been gradually adding.  All images have been added using the "find files" button.  I have been making use of t

  • Can't Use An OS9 App. Please help!

    i can't open an os 9 application file (a protools free project ) in the classic mode, and my powerbook g4 apparently doesn't support starting up in the native os 9 regime. what can i do? i need to urgently use the protools material i had once recorde