After some time of struggle, came across one solution which will definitely help in saving lots of other people effort. I did it with facebox and must admit, I didn't found it anywhere as simple enough to be directly implemented. It requires iframe along with facebox.
- Download and install facebox from http://chriswanstrath.com/facebox/.
- For installing the facebox, lot of articles can be found, if you come across any issue, let me know.
- Place the below code where you want to render the site:
<div>
<div id="interactive_ad" style="display:none">
<iframe height="500" width="800" src="www.google.com"></iframe>
</div>
<a href="#interactive_ad_1" rel="[facebox]">interactivea_ad</a>
</div>
And thats it. Now when you will click on "interactivea_ad" link, it will open a facebox popup and will display the site in popup.
No comments:
Post a Comment