Foren

web content display portlet + jQuery plugin

kawther JN, geändert vor 11 Jahren.

web content display portlet + jQuery plugin

Regular Member Beiträge: 103 Beitrittsdatum: 03.08.12 Neueste Beiträge
hi,
plz how to use a web content display portlet with a jQuery plugin??
thx.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: web content display portlet + jQuery plugin

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Are you trying to use jQuery in Web Content template? I'm not sure what you're trying to do.
kawther JN, geändert vor 11 Jahren.

RE: web content display portlet + jQuery plugin

Regular Member Beiträge: 103 Beitrittsdatum: 03.08.12 Neueste Beiträge
hi, actualy I need to create a web content display portlet in which I put some logos (photos), when I click on a photo I want a popup to show up .
so I am trying to use "bpopup jquery" (it is a lightweight jQuery modal popup plugin) but the problem that I dont know how to use jQuery plugin with a web content display portlet .
I hope this clarifies the issue to you. thanx
Gwowen Fu, geändert vor 11 Jahren.

RE: web content display portlet + jQuery plugin

Expert Beiträge: 315 Beitrittsdatum: 27.12.10 Neueste Beiträge
One way is to include the jQuery in theme. Find the theme and locate portal_normal.vm, add <script src="/html/js/jquery/jquery_file_name_here.js"></script> inside the <head> section.