Month ago me and Theme Monster built Ripple LazyLoad wordpress plugin this plugin contain 23 lazy load effect for wordpress website. Ripple LazyLoad is helpful to those who want to stay with their current theme and want lazy load effect in the current theme. Continue reading “23 lazy load effect for your wordpress”
If you are looking for a php seach script to find the items ,profile or anything within a defined radius ,then you have to use geometric formula. In this script we will use php , mysql and google geocoder. Continue reading “Php search script within a radius”
preview form before submit is a common idea. idea of making such a plugin comes in my mind when i was working on a cake project and client ask me to do it.developer needs such a plugin most of the time and don’t like to write the same code in php js or jquery again and again.
What is it ?
previewForm is a tool for displaying form content before it goes to the server for processing.This plugin provides users to confirm the data before they are going to sumit it.
It was built using the jQuery library. Licensed under both MIT and GPL licenses
- Preview the value of textbox.
- Preview the value of selectbox.
- Preview the value of radiobox and checkbox.
- Preview password field if option selected.
Example 1 With password preview.
Example 2 with password disable.
How to Use
1. First, make sure you are using valid DOCTYPE and correct form structure.
2. Include jQuery and previewForm JS files.
3. Add previewForm CSS file
4. Fire plugin using jQuery selector
API & Options
|show_password||true||Whether you want to show the password field in preview|
|extratext||‘Do You Want To submit’||Extra text before confirmation buttons|
|yes||yes||Button Label for yes button|
|no||no||Button Label for no button|
|title||Please preview||Title of preview dialog|
One of my client need this feature of google maps from address so he must be able to enter the address in its admin panel and he want to show it as google map on front end.So i made this option for him and new post for my blog.you can use this code with any language like php c# java etc or any framework.
Google maps from address with jquery and map api
The idea behind google map from address is simple.It is based on reverse geocoding google map.I am using google map v3 api.
Lets get right to the topic
we will use google map api
To get map from google you need location’s longitude latitude
you can get location geocode from google map Geocoder function.
How google maps from address works
Stage 1 : Your Address goes to geocoder.
address includes address, city/town , State, postalcode and country.
Function : google.maps.Geocoder();
Stage 2 : Geocoder fetch your address’s latitude and longitude.
Stage 3: These latitude and longitude value passed to the google map function.
Function : google.maps.Map();
Stage 4: The google map then represent these latitude and longitude value in map.
you can design your info window of address here by
Function : google.maps.InfoWindow()
Also you can set the title of your location by marker function.
Function : google.maps.Marker()
Feature of google maps from address widget
- You can select from all the four view of google map.
ROADMAP displays the normal, default 2D tiles of Google Maps.
SATELLITE displays photographic tiles.
HYBRID displays a mix of photographic tiles and a tile layer for prominent features.
TERRAIN displays physical relief tiles for displaying elevation and water features.
- You can set the zoom level of the map.
- You can get longitude latitude from google maps address(can find geocode).
- Find location by latitude longitude google map.
|Live Demo||Download Source|
by default feature of jquery auto complete in notepad++ not provided . Before the trick to provide feature of jquery auto complete in notepad++.I want to give some introduction of notepad++ and why it is my favourite. Continue reading “jquery auto complete in notepad++ (auto suggestion)”