Jump to content

Help with code


Amurciar

Recommended Posts



Hello!

 

I have installed thickbox and fancybox and I would like to know how to force a function.

18a5f92dd40581c4854ecfe4d6fc4f2b.png


 


 


 


When in my index pulse on some image I open that window with the product. I would like to know if it is possible that I will have it if for example I indicated that product ID I want to see through a $ _GET.


 


Example: pepe.php?idpv=82


 


I would like the product information ID 82 to be output in that window, as is. As if he had clicked on it.

 

 

It's possible?

 



Link to comment
Share on other sites

you should be able to use a URL of the facebox target  so you can specify the product ID with query string.

or you can use hidden field to have product ID inside the target elements. You should be able find a lot of those example if you google it.

 

http://stackoverflow.com/questions/14362781/open-url-in-active-inline-fancybox

http://stackoverflow.com/questions/17126417/fancybox-2-open-iframe-version-from-code

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...