View Single Post
Old 12-02-2012, 01:56 AM   PM User | #27
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 860
Thanks: 68
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
It's a relatively simple site. In total there are 6 pages (just html template files) which are loaded in with PHP.

Having said that, at the moment when they hover over the image on the products page, I want it to obviously show the jquery effect. But when they click it, it just opens the image into a new window to show the larger version, as you would expect.

Would be quite good if when they actually clicked it, I open the link to a template file showing the descriptions and all information to do with that individual product. Kinda like when you go on Argos or something, you click a product and it goes into a new page loading in just the content to do with that product.

Oh god this is getting deep.

At this moment in time, I'm very much considering to edit the database and retrieve it into the data-desc attribute.

Can't seem to find much documentation on data-desc....

Is it a new HTML 5 attribute?

Edit: Yep going to go with adding an extra column in my table. Just gone through and I've only got to modify the query and slightly modify the script which retrieves/displays the products info to compensate for the data-desc. May as well go for it, should prove a good challenge!

Regards,

LC.
__________________
Carewizard - http://www.carewizard.co.uk

Last edited by LearningCoder; 12-02-2012 at 02:18 AM..
LearningCoder is offline   Reply With Quote