掲示板
scrolling text in portlet
hi all,
I am a newbie to liferay, so apologies for any naive questions. I am using liferay 6.0 with MySQL to develop a Knowledge Management Portal.
I want to have a section called "speak excellence" which admin can update daily. I will contain Scrolling text (some Quotes). I think I can use Web content display for this ... but how to add the JS for scrolling Text in this particular instance of WEB Content Display??? Or there should be some other way to do this.
Please help....
Thanks
Krishan Kumar
I am a newbie to liferay, so apologies for any naive questions. I am using liferay 6.0 with MySQL to develop a Knowledge Management Portal.
I want to have a section called "speak excellence" which admin can update daily. I will contain Scrolling text (some Quotes). I think I can use Web content display for this ... but how to add the JS for scrolling Text in this particular instance of WEB Content Display??? Or there should be some other way to do this.
Please help....
Thanks
Krishan Kumar
12年前 に Archi Madhu によって更新されました。
RE: scrolling text in portlet
Regular Member 投稿: 237 参加年月日: 08/03/25 最新の投稿Krishan Kumar:
hi all,
I am a newbie to liferay, so apologies for any naive questions. I am using liferay 6.0 with MySQL to develop a Knowledge Management Portal.
I want to have a section called "speak excellence" which admin can update daily. I will contain Scrolling text (some Quotes). I think I can use Web content display for this ... but how to add the JS for scrolling Text in this particular instance of WEB Content Display??? Or there should be some other way to do this.
Please help....
Thanks
Krishan Kumar
Hello,
You can write JS in web content itself. Use <script> tag for same.
You may also go for templates.
12年前 に Krishan Kumar によって更新されました。
RE: scrolling text in portlet
New Member 投稿: 16 参加年月日: 12/01/18 最新の投稿
Hi Archi Madhu,
Thanxxx a lot for your response.....
But how can I add this <Script> tag for one particular Web Content portlet as I have multiple Web Content on my page. And I want to add this scrolling effect to only one Web Content.
Where in the "Web Content Display" portlet should i add <script> tag???
Thanxxx a lot....
Your help is highly appreciable....
Thanx
Thanxxx a lot for your response.....
But how can I add this <Script> tag for one particular Web Content portlet as I have multiple Web Content on my page. And I want to add this scrolling effect to only one Web Content.
Where in the "Web Content Display" portlet should i add <script> tag???
Thanxxx a lot....
Your help is highly appreciable....
Thanx
12年前 に Oliver Bayer によって更新されました。
RE: scrolling text in portlet
Liferay Master 投稿: 894 参加年月日: 09/02/18 最新の投稿
Hi Krishan,
maybe you can achieve this via pure css. You can try and give your "speak excellence" portlet a fixed height and set overflow:scroll.
HTH Oli
maybe you can achieve this via pure css. You can try and give your "speak excellence" portlet a fixed height and set overflow:scroll.
HTH Oli