Thursday, November 5, 2009

assignment6/e-commerce with templatized producting listings

Please click HERE to view my work.

All 17 products (photos, and text descriptions) are templated through PHP using 17 single arrays and 1 multi-dimensional array. One "foreach" loop and all the data is passed into HTML. Cool beans.

However, I don't see how it's possible to get the mouseover to work since getting the text into the correct position every time requires css background-image for the photo. Maybe if I use PHP to place the css code directly in the body of the HTML. Seems a little awkward.

Here is an alternate layout which doesn't require the hidden/visible style.

Please click HERE for an alternate layout.

The next challenge on the alternate layout is getting the correct picture to open in a pop-up window while using PHP.

Javascript is not treating me too nicely. I'm trying to make friends with it.

Thanks!

No comments:

Post a Comment