By Neel on Wednesday, 10 September 2014
Replies 3
Likes 0
Views 1K
Votes 0
Hi Mark,

Is there a quick way to add pop-up window similar to the ones used in EasySocial? I mean lets say I want to add a div as a pop-up window:
<div id="pop-up">
This a a pop-up.
</div>

and I want it to work like the ones you use for pop-up messages, I was thinking since I am already linking to all Easysocial's js and css on every joomla page, is it possible to use those assets to make a quick pop-up in other pages by using your bootstrap classes and jquery? Would you be able to give a quick tip so I know where to start?

Thanks Mark.
The dialog requires javascript You can inject a javascript code like this to render a dialog,


EasySocial.ready(function($){

EasySocial.dialog({
content: "<div>some contents here</div>",
});

});
·
Wednesday, 10 September 2014 10:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark.
·
Thursday, 11 September 2014 01:49
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Thursday, 11 September 2014 02:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post