Text Shadow In 3D Effect

Text Shadow In 3D Effect

Hello Friends Today we are discuss Text-Shadow With CSS.this Word Firefox,safari,Chrome and Internet explorer Is Not Working . The CSS 2 property text-shadow is supported in Safari since version 3 (also available for Windows), Opera since 9.5, Firefox since 3.1, Google Chrome since version 2, Konqueror and iCab.

Read full story Comments { 0 }
Google Maps JavaScript API v3: method Polygon.getBounds

Google Maps JavaScript API v3: method Polygon.getBounds

In Google Maps JavaScript API v2, Polygon had a getBounds() method, but that doesn’t exist for v3 Polygon. Here’s the solution: Here, we present a simplified method: Image copyright: Google maps

Read full story Comments { 0 }
Google Maps JavaScript API v3: method Polyline.getBounds

Google Maps JavaScript API v3: method Polyline.getBounds

In Google Maps JavaScript API v2, Polyline had a getBounds() method, but that doesn’t exist for v3 Polyline. I wrote some methods below: Method 1: Method 2: Method 3 is the shortest method. Image copyright: Google Maps

Read full story Comments { 0 }
PHP: detect Point in Polygon

PHP: detect Point in Polygon

PHP function to detect Point in Polygon: Test for convex polygon: Result: IN OUT Test for concave polygon: Result: OUT IN OUT Note: we only apply this method for simple polygon (non-self-intersecting polygon). Test for complex polygon (self-intersecting polygon) Result: OUT OUT OUT Error for point 2.

Read full story Comments { 0 }

PHP: Calculate Distance Between Two Coordinates

This routine calculates the distance between two points (given the latitude/longitude of those points). It is being used to calculate the distance between two locations: Example: Result: 423232.85930123 Note: Result as meters Ellipsoidal parameters: Name Major axis, a (km) Flattening (f) WGS84 6378.13700 1/298.257223563 GRS80/NAD83 6378.13700 1/298.257222101 WGS66 6378.145 1/298.25 GRS67/IAU68 6378.16000 1/298.2472 WGS72 6378.135 […]

Read full story Comments { 0 }

PHP: convert javascript escape string to CP1251

This function can convert javascript escape string to CP1251: Example 2: result: ຈະນານຸກົມພິເສດ Read more: PHP: convert javascript escape string to UTF8

Read full story Comments { 0 }
PHP: convert javascript escape string to UTF8

PHP: convert javascript escape string to UTF8

Read first: PHP: PHP: Convert Numeric Character Reference to UTF8 Example 1: U+0621: ARABIC LETTER HAMZA Java Escape: “\u0621” Javascript Escape: “\u0621” result: ء We can create this function below: Example 2: result: สารานุกรมเสรี Alternative function:

Read full story Comments { 0 }
PHP functions: remove accents, UTF8 to ASCII, latinization (part 2)

PHP functions: remove accents, UTF8 to ASCII, latinization (part 2)

Read first: PHP functions: remove accents, UTF8 to ASCII, latinization Usage: result: Regardez les videos YouTube – notamment celles proposees en Haute Definition (HD) – en toute convivialite sur grand ecran. result: Eti prodazhi polnostyu avtomaticheskie. Imeyushiesya ezhechasnye podpiski takzhe prodolzhayut rabotat. result: Cong hoa Xa hoi chu nghia Viet Nam Some simple table to […]

Read full story Comments { 0 }
PHP get image path from text

PHP get image path from text

Is it possible to get image path from some text using PHP ? For example, we have a text with such code somewhere inside it This text is stored in DB (as article). How to get image path (in this example it is – http://tutorialspots.com/wp-content/uploads/2013/04/1.png) from text? Of course, text and images varies from article […]

Read full story Comments { 0 }
PHP functions: remove accents, UTF8 to ASCII, latinization

PHP functions: remove accents, UTF8 to ASCII, latinization

There are many methods to remove accents, UTF8 to ASCII, latinization: Method 1 Using iconv function: result: Regardez les vidos YouTube – notamment celles proposes en Haute Dfinition (HD) – en toute convivialit sur grand cran. result: Regardez les vid’eos YouTube – notamment celles propos’ees en Haute D’efinition (HD) – en toute convivialit’e sur grand […]

Read full story Comments { 0 }