Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

White-grey-white style in product listing


beos2008

Recommended Posts

Posted

of course there is a way--they did it--

they assigned the listings with a class, one is this :

<tr class="productListing-odd">

 

and the other is this:

<tr class="productListing-even">

 

I didnt look hard enough to see where the class is defined but that gives you an idea--probably defined on index.php, each one will have its own color I assume--all are like this--they just made theirs different colors--I think I am right anyway

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted
of course there is a way--they did it--

they assigned the listings with a class, one is this :

<tr class="productListing-odd">

 

and the other is this:

<tr class="productListing-even">

 

I didnt look hard enough to see where the class is defined but that gives you an idea--probably defined on index.php, each one will have its own color I assume--all are like this--they just made theirs different colors--I think I am right anyway

 

Thank you for your idea. Rabbit.

 

At lease this will should me the way to do it myself. Could anyone give me a simple example for this achievement?

 

Otherwise, I have to dig into the index.php see how to do that.

 

Thanks again.

Posted

actually it is in the stylesheet--I took the time to look, find the defines in the stylesheet for even and odd and change them to the hex decimal you want for your colors

hope this helps!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted
actually it is in the stylesheet--I took the time to look, find the defines in the stylesheet for even and odd and change them to the hex decimal you want for your colors

hope this helps!

 

Extending on this - are today's web browsers capable of using a hex value for an alpha value background color? So that I could say, have even/odd transparent (background for one or the other commented out in the css file) and 25% alpha transluceny of orange over an exsisting bitmapped <td background> background?

 

That possible, or is this just yet another reason FLASH is becoming more and more a requirement for involved designs these days? I'd preffer to stay HTML/PHP if possible for the time being - let me know.

Posted

yes--if you can write it properly then it should render properly--give it a try and see

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted
yes--if you can write it properly then it should render properly--give it a try and see

 

So the rendering engines of today's browser's do support alpha channel support... I was sort of thinking that they did not because none I've tried (granted this is only IE6, IE5, Firfox v1.0 Firfoxv1.5 and Opera Portable v8.5.2) can render .png files with alphas'...... Hmm then again .gif's give 100 or 0 alpha support based on channel information which is half the process...

 

But that's acedemic - as I have no earthly idea where to even start to come up with code to make this happen. Would it be scripting language? or video driver display API calls...No, you cant do that with a browser right?....

 

Oh bullox to it!.... I'll just stick to what I've got. LOL

Posted
actually it is in the stylesheet--I took the time to look, find the defines in the stylesheet for even and odd and change them to the hex decimal you want for your colors

hope this helps!

 

 

Many thanks,Rabbit... Finally, I did it.

 

Just define the color of TR.ProductListing in stylesheet.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...