Real time GPS Tracker on JUST HTML / JS and Google Maps to be run on a handphone? Is it possible?

Yes, it is possible. Most browsers in the latest smartphones have implemented the W3C Geolocation API: The Geolocation API defines a high-level interface to location information associated only with the device hosting the implementation, such as latitude and longitude. The API itself is agnostic of the underlying location information sources. Common sources of location information … Read more

Detect when elements within a scrollable div are out of view

Here’s a pure javascript version of the accepted answer without relying on jQuery and with some fixes to the partial in view detection and support for out of view on top. function checkInView(container, element, partial) { //Get container properties let cTop = container.scrollTop; let cBottom = cTop + container.clientHeight; //Get element properties let eTop = … Read more

Track mass email campaigns

The code works in the following way: <style> /* Print stylesheet */ @media print{ #_t { background-image: url(‘https://a6.emltrk.com/XX0000XX?p’); } } /* Forward stylesheet */ div.OutlookMessageHeader, table.moz-email-headers-table, blockquote #_t { background-image:url(‘https://a6.emltrk.com/XX0000XX?f’) } </style> <!– Extra DIV –> <div id=”_t”></div> <!– Main Image –> <img src=”https://a6.emltrk.com/XX0000XX” style=”display:none” width=”1″ height=”1″ border=”0″ /> There is an image that gets … Read more

How can we track hashtags with the new facebook hashtag implementation

There is currently no API for the hashtags feature on Facebook edit: there was however a public posts search function which will return some public posts with a certain hashtag if you use that hashtag as the search string in API version 1.0 – there is no equivalent in version 2.0 onwards It ignores the … Read more

Facebook Conversion Pixel code: BODY vs HEAD

According to this answer here: https://www.facebook.com/help/community/question/?id=10200354561858276 you can place it inside the <BODY> element but FB recommends to keep it at the beginning of <BODY> or in the <HEAD> as the conversion will be then counted even if the page does not load fully or the user closes the page.