Pop Up/Light Box Pop Up

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Dec 03, 2013 2:55 am
Reply with quote
Report this post
hi,
how to make Pop Up/Light Box Pop Up when we click a menu or a link (image Link)?
this is the example from Simplicity Template : http://demo.gavick.com/joomla25/simplicity/
when we click "watch the introduction", then will open a pop up/light box pop up..

thanks
Ari
User avatar
Junior Boarder

teitbite
Tue Dec 03, 2013 7:52 am
Reply with quote
Report this post
Hi

You just need to add a class "modal" to make it like that, but I'm not sure if it will work in all places. Need more informations about how do You want to use it ?
User avatar
Moderator

GK User
Wed Dec 04, 2013 1:20 am
Reply with quote
Report this post
I want tou use for image on the grid. when i click a images on the grid, will pop up a single article a(not K2 article)..
how to add a class modal?

thanks
User avatar
Junior Boarder

teitbite
Thu Dec 05, 2013 9:01 am
Reply with quote
Report this post
Hi

Is this image a custom module ? If yes than please use a construction of HTML like this example below:

Code: Select all
<a href="https://www.gavick.com/forums/viewtopic.php?f=229&t=31175&tmpl=component" class="modal"><img src="some/image.jpg"></a>


2 things are the most important in this case:

LINK: needst to be ended with a "tmpl=component" parameter or You will display whole page again in popup.

CLASS: class "modal" needs to be added to <a></a> values.
User avatar
Moderator


cron