Conditional statement link color

Apex 4.2

I had a report interactive and part of the sql was a conditional link

case

When there are (select 1 from udm_wh where ldeid = 1 and extkey = wh.mcd_gbldcno)

then

"' < a class ="type"href =" "|" apex_util.prepare_url ('f? p ='|: APP_ID |) » : 34 :'|| : APP_SESSION |': ' | : D EBUG | ': 34' |': P34_EXTKEY, P34_PG :'|| WH.mcd_gbldcno | «, » || 64, null, 'SESSION') | "" title = "go to maintain for Global DC DC ' |" WH.mcd_gbldcno | » » >' || WH.mcd_gbldcno | "< /a >" - link

of another to_char (wh.mcd_gbldcno) - no_link

end mcd_gbldcno

Inorder for this link appear blue, I used in my page header, css inline

.apexir_WORKSHEET_DATA td a.type:link,

.apexir_WORKSHEET_DATA td {} a.type:visited

color: Blue;

make-weight: bold;

}

I want to chamge cela a standard report, but do not know how to format the link

See you soon

Gus

GusC wrote:

Apex 4.2

I had a report interactive and part of the sql was a conditional link

case

When there are (select 1 from udm_wh where ldeid = 1 and extkey = wh.mcd_gbldcno)

then

'' || WH.mcd_gbldcno | ''-link

of another to_char (wh.mcd_gbldcno) - no_link

end mcd_gbldcno

Inorder for this link appear blue, I used in my page header, css inline

.apexir_WORKSHEET_DATA td a.type:link,

.apexir_WORKSHEET_DATA td {} a.type:visited

color: Blue;

make-weight: bold;

}

I want to chamge cela a standard report, but do not know how to format the link

Replace .apexir_WORKSHEET_DATA with the class of the standard report table (a web inspector or see the model to find out what it's use), or use an attribute selector to target the column:

td[headers="COLUMN_ALIAS"] a.type:link,
td[headers="COLUMN_ALIAS"] a.type:visited {
  color: blue;
  font-weight: bold;
}

Tags: Database

Similar Questions

  • conditional statement in the system emails (invoice)

    I am trying to add a conditional statement in the invoice so I can add a link to download something, if there is a value in the custom 1 field. Is there anyway that I can use liquid or to conditional statement in any of the emails (invoice in particular) system to achieve? Thank you very much.

    Liquid is not supported in the e-mails like that at the moment.

  • Conditional statement to improve the functions of navigation bar

    Question of AS2:

    I have created a navigation bar of four buttons with the normal state in box 1 and place the cursor in the frame of 10, 20, 30 and 40, States.

    Hover States are made by adding a mask on each button to reveal a layer of color differetly on frame 10, 20, 30 and 40

    I have scripted buttons like this:

    on (rollover) {gotoAndPlay (10);}

    }

    (deployment) {gotoAndStop (1);}

    }

    (press) {gotoAndPlay (1);}

    }

    on (release) {gotoAndPlay (9)}

    }

    On the four frameworks there is also an action that says:

    Stop();

    to import flash.external.ExternalInterface;

    {btn1.onRelease = Function ()}

    ExternalInterface.call("saveglobalscore",score) ("f1");

    }

    It all works well. The button triggers a javascript function on the page.

    Request:

    Can I do the buttons stay in addition to their States when a button is clicked, so it serves as a clear marker that the viewer of the page selected and seeks to?

    Page loading on the release, but as soon as the pointer leaves the button, the command deployment on-site the playhead to frame 1 (with the normal state)

    (1) is the following:

    Put a conditional statement to say frame 1:

    If the read head came to frame 10 then go to section 10 and stop.

    If the read head came to frame 20, then go to section 20 and stop.

    If the read head came to frame 30 then go to frame 30 and stop.

    If the read head came to frame 40 then go to the frame of 40 and stop.

    Another thing: stay on the frame 1.

    ?

    (2) or is there another solution that I have not thought?

    Often, it would be useful to be able to follow where the read head just left for example with scroll on the side and other advanced layouts.

    Is this possible and if so, how?

    Thank you in advance.

    ggaarde

    var mcA:Array = [mc1, mc2, mc3,...];

    for (var i: int = 0; i<>

    .Ivar mcA [i] = i;

    mcA [i] .buttonMode = true;

    mcA [i] .addEventListener (MouseEvent.MOUSE_OVER, overF);

    mcA [i] .addEventListener (MouseEvent.MOUSE_OUT, outF);

    mcA [i] .addEventListener (MouseEvent.CLICK, clickF);

    }

    function overF(e:MouseEvent):void {}

    MovieClip (e.currentTarget) .gotoAndStop ("over");

    }

    function outF(e:MouseEvent):void {}

    {if (MovieClip (e.currentTarget) .lastClicked)}

    MovieClip (e.currentTarget) .gotoAndStop ("clicked");

    } else {}

    MovieClip (e.currentTarget) .gotoAndStop ("up");

    }

    }

    function clickF(e:MouseEvent):void {}
    for (var i: int = 0; i<>

    {if (mcA [i]. Clicked)}

    mcA [i] .gotoAndStop ("up");

    }

    }

    MovieClip (e.currentTarget) .gotoAndStop ("clicked");

    do something else. has clicked the button movieclip MovieClip (e.currentTarget) .ivar th

    }

  • Conditional statements in IE6 error?

    http://MCEC.my/

    I have added a conditional statement that only target IE6 to render css and javascript.

    all other browsers, IE7 and before use will support the general set of css and js...

    However when I saw in IE 6 and IE7 I pulled out the rendering of the conditional statement:

    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Malaysia - China Entrepreneur Conference 2012 < /title >

    <!-[if! IE6] >->

    < link href = "include/reset.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "include/style.css" rel = "stylesheet" type = "text/css" / > "

    < link rel = "stylesheet" href = "include/room-slider - styles.css" type = "text/css" / >

    "< script type =" text/javascript"src="include/jquery-1.7.2.min.js "> < / script >

    "< script type =" text/javascript"src="include/coin-slider.min.js "> < / script >

    < script type = "text/javascript" src = "include/bw - menu.js" > < / script >

    <!-<! [end if] >->

    <!-[if gte IE7] >

    < link href = "include/reset.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "include/style.css" rel = "stylesheet" type = "text/css" / > "

    < link rel = "stylesheet" href = "include/room-slider - styles.css" type = "text/css" / >

    "< script type =" text/javascript"src="include/jquery-1.7.2.min.js "> < / script >

    "< script type =" text/javascript"src="include/coin-slider.min.js "> < / script >

    < script type = "text/javascript" src = "include/bw - menu.js" > < / script >

    <! [end if] >->

    <!-[if lte IE6] >

    < link href = "include/reset.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "include/style.css" rel = "stylesheet" type = "text/css" / > "

    < link rel = "stylesheet" href = "include/room-slider - styles.css" type = "text/css" / >

    "< script type =" text/javascript"src="include/jquery-1.7.2.min.js "> < / script >

    "< script type =" text/javascript"src="include/coin-slider.min.js "> < / script >

    < script type = "text/javascript" src = "include/bw - menu.js" > < / script >

    < link href = "include/ie6PNGFix.css" rel = "stylesheet" type = "text/css" / > "

    <! [end if] >->

    < / head >

    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

    23-04-2012 14-32-40.jpg

    Where have I gone wrong? Thanks for the help

    All comments of IE around your css/js alternatives links are a little distorted... try it below:

  • Coding of your Web site is Compatible with IE by using a conditional statement?

    Hi all

    I'm really bad make my site compatible with Internet Explorer. I know, it does not support the element ' position: fixed ' (which I used), but I heard there was a way around this by inserting a "conditional statement". But I'm really, really difficult to code correctly. Where exactly in the HTML code I place it, and how does the browser know what layer/div, it is assigned to?

    Here is the code that defines the changes in IE. As it is, it actually doesn't work properly... it just removes all items on the page... so I know that I made a mistake somewhere.

    <!-[if IE 6] >

    position: absolute;

    top: 20px;

    left: 20px;

    <! [endif]-->

    I don't always know where place them, and how to ensure IE knows what is the code. Can someone help a newbie? I'm way too deep! Www.ameliaharris.110mb.com/ of the Web site if it is of no use.

    Thanks in advance.

    I had a peek at the CSS on your site, and it uses some of the strangest buildings I've ever seen. For example:

    unicode-bidi:bidi-override; direction:rtl;
    

    What on earth that is all about?

    Again, to answer your question, what you are doing wrong with the IE conditional comment, is that it is incomplete. The conditional comment must contain a block of complete style with the regular style rules:

    
    

    Because you want to override what is in your style sheet, it should come theof the embedded document after links to CSS and external style sheets.

  • Link colors are always overridden

    Firefox 11.0 on XP SP3
    In 'Options, content, colors' even if "Allow pages to choose their own colors" is checked, firefox link colors are always used. Occurs in all the sites I've looked at.

    Turn the start/stop script makes no difference.

    Firefox 3.x doesn't have this problem on the same machine.

    Thank you for your help, but ultimately, I uninstalled Firefox (after the recording of my favorites) and did a clean install. He is fine now.

  • Conditional statements

    Hello!

    I want to display different content in the sidebar of a page 2 column template.

    I would like to create a template to use for a group of pages. According to the name of the page, I want to view the contents of specific pages in the sidebar.

    I thought that I would need to use conditional statements, but I don't know how to write this.

    The content of the different sidebar would be placed in content holders.

    Please help me understand this.

    Very much appreciated.

    Marian

    Easy with liquids conditional, but probably easier instructions with just named pages and content holders. Here's a solution:

    Create your sidebar provides with names like 'Sidebar-talk', "Sidebar-Home", etc..  The portion after the "-" must be the name of the page where the content will appear.

    Insert in your model, where will be the content of the sidebar:

           {module_contentholder,name="Sidebar-{module_pagename}"}
    
  • Link colors/CSS

    I am trying to build a model of e-mail with a link in the title, but it keeps failing Blue.


    I want the link in the header to be black - isn't a clear link in the body of the email, links to purple.


    I think it's to do with CSS, but have no experience on this side of things...


    Can anyone help?


    Thank you.

    Try this in the section of your CSS document:

    link is the default color

    visited is a visited link color

    hover is the color of your choice when the mouse hovers over the link

    Active is the color of the link you are clicking.

    Of course, you will need to find a hex color that works.  You can see a good overview on hex colors here: HTML color.

    I hope this helps!

  • Procedure of the ODI - Bind Variables in the conditional statements

    In an ODI procedure, is it possible to add a conditional statement around bind variable?  For example, if I use OdiOutFile as the command on the target and Oracle as the command on the Source, I can use bind variables to fill the data in this table (we are in fact using OdiInvokeWebService and passing a XML structure very complex, but it's easier for testing):

    OdiOutFile-FILE = C: / TEST. TXT

    < person >

    < first > #FIRSTNAME < / first >

    < Middle > #MIDDLENAME < / Middle >

    < last > #LASTNAME < / last >

    < / person >

    It is a way to add a conditional statement using one of these bind variables?  For example, if I wanted to test #MIDDLENAME null and null value, produced this portion of XML, such as:

    OdiOutFile-FILE = C: / TEST. TXT

    < person >

    < first > #FIRSTNAME < / first >

    < % if (#MIDDLENAME! = null) {% >}

    < Middle > #MIDDLENAME < / Middle >

    < %} % >

    < last > #LASTNAME < / last >

    < / person >

    This type of scriptlet syntax seems to work fine, as long as the binding variable is not in the mix (if I put "true is true" or "true == false" in the case, it shows or does not show this line in the XML file, as expected).  I use ODI 11.1.1.7.0

    ----------------------

    Post edited by: KevinPratt

    Thanks for the reply!  As suggested, in what follows, I changed the command and it works as you want

    OdiOutFile-FILE = C: / TEST. TXT-APPEND

    < person >

    < first > #FIRSTNAME < / first >

    < @ if (!) (("#MIDDLENAME".equals(""))) {@ >}

    < Middle > #MIDDLENAME < / Middle >

    {< @} @ >

    < last > #LASTNAME < / last >

    < / person >

    Using the syntax <@ ...="" @="">serve your purpose. Also, I think you might want to include the variable binding in the quotation to avoid syntax errors.

  • Under regions and conditional statements

    Greetings. Having a problem with conditional statements and subregions. With the help of apex 4.2

    I have a region (mutations) that has several items and a few buttons (button A, button B, etc.). I need to display conditionally button A. I have a sub region (People), which is a report of people deployed. I need a button to display the area of deployments, if there is no people in the report (People_ID is null) then the button will not appear. I tried to use a conditional, but I am not having any luck. Help, please. Thanks in advance.

    NewApexCoder wrote:
    I just tried to use a conditional button

    Condition Type: Point value / expression column 1 is NULL
    Expression 1: PEOPLE_ID

    This doesn't seem to work for me.

    No, it does not. (The inclusion of 'column' in this type of condition is inadequately documented. A "column" name only are referenced by such a condition, after presentation of a form in a table.)

    Use a Exists (SQL query returns at least one row) condition, based on the query in the subregion to report.

  • My link colors are always purple when it's on the net. No matter what method I use to change the color, they appear always purple. What is my problem and can it be corrected?

    My link colors appear always purple when it's on the net. No matter what I do to change the color, they appear always purple. What is the problem and is there a method to correct?

    Looks like you're leaving the: visited the default color.

    Add in some css to reset the: visited to what you want...

    a: visited {}

    Color: #000000;

    }

    In addition, make sure that your link pseudo classes go in order following in your css...

    a: link

    a: visited

    a: hover

    a: active

    If this isn't the issue, we'll need to see your page to help you, could you post a link?

  • What is the property to change the link colors?

    DW5.5 in win 7

    I have a css file that is attached to my documents "twoColLiqLtHdr.css."

    What would be the property (at least that's what I think you would call it) to change the color of normal link from blue to white.

    I have another page that has some online code that sets the color of the link to yellow for this page only (a: link {color: #ff0})-provided by Nancy this Ant.

    I want to leave this yellow page with links, but change the color of a link to any other pages.

    all pages are derived from a model.

    but I guess I make the change in the css file!

    I can't find reference to a: link {color: #ff0} in the file "twoColLiqLtHdr.css" so I guess that's the default

    I tried to add in the body, containing sections and content, but that had no effect, UN-less that I did something wrong, I saved the file css after I made the changes

    If I move my mouse over a link in a page of the browser thingy (ships wheel) appears and tells

    twoColLiqLtHdr.css

    body

    . Container

    . I'm glad

    any help would be appreciated

    Thank you

    Try the following (replace yourColor with the color of the desired link and hover color). Add this at the end of the twoColLiqLtHdr.css file

    . Container a {}

    color: #yourColor;

    }

    . Container a: hover {}

    color: #yourColor;

    }

  • Problem with the link color!

    Ive introduced the link color (red) for each page in page properties, but for a reason that some of the links are displayed in purple. Any ideas why that might be?

    see the following page link color purple:

    http://www.vanessaroberts.co.UK/NAFD.html

    but on this page, it's the right color I put what is in red:

    http://www.vanessaroberts.co.UK/b'support.html

    You see purple as the status of the link by default color "visited."

    Assign your color you want for the status of the "visited" link

    Don't forget to add just before the hover rule

    a: link {}
    color: #9F100B;
    text-decoration: none;
    }
    a: hover {}
    color: #C3A328;
    text-decoration: none;

    }

  • Link color

    General links through the site: 3 colors, used link color: green. Place the cursor on the link: mauve. The orange link unused, in most browsers this works very well, fire fox (latest addition) it shows only used and more colors, not orange. Can help please

    The orange link unused, in most browsers this works very well, fire fox (latest addition) it shows only used and more colors, not orange.

    I see this code in your style sheet and it seems OK

    a: link {color: #F60 ;}}    / * link not visited * /.

    a: visited {color: #3F0 ;} / * visited links * /}

    a: hover {color: #FF00FF ;}}   / * mouse over link * /.

    a: active {color: #0000FF ;}}  / * selected link * /.

    Firefox is the same as all other browsers here: non visited link is orange.

    Have you tried to empty the cache memory of the Firefox browser?

    Tools > clear recent history

  • Conditional statement advanced interaction checking if a variable is odd/even?

    Hello

    I was wondering if it is possible to have a conditional statement that checks if a variable is even or odd? I am using Captivate 5.

    Here's what I would do, and I know that I could do the same thing with the two sepaparate buttons, but I am curious to know if it is possible to do it with a button only.

    What I'm trying to do, is to give learners the ability to display some documents as a resource on their screen while they are listening for an example of an interaction with the customer. During this interaction some forms have to be filled, and I want learners to be able to display a before and after of the completed form, if they would like to see it.

    The easy way to build that according to me is to have a single button that would make the visible resource and the other button that hides the resource. I tried it and it works like a charm using standard measures.

    Since there are several resources that I want to put available for learners, with two buttons for each resource can clutter the slide a little, so I thought I'd try if I could create the same function using a button with a tip action.

    Whenever the learner clicks on the button for a resource, the variable associated with the resource is increased by 1. I would then have a conditional statement, saying: If the variable is odd-> see the resource, if the variable is same-> hide the resource.

    I can't find the option in the advanced actions to compare if a variable is even or odd. I can only find how to compare to a literal or another variable.

    Hello

    May I suggest another approach instead of odd/even?

    I would build a conditional action with 2 decisions. In the first decision, it of really a standard action (use IF 1 = 1, while it is still running), use this statement:

    Expression v_one = 1 - v_one

    v_one is the variable user for this button. It will always pass the value of this variable between 1 and 0. If the variable has no value assigned when set, first time user clicks it will get a value of 1, the second time the value 0.

    Second decision will be your cheque to condition:

    IF v_one = 1

    THEN hide resources

    ELSE to see the resource

    I hope you get the idea?

    Lilybiri

Maybe you are looking for

  • HP 15-r007tx: I LOST MY INVOICE of PORTABLE

    I lost my mobile bill.my product was purchased last January 2015 and its under warranty period.can, I get a double bill and where do I need to in order to receive the invoice duplicate?

  • MIC on Satellite A100

    Hi all! It's true, this microphone internal of the A100 havnt?PS. PLS, answer on Russia, because future is Worl lang. study it!

  • My finder in El Capitan crash

    Hello! My finder crash. When I open it, it crashes after 2 to 5 seconds. That I can the stimulus of alt-cmd-esc, but then it crashes again. As advised by Linc Davis in another post, I copied the papers at the time of the accident. They are here. If a

  • I changed my file association and now can't open my files. How can I change it back so that they will open properly?

    I got all my documents open with my Adobe and then I opened some pictures from my camera to my computer. When I did somehow My Documents now passed to this program from Picasa... I can't open my files now, as he says he can't read in Adobe. I need my

  • Windows XP: Renew the IP address automatically.

    Windows XP on a laptop.  I used to be able to put my computer to sleep, go to a meeting room Plug and wake the computer and I would like to get connected to the network.  Now, for some reason, I always fix the connection to the local network to get a