Design and CSS styles
Version 7.x > Design and CSS styles > Jquery and Ajax (again) View modes: 
User avatar
Member
Member
dbraun-pediatricweb - 12/5/2012 10:41:26 AM
   
Jquery and Ajax (again)
I am following the instructions in this article:
http://devnet.kentico.com/Special-Pages/Print.aspx?printpath=/Knowledge-Base/Web-parts-Controls/Using-jQuery-and-AJAX-to-create-a-simple-menu-for&classname=cms.kbarticle

for this dev site:
https://www.migint.com:4444/Solutions/Enterprise-Resource-Planning-ERP

but as you can see in my first sample of tabs the NewsTitle is not rendering

Here is the repeater transformation, verbatim from the article with the exception of the hide() and fadein():
<a class="HoverWord"  OnClick='MyFunction{%DocumentID%}();' alt="{%NewsTitle%}">{%NewsTitle%}</a>

<script>
function MyFunction{%DocumentID%}()
{
$('#ajax').html({%NewsSummary.JSEncode()%}).hide().fadeIn('fast');
}
</script>

Do I need a WHERE condition??? Please help if you can

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/10/2012 7:22:16 AM
   
RE:Jquery and Ajax (again)
Hi,

As I can see from your URL, it seems that you have already solved this issue because I'm able to see the NewsTitle. Could you please confirm that?

Best regards,
Martin Danko

User avatar
Guest
dbraun - 12/11/2012 4:16:44 PM
   
RE:Jquery and Ajax (again)
I removed the custom jquery because I could get it to work properly.
I am using the Kentico tab layout web part, but my client would like the transition between tabs to fade in/out. Where can I customize the Kentico web part to accomplish this?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/14/2012 4:23:19 AM
   
RE:Jquery and Ajax (again)
Hi,

Your custom jQuery were conflicting with native Kentico jQuery, take a look at: How to register and use the native Kentico jQuery library

Unfortunately, this customization of Tab Menu Web Part is possible only via the Source code. Let me know if you have the license with the source code and I will discuss it with development team.

On the other side, you can create a custom Web Part and take inspiration from the in-built Tab Menu Web Part.

Best regards,
Martin Danko