Call WCF service method from javascript (jQuery)

0
Comments

In Advanced Tic Tac Toe we have created WCF backend service and web-based frontend application. Our web application written in javascript, so we want to call WCF service methods through jQuery. There is a small instruction how-to call WCF service from javascript code. First of all you should decorate your service interface with WebInvoke attribute [OperationContract] [WebInvoke(UriTemplate = "Start", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, Method...

Read further...

Horizontally scrolling websites

0
Comments

I want to create Windows 8 (Metro UI) theme for Wordpress, first of all I should put all content horizontally, and allow users to scroll this content using mouse wheel. Demo To solve this problem I have used jQuery and scrollTo jQuery plugin. First of all we should subscribe to mouse wheel event: function initScrollCapture() { var body = document.getElementById("body"); var mousewheelevt=(/Firefox/i.test(navigator.userAgent))? "DOMMouseScroll" : "mousewheel" if (bod...

Read further...