Foros de discusión

web content display portlet + jQuery plugin

kawther JN, modificado hace 11 años.

web content display portlet + jQuery plugin

Regular Member Mensajes: 103 Fecha de incorporación: 3/08/12 Mensajes recientes
hi,
plz how to use a web content display portlet with a jQuery plugin??
thx.
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: web content display portlet + jQuery plugin

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Are you trying to use jQuery in Web Content template? I'm not sure what you're trying to do.
kawther JN, modificado hace 11 años.

RE: web content display portlet + jQuery plugin

Regular Member Mensajes: 103 Fecha de incorporación: 3/08/12 Mensajes recientes
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, modificado hace 11 años.

RE: web content display portlet + jQuery plugin

Expert Mensajes: 315 Fecha de incorporación: 27/12/10 Mensajes recientes
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.