<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>

<script src="/path/to/frequency.js"></script>



<span data-frequency="2.71828">This will flash once in 2.71828 seconds.</span>

<span data-frequency="10">This will flash once in 10 seconds.</span>



This will flash once in 2.71828 seconds.

This will flash once in 10 seconds.