How to have 2 styles of links on a page?

I have 2 separate navigation tables for a home page. I made each one as a "component" using Tables, 1 column with multiple rows. One has white type on a blue background, the other has blue type with a yellow background.
I modified the link css for each one and they work great by themselves, link color, hover, active visited. i.e. when I preview the component page in a browser, they look and work fine.
The problem is once I put them both on the home page together, the left panel is correct, but the right panel takes on the style of the other. Sometimes the opposite happens.
Is there a way to make the page apply the individual styles to EACH component?
Thanks for reading.
Andy

I don't use components, but to have two styes of links on a page you need pseudo-classes, eg
.newlink
.newlink a:link
.newlink a:visited
.newlink a:hover
.newlink a:active
Define these the way you want the secondary links to look and apply the class to the container they are in. I don't know to what extent components bring their internal css with them, but the page your components are on will be linked to one or more external css files - I don't know any way to specify which should apply to which component on the page.
I always understood that you should avoid css in your components and apply it on the page where you use them.

Similar Messages

  • How to have an email link that accesses APEX page w/o logging in again.

    Greetings,
    It is common in our APEX applications to send email to a user with a link to a specific row of data so they may access the row and approve it. The user who gets the email is already logged into the application, but when they click on the link in their email they are prompted to log in. How do I get around this?
    Thanks, Tony
    Edited by: cloaked on Jul 5, 2012 2:47 PM

    What you need is a custom page sentry setup which detects if there is an already valid session and then uses that.
    See {thread:id=2283805} for a fantastic example by Patrick Wolf about page sentry functions. You will need to alter it to retrieve a valid session, through apex_custom_auth.get_session_id.
    For some more pointers, take a look at these blog posts
    http://joelkallman.blogspot.be/2010/10/custom-authentication-scheme-for-oracle.html
    http://zetetic.net/blog/2010/12/10/updating-page-sentry-for-apex-40-upgrade.html
    http://timnzblog.wordpress.com/2010/09/13/application-express-and-janrain/
    (example code taken from last blog:)
    FUNCTION PAGE_SENTRY
    RETURN BOOLEAN
    IS
        l_username VARCHAR2(512);
        l_session_id NUMBER;
    BEGIN
        IF USER != 'APEX_PUBLIC_USER' THEN
            RETURN false;
        END IF;
         l_session_id := wwv_flow_custom_auth_std.get_session_id_from_cookie;
         -- check application session cookie.
         IF wwv_flow_custom_auth_std.is_session_valid THEN
             apex_application.g_instance := l_session_id;
             l_username := wwv_flow_custom_auth_std.get_username;
             wwv_flow_custom_auth.define_user_session(
                 p_user => l_username, p_session_id => l_session_id);
             RETURN true;
         ELSE
             OWA_UTIL.REDIRECT_URL('f?p=RPXAUTH:LOGIN:'||
                 nv('APP_SESSION')||
                 '::::RETURN_APP_ID,RETURN_PAGE_ID:'||
                 v('APP_ID')||
                 ','||v('APP_PAGE_ID'));
         END IF;
         RETURN false;
    END page_sentry;Perhaps others have more recent links, but this is the direction you should be looking at. I haven't set this up myself yet though, so i can't really be of much more assistance on this.

  • I am trying to verify my email and I don't know how I have used the link provided but it still says

    I am trying to verify my email and I have used the link provided in the email but it still says I need to verify my email address. What do I need to do?

    Were you directed to a web page saying Email Verified after you click on the link?

  • How to show "window close" link in the page.

    "window close" link is the standard link in the EBS.
    But how can I show it in the EBS page? Thanks.

    Hello Peter,
    Thanks for your reply! That maybe is one solution. I think I used wrong terms to define the problem. But what I really ment, was that how to define links directly to portlet application (through portal of course) not just to portal page. I didn't find help from the HttpPortletRendererUtil class.
    I try to explain the problem more clearly:
    I have an portlet application that have main page (jsp page). The main page contains different 'areas' that are implemented by an iframes.
    For example there is a result area (iframe) and browser area (second iframe). The user can browse the results forward and backward. When user clicks one of the browser links the results are seen in result area.
    Ok this works fine when the application is 'ordinary' (not portlet), but when this is adapted to a portal as a portlet (through web provider) and I have to define the source to iframe (I use HttpPortletRendererUtil class's helper method to define links) I have only option to define the portal page link and that's why there comes additional page banners/headers to the result 'area' of the main page.
    Hope this is better explained. But if it isn't, please be free to ask more...
    Regards, Robert

  • How to have a unique requestId for a Page for multiple users

    Hi,
    Can someone please tell me how to get a unique RequestId whenever a page is visited. I need to have a unique RequestId generated for each user if they are on some specific
    page. Whenever a users refreshes a page or come to the page by clicking back button want to have a unique requestId always.
    Can I use sessionRequestId or something for HttpServletRequestObject that always gives me a unique Id.
    Thanks

    Unique for how long?
    Eternally unique ?
    unique until the server restarts?
    Most simplistic approach would be to have a static/singleton counter. It wouldn't work perfectly in high volume sites, but should work well enough for smaller ones. Including a timestamp in the key makes it fairly unique.
    This would handle both initial requests and refreshes of the page.
    There is nothing you can do about users hitting the back button. If the page gets served from the client cache, the server knows nothing about it, and can not issue a unique id.
    Why the requirement? What are you trying to accomplish by doing this?

  • How to have KM useful links ivew in a drill down tree format.

    Hi All,
    I am having a KM iview which displays useful links.
    The problem is it initially displays only one/two levels of drilldown from the configured root folder. How can we modify such that it displays <b>n</b> levels of folders & links from the configured.
    Also here in the iview every user is having access to organize the folders & links with the command link <b>Organize Entries </b>. How can we configure such that this link is visible only when a Role is assigned to the user.
    Many Thanks,
    Sai.
    Edited by: Konchada Sai Krishna on Jun 16, 2009 6:30 AM

    Hi All,
    I am using KM Navigation iview to display Useful links.
    I was using <b>LinlListExplorer</b> layout set earlier.
    On search in SDN and SAP help found that we can use <b>RoomTreeLayoutSet</b> to display the KM folders in drilldown tree format.
    But unfortunatly, when I preview this <b>RoomTreeLayoutSet</b> in KM config it works fine but when I use this in the iview layout profile, the none of the folder / documents are displayed..
    Does anybody came across this issue earlier, how can this be resolved.
    Many Thanks,
    Sai
    Edited by: Konchada Sai Krishna on Jun 17, 2009 5:30 AM

  • How to insert an HTML link into a page

    Hello,
    We have a list of documents in a external document management system. We would like to present the list of documents to the user for retrieval from within any SRM HTML page.
    I was thinking of two different approaches:
    1) I would like to be able to insert an HTML link to a URL of documents for display to the end user.
    2) Alternatively, we might want to inject some javascript into the screen to handle the presentation of the links.
    We would like this functionality to work on any of the screens within SRM as global functionality.
    Any suggestions on how to customize SRM to handle this functionality request?
    (Will reward points very quickly)
    Thanks
    Edited by: Aaron Jack on Feb 15, 2008 7:02 PM
    Edited by: Aaron Jack on Feb 15, 2008 7:03 PM

    Hi,
    My project has a requirement to show URL in Bid Invitation screen. In turn, when user clicks that hyperlink, it will pop-up a web dynpro screen.
    Maybe this is the same with your need.
    In case this is the same, the trick is to define an additional field in bid invitation custom header with customized data element and customized domain.
    Then, defined conversion exit for the domain with javascript line such as "<html> bla bla </html>" to pop-up the web dynpro screen in modal dialog.
    The result will be as what I have above.
    Hopefully this can help you.

  • Webapps.  How can I create a link to a page instead of showing the details-view

    I want my client to define what page a webapp shall point to in list-view, instead of showing the  details view, but I cant figure out how.  I have tried this, but it seams that tags don't work inside links:
    <a href="{tag_my_custom_link}">{tag_name}</a>
    .. does any one know how to do this?

    The problem is the format of your tag.  If your field name in the web app is "My Custom Link" then your tag is {tag_My Custom Link} (note the spaces).
    Cedric is right though, make sure the field is a textfield and not a hyperlink field in your web app.  If you use BC's new "Develop" tab up top you can navigate to your web app detail layout in /Layouts/Web Apps/<yourwebapp> and find "list.html".  Then, you can use the toolbox on the right (click the data tab) to insert tags without having to guess.  You can choose your custom field and insert the tag.

  • How to add buttons with links to different pages in my flash document?

    Hi I created a template for my flash animation which is a simple content box and a scroll bar beside it.. Anyway at the top I also have 3 pages (they are currently just part of the png background image so they are not buttons of any sort).. My question is how can I make links to these different pages so when clicked in the flash animation they will just open normally like they would in like a website..
    I am a flash beginner so I'm not too technical with it... I don't know if I would have to create 3 seperate documents for my 3 pages or something else?
    Thanks!

    Do you expect the loaded SWF to load "into" the SWF that contains the buttons or are you expecting it to overwrite the existing SWF you're already in (similar to a web page)?
    Loading a SWF inside is pretty straight forward, as long as the SWF is on the same domain or the domain you're loading from has a crossdomain.xml policy allowing it and the SWF is set to publish with the networking sandbox:
    import flash.display.Loader;
    import flash.net.URLRequest; 
    import flash.events.Event;
    var myLoader:Loader = new Loader();
    // listen for completion
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleCompleteF);
    // usually add some IOErrorEvent or SecurityErrorEvent handlers here
    // button hook here
    myButtonInstanceName.addEventListener(MouseEvent.CLICK, loadPageF);
    function loadPageF(e:MouseEvent):void
         // try to load
         try
              myLoader.load(new URLRequest('another.swf'));
         catch (e:*)
              // catch any error, trace it to flash IDE for debugging
              trace("Error loading SWF: " + e);
    function handleCompleteF(e:Event):void
         // success, add to display list
         addChild(myLoader);
    Season to taste, like moving the position of the Loader object. The Loader will contain the SWF in the .content property (e.g. myLoader.content) and is a display object so you can just add it directly to the display list.
    If you add a second button you can re-use the myLoader to .load() a different SWF, just point it to a new function. You could re-use the same function but you'd need to detect the different buttons (possibly via the .name property). I presume you might want to do "different things" when different pages are loaded so I'm assuming you'd probably use a different function rather than make a huge reused branching function.
    More info on Loader with sample code here:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Loader.ht ml#includeExamplesSummary

  • How to have a line down middle of page betw 2 columns but...

    for some graphics, the graphics flow over the two columns. In setting up a template, how to make that line be flexible so that when there is a graphic that takes up more space, the graphic has an amount of white space around it..(would that be an object style). Ok, would you put the line on the master page?

    If you are referring to text wrap when you say outset, then it will push the text in the main frame out of the way, but it won't push the rule or leave a gap next to it. The only way to do that is to adjust the rule or hide it with something (like the [Paper] stroke).
    If the caption frame is going to be below the image, this gets more complicated, especially if the image isn't always at the top of the page. About the best you can do for that is to apply the same stroke to both the image and caption frame, and have them overlap or touch, which means you can have spacing between the two from the width of the stroke to twice the width, but not more. You'll also need to fill the caption frame with paper to knock out the rule.
    If the image group will always completely cover one end or the other of the rule you can pay with different width strokes for the two frames.
    It might be best to put a grouped image/caption frame in a library, already styled, or leave one on the pasteboard somewhere.

  • E71 how to remove setup email link from main page

    Recently got a E71 - very pleased with it.    Have installed nokia email and exchange mail - all working fine.   I ended up with 2 "setup email" links on the main page.  One i could select and hide,  the other I cannot.   When ever i boot the phone it trys to start the email setup wizard by default.     I notice from installations I can remove the email setup - will this affect existing mail accounts and would this mean I can't set up any new accounts in the future?
    surely there must be an easy way to remove the icon.    I tried deselcting the wizard from the Modes -> home screen application page but it just comes back after a few minutes.
    very annoying.

    spooky! i found the same solution today, checked back here and you'd beaten me to it!!! DOH!
    posted the following elsewhere.
    i found another solution for removing the email setup link on the homepage (still have the wizard start on boot).  
    MENU -> MODES -> HOME SCREEN APPLICATIONS ->enabled applications ->  untick Intellisync
    the email setup icon now dissapears on my E71.
    I can't find a decent explanation of what intellisync actually does, but all my email is working as before.
    To be honest i could probably just remove the set up program as I won't ever need to add another email account..
    just thought I'd post this anyway."

  • How to create an email link in UIX page

    I am trying to create a simple email link in my UIX page in order to get feedback from users.
    I don't seem to find out how to do it. Can someone please help me ASAP.
    Many Thanks,
    Qian Dong

    Hi Atilio Ranzuglia,
    Thank you so much for the help. It took me a while yesterday trying to figure out how to do
    what I originally thought was a very simple thing, I was unable to find any helpful information.
    Your help saved a lot of time for me, I am very appreciative of it.
    Many thanks again,
    Qian Dong

  • How to use tab to link to other page in other application

    Hi all,
    I noticed that tabs does not have the option URL for the Target. It only has current page.
    Is it possible to link a tab to a page in another application in the same workspace?
    Thanks.
    Allen

    Hi Allen,
    Lists are more useful and flexible in that case, you can apply a tab template on them.
    Out of the box, tabs don't allow you to navigate to url's like you want to do. What you can do, navigate to a page in your current app and have in the header a redirect to the other app.
    Make sure you transfer your session (and authentication) to the other app, otherwise you need to login again.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • How to have a autocomplete textbox ona  jst page?

    I am trying Ajax with Struts_1.x.
    Whenever the user writes into the textbox I call the Ajax controls and generate an ArrayList, now the problem is I want to show this list in my textbox but with simple textbox this is not possible, so, anyone please tell me how to create a autocomplete textbox for this.

    Check out AjaxTags . They have several examples on how to do that.

  • How to have text that is over several pages

    New iBooks user.  How do I get text to flow to next page?

      You're welcome.
    If you'd like to study up on the mechanics involved when editing a book in iBA, see the related video in iTunes Connect and check out:
    • Publishing With iBooks Author
    http://shop.oreilly.com/product/0636920025597.do 
    • iBA/Apple:http://www.apple.com/support/ibooksauthor/
    You'll be fine I'm sure. and best of luck w/your book(s).
    Ken

Maybe you are looking for

  • Text not working in photoshop.

    can someone help as my text tool is not working think i might have downloaded a corrupt font but cos ive used that many not sure which one. any help would be apreciated

  • Load error using 0FI_GL_4

    Hi , Question: We did full load to ODS(0FIGL_O02) using 0FI_GL_04 from fiscal year/period 001.2003 to 008.2006 and from ODS(0FIGL_O02) to another ODS(ZOFIPO1) using same selections.After completion of full load we did INIT DELTA WITH DATA TRANSFER to

  • IPhoto suddenly not printing four 6x4 borderless prints on A4

    Hi! iPhoto 11 has suddenly stopped printing four 6x4 borderless prints on one sheet of A4. If I set the print size to 3x5 I can see all four prints on the A4 preview but when I change print size to 4x6 only two prints appear on the preview, in the mi

  • Cleaning- HELP!

    After cleaning a stain from my macbook there is the mark of where I have tried to rub it off ,which isn't coming of. How do I clean this?

  • Reverse engineering sql script inserts to java enumerators

    Hello. I'm working on an application that uses a number os tables to store qualifier information about certain entities. A person can, for example, be an "operator" or an "end-user". These sets of qualifying data are static, an work as enumerators. I