Need help using 'visited' class with Colorbox

Hi guys,
I'm creating a site for a client that uses the Colorbox script for the store. When you click on a thumbnail of a product in the store, the browser uses Colorbox to display the external PHP page with the product information.
This all works fine but what I would like to do is...
When you click on a product thumbnail and it brings up the page (using Colorbox), when you close the Colorbox window and return to the thumbnails, I would like the padded background of the image to be a different color and not grey like the rest of them - so you can see which products you have looked at and which products you haven't.
I've tried using...
#productContainer img:visited {background-color:#0973ba;}
...but it didn't work.
Click here for the link to the test site if that helps.
Does anyone have any suggestions as to how I can achieve what I need to do?
Thank you very much and I look forward to hearing from you.
SM

Did you try adding the pseudoclasses here?
#content a {
    color: #0973BA; 
    text-decoration: none;

Similar Messages

  • Need help using my class

    I recently made a class called time that let me store times and return their values. I needed to do this for another class called flight, which uses the class time to store times. My question is, how would i use my time class in the flight class. Whenever i try to make a new time.
    //i.e.
    Time x = new Time(0,0,0);It says that the class Flight cannot find the Time class within it. Does anyone know how i can use my time class inside of my Flight class without making Flight an extension of Time, if it is even possible. My Time code is posted below.
    public class Time{
        private int Hours;
        private int Minutes;
        private int Seconds;
       public Time(int newHours, int newMinutes, int newSeconds){
            setTime(newHours, newMinutes, newSeconds);
       public int getHours(){
            return Hours;
       public int getMinutes(){
           return Minutes;
       public int getSeconds(){
           return Seconds;
    public int setHours(int newHour){
        Hours = newHour;
        return Hours;
    public int setMinutes(int newMinute){
        Minutes = newMinute;
        return Minutes;
    public int setSeconds(int newSecond){
        Seconds = newSecond;
        return Seconds;
    public String toString(){
        int newHours = Hours;
        String type = "";
        String minuteZero = "";
        String secondZero = "";
        if(Hours>=0 && Hours<=11){
            type = " AM";
            if(Hours==0){
                newHours +=12;  
        if(Hours>=12 && Hours<=23){
            type = " PM";
            if(Hours>=13 && Hours<=23){
                newHours = newHours - 12;
        if(Minutes>=0 && Minutes<=9){
            minuteZero = "0";
        if(Seconds>=0 && Seconds<=9){
            secondZero = "0";
        return newHours + ":" + minuteZero + Minutes + ":" + secondZero + Seconds + type;
    public void setTime(int setHours, int setMinutes, int setSeconds){
        if(setHours>=0 && setHours<=23 && setMinutes>=0 && setMinutes<=59 && setSeconds>=0 && setSeconds<=59){
        setHours(setHours);
        setMinutes(setMinutes);
        setSeconds(setSeconds);
    public int secondsUntil(Time newTime){
        int totalSeconds;
        totalSeconds = ((this.Hours*3600)+(this.Minutes*60)+(this.Seconds))-((newTime.Hours*3600)+(newTime.Minutes*60)+(newTime.Seconds));
        return totalSeconds;
    }

    My Time class is in a folder called Time on my flash drive, and my Flight class is in a folder called Flight on my flash drive. And what do you mean how am i compiling them?

  • Need help using multiple classes in different folders.

    Hey everyone.
    Im trying to make a trading card game, in Java. Each card is going to be a class derived from a main card class (called card). The problem is that each card is going to be in a different folder based on the set and card number. (ex. card 001 from set 02 would be in "game/02/001/")
    I found this is a real good way to organize the game since there will be new cards all the time and players wont have all of them. Is it posible to call classes from different folders, and if it is how do I do it?
    -Thanks to anyone who answers

    The problem is that each card is going to be in a different folder based on the set and card number.Why don't you simply add two attributes to your Card class:
    cardNumber
    setNumber
    Or better, have a Set class with attribute:
    number
    and a Card class with two attributes:
    number
    set

  • Need help using hierarchical list with class cl_salv_hierseq_table

    I'm trying to learn how to use a hierarchical avl.
    so I grabbed this code http://wiki.sdn.sap.com/wiki/display/Snippets/displaysimplehirarchiallistwithclass+cl_salv_hierseq_table
    and changed it in order to use the tables bkpf and bseg instead

    TABLES: bkpf.
    TYPES: BEGIN OF ty_bkpf ,
           belnr LIKE bkpf-belnr,
           bukrs LIKE bkpf-bukrs,
           gjahr LIKE bkpf-gjahr,
           bldat LIKE bkpf-bldat,
           waers LIKE bkpf-waers,
           END OF ty_bkpf.
    TYPES: BEGIN OF ty_bseg ,
           buzei LIKE bseg-buzei,
           shkzg LIKE bseg-shkzg,
           END OF ty_bseg.
    DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf ,
          it_bseg TYPE STANDARD TABLE OF ty_bseg .
    DATA: ibinding TYPE salv_t_hierseq_binding.
    DATA: xbinding TYPE salv_s_hierseq_binding.
    DATA: gr_table TYPE REF TO cl_salv_hierseq_table.
    SELECT-OPTIONS:
      ndoc FOR bkpf-belnr,
      empr FOR bkpf-bukrs,
      anod FOR bkpf-gjahr.
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM relat_tables.
      PERFORM display_alv.
    *&      Form  get_data
    FORM get_data .
      SELECT belnr bukrs gjahr bldat waers
             INTO TABLE it_bkpf
             FROM bkpf
             WHERE belnr IN  ndoc AND
                   bukrs IN empr AND
                   gjahr IN anod.
      IF sy-subrc = 0.
        SELECT buzei shkzg
               FROM bseg
               INTO TABLE it_bseg
               FOR ALL ENTRIES IN it_bkpf
               WHERE belnr = it_bkpf-belnr AND
                     bukrs = it_bkpf-bukrs AND
                     gjahr = it_bkpf-gjahr.
      ENDIF.
    ENDFORM." get_data
    *&      Form  relat_tables
    FORM relat_tables .
      xbinding-master = 'BUKRS'.
      xbinding-slave  = 'BUKRS'.
      APPEND xbinding TO ibinding.
    ENDFORM. " relat_tables
    *&      Form  display_alv
    FORM display_alv .
      cl_salv_hierseq_table=>factory(
      EXPORTING
      t_binding_level1_level2 = ibinding
      IMPORTING
      r_hierseq = gr_table
      CHANGING
      t_table_level1 = it_bkpf
      t_table_level2 = it_bseg
      gr_table->display( ).
    ENDFORM. " display_alv

  • Need help using XWS-Security with EJB service endpoint

    I am trying to use XWS-Security along the lines of the JWSDP 1.6 examples, but with an EJB endpoint deployed in an ejb-jar file rather than a typical service endpoint deployed in a WAR.
    Any information on how to do this would be appreciated. I believe I'm close to getting an example working- the details on the problem I've encountered are below.
    I use WSCompile to generate stubs and ties for my WS, and XDoclet to generate the ejb-jar.xml. I deploy the ejb-jar on JBoss 4.0.2.
    The problem I'm having is that the security features are handled in the Stubs and Ties generated by WSCompile, and my server-side refuses to use the WSCompile generated Tie. Previously the web service had used the WSCompile argument 'import="true"', which generated no tie, and the web service worked (this was before I tried to add security features). Whatever mechanism had been used to direct messages to my EJB then is still being used now (JNDI, I believe, facilitated by the ejb-jar.xml and webservices.xml files), and bypassing the Tie class that I now generate using 'server="true"'.
    There must be some way I can reconfigure my webservice so that the WSCompile generated Tie is used, but I can't find any help on the topic.
    Can anyone tell me how to make sure my webservice will use the Tie class on the server side? Is it even possible when using EJBs instead of servlets?

    Burn your CD using iTunes. Then rip the music off of the CD using any "ripping" program. Just make sure the program you use has the "save as .wav" option available. Im not familiar with MusicMatch but I'm sure you would be able to use it.

  • Need help using photo shop with my tshirt design

    need help

    You need to give more information. What OS? What version of Photoshop? Etc.
    If you're using Photoshop CC, then you need to have the Reference Manual:  https://helpx.adobe.com/pdf/photoshop_reference.pdf
    This forum is not necessarily a beginner's training area. You can get started with Photoshop by watching tutorial videos, trying things yourself, and finding answers to specific questions in the Reference Manual (link above).
    Here are some beginner's tutorials:  https://helpx.adobe.com/photoshop/tutorials.html
    You can also Google more advanced Photoshop tutorials, or go to Adobe.com and search for tutorials.
    Good luck.  :+)

  • Need help using school network with mail and ichat....

    so at my local community college where i go, they have free wireless as most colleges do. the first time i open safari on campus, it redirects me to a website where i have to log on the network using an email address. it then logs you on as a guest. when i am on their wireless i am unable to connect to ichat or retrieve my mail. being that the mail is more important to me i posted it in here. i have tried to get it to work numerous times and figured i would rather post here first before i go to the it guys here at school. any help would be great...thanks in advance!!!! off to class for a couple hours right now i will check back later to see if i can answer any questions that can help you guys help me figure this out...i feel like it should be simple to do, but starting to think that maybe it is not possible?

    yea i have the same problem in my college so if any one can help id appreciated

  • Re: Beginner needs help using a array of class objects, and quick

    Dear Cynthiaw,
    I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.
    I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ? In html, I assume. How did you generate the html code of your three classes ? By help of your IDE ? NetBeans ? References ?
    I already posted my question with six source code classes ... in text mode --> Awful : See "Polymorphism did you say ?"
    Is there a way to discard and replace a post (with html source code) in the Sun forum ?
    Thanks for your help.
    Chavada

    chavada wrote:
    Dear Cynthiaw,
    I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.You think she's still around almost a year later?
    I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ?Just use [code] and [/code] around it, or use the CODE button
    [code]
    public class Foo() {
      * This is the bar method
      public void bar() {
        // do stuff
    }[/code]

  • HT5622 i need help using the icloud it is not making any since to me can some one call me and help me with it please don't try to help me through email i need to talk and listen i don't understand instruction by reading

    i need help using the icloud it is not making any since to me can some one call me and help me with it please don't try to help me through email i need to talk and listen i don't understand instruction by reading.
    <Phone Number Edited by Host>

    You aren't addressing anyone from Apple here.  This is a user forum.
    You might want to call a neaby Apple store to see if they have a free class you could attend.

  • Need help on struts configuration with ColdFusion 10 using IIS

    We need help on struts configuration with ColdFusion 10 using IIS.
    Earlier we were using ColdFusion 8 with IIS 6 for one of our application.  This application internally calls struts. After upgrading to ColdFusion 10 struts calls are not loading. We get 404 error.
    In ColdFusion 8 struts were configured using  actions extension .do in IIS from this file-
    C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll.
    But in ColdFusion 10 this file is not present as ColdFusion 10 uses Tomcat in place of Jrun.
    Also there is no information in ColdFusion log file.

    Duane wrote:
    doctormirabilis, Welcome to the discussion area!
    1) how can i configure the time capsule in order to operate as a remote base station synchronizing with the relay using the ethernet port?
    Configure the Time Capsule to act as a bridge (not distributing IP addresses). Also configure the Time Capsule to create an 802.11n wireless network with a unique network name (SSID). That's it.
    2) how can i avoid that my powerbook while accessing my wireless network does connect through the relay station instead of using the time capsule?
    Configure the Time Capsule to use a different network name than the WDS link between the 2 AirPort Express (AX). Configure the PowerBook to use the Time Capsule network.
    There are 2 pieces of information that you should be aware of...
    (1) None of the PowerBooks are capable of 802.11n.
    (2) The WDS link cuts your available bandwidth in half. So the wireless link to your neighbor's has a maximum potential of 27 Mbps.
    Let's for a minute assume that you have a Mac compatible with 802.11n. In your configuration the time you could take advantage of the 802.11n speed is when the Mac is sending/recieving data directly from/to the Time Capsule.
    There would be NO speed increase in Internet access. The speed of Internet access is going to be controlled by the slowest link in the path to the Internet. That is probably the connection to the ISP. The next slowest path is the WDS link to your neighbor's.
    Duane,
    I am in a similar situation, sharing internet with my neighbor. Do you think it would be plausible to hook up a vonage phone adapter to time capsule's ethernet port if time capsule is bridging from my neighbor's router in the configuration you have described? A check of my upload speed shows 1.67Mbps (powerbookG4 w/ airport extreme). Vonage reccommends 90kbps minimum upload speed. Am I going to lose some speed putting the Vonag adapter behind time capsule?
    Thank you

  • Need help re-synching iPods with new computer and getting iTunes to...

    Need help re-synching iPods with new computer and getting iTunes to recognize our iPods (it doesn't even recognize them when they're plugged in).
    Hubby wiped my harddrive for me, so now I need to get everything back in proper places. I'm using windows XP and installed iTunes once again (I believe it's version 8). I also installed all of my iTunes songs. Now I need to know where to go from here. We have 3 iPods and I need to get them all synched once again. I know how to create different libraries for each of us, but I can't figure out how to get our songs back into our iTunes libraries. When I open iTunes and plug in an iPod, iTunes doesn't even show that an iPod is plugged in.
    What do I do now to get each of our iPods synched with our own libraries?
    TIA
    Brandy

    Thanks Zevoneer. The "Restart ipod service" worked and itunes is now recognizing my ipod! Hooray!
    Okay, now how do I synch all of our ipods with our individual libraries (I don't want all of my kids' songs and vice versa)? We each have hundreds of songs on our ipods that we don't want to lose.
    Thanks again!

  • I need helping using iAds in my application.

    I need helping using iAds in my application. I currently am not using any storyboards. I am using Sprite builder for my UI.
    I attatched an image ot show all the different file name I have.
    Everyone is being used & they all work fully.
    The "iAdViewController.h & .m" files are just example codes I looked up and was messing with so that my iAd can work.

    I wouldn't even be able to use the Mathscript node in an executable? 
    What I am trying to do is make a user configurable data stream. 
    They tell me how many bytes are in the stream and what parameters they
    want to be put in to it.  Currently I have to make vi's that are
    called dynamicaly to make the parameters.   Then recompile
    the code and send it to them.  This is somewhat of how the config
    file is set up so I know how to make the data.
    Data_Type  foo
    Bytes 30
    parameter_name        
    function           
       byte#          format
    sync              
    foo_sync            
    29               int
    time                              
    foo_time             
    1,2,3,4       double
    If I can't use MathScript to allow the user to make there own functions
    is there another way that I might be able to do this so I do not have
    to recompile the code atleast?  Were I might just be able to make
    the new function and send that to them.
    Any Idea would be great.

  • Do I need to use specific printers with Macbook Pro?

    Do I need to use specific printers with Mac?

    Only those that provide compatible printer drivers.
    OS X- Printer and scanner software available for download
    OS X Mavericks- Set up a printer

  • I have misplaced my iPod Touch 4th Generation. According to Find my iPhone, it should show up in offline mode. I need help on locating it with a software or some other way. Help?

    I have misplaced my iPod Touch 4th Generation. According to Find my iPhone, it should show up in offline mode. I need help on locating it with a software or some other way. Help?

    There is no other way.
    Sorry

  • I want to upgrade the ram on my macbook pro 13inch (early 2011). i found an 8Gb (4Gb x2) PNY "mac compatible" that is DDR3 PC3-10666 but my macbook is a PC3-10600. Do i need to use a ram with the exact specifications that my macbook lists?

    i want to upgrade the ram on my macbook pro 13inch (early 2011). i found an 8Gb (4Gb x2) PNY "mac compatible" that is DDR3 PC3-10666 but my macbook is a PC3-10600. Do i need to use a ram with the exact specifications that my macbook lists? Or will the ram i am trying to buy work fine?

    Yes that is your best bet.  Without looking at it too closely double check your options here:
    OWC http://www.macsales.com/
    or Crucial http://www.crucial.com/

Maybe you are looking for