francescov's public fiddles
-
JQuery Mobile
This is a sample jQuery mobile app using "data-role" elements. Page, Header, Content, Footer. Use id elements and anchors to create mobile friendly page transitions.
-
Facebook Alias to ID Converter
The JavaScript front-end to retrieve the JSON result on the PHP script created. Crisp Media - Engage Platform
-
Search Auto-Complete
A variant for adding auto-complete functionality to a site search box.
-
Word Count Function
Truncate after a set word count.
-
truncate a string (javascript)
this sample will be used to truncate a string by number of words.
-
Variant: Description
sample variant from dev3.maxymiser.com (training site). Features complex each function looping, simple ajax extraction, and moving elements around the page.
-
Javascript replace
a simple replace function
-
Javascript Checking Sort, Order, and Limit
This checks based upon what the sort, order, and limit query strings will be and whether to rewrite them appropriately.
-
qs(name) - Query String Reader
Use this function to get the value of any query string name inside a URL. Sort of like PHP's $_GET[] variable.
-
99 bottles of beer on the wall (shortened)
short version, same result
-
99 Bottles of Beer on the Wall
Full script.
-
Number to Binary Converter
This converts a number to binary and then counts just the non-zero bits.
-
Test a function's execution speed
this should be entered in firebug console.
-
Personalization_Criteria.js
THis is a sample personalization criteria script along with simple directions to get it built.
-
fv_master-script_powerbankmvt.js
Show/Hide Maxyboxes Function Override, Adding a new tab container object, Apply Button Tracking, Accordion Click Tracking, Local Branch Tracking, Download Link Tracking
-
cookie_mgmt.js
The customized cookie management functions for mmcore.js.
-
clickthruactions.js
Sample Clickthrough Action Script using one line of code. This is a site level script and takes three arguments: Page ID, Action Name, and optional Action Attribute.
-
postponed_action.js
Simple plugin creating a postponed action with one line of code.
-
TopNavClkTracking
An example to track clicks with postponed actions.
-
Assigning ID tags on similar named elements
This makes use of the :eq() selector. The :eq() selector starts at 0.