Login for meta staff:

@

Universal clickTag code AS2

on(release){

  var param = ((url)? url : 

          ((clickTAG)? clickTAG : 

          ((clickTag)? clickTag : 

          ((ClickTag)? ClickTag : 

          ((link1)? link1 :

          ((ClickTAG)? ClickTAG : ''))))));

  if(param){

    getURL(param, "_blank");

  }

}


Permanent link

clickTag in ActionScript3

Here is simple quick tutorial for using clickTag code in AS3.

 

AS2 to AS3 migration issues: 

1.In AS3 flashVars variables doesn't exist in root, so we need to access them from AS3 loaderInfo class

2.Using event listener to track down mouse click. 

3.Using URLRequest in place of getURL

 

Read on...

Using JW Player (the Longtail Flash player) and Javascript API to make HTML-Javascript -controlled player

In this post I will show an example of using Adobe Flash as an invisible tool for playing MP3 files. The Flash player is controlled by Javascript, that is called by simple OnClick events. This gives you the most customizible player that has pure HTML player controls. Live examples.

One example shows how to get the currently playing song's title, the second one shows how to send a command to player to play a certain file and the currently playing time ticker.

   

Run Dmc & Aerosmith - Walk This Way   

The Doors - Light My Fire.mp3   

Deep Purple - Smoke On The Water.mp3    

Read on...

MooTools usage example

http://sentinel.undaground.co.il - nice exemple of usage of popular MooTools javacript library/framework.

The object's distribution is not most optimal, but still it looks fine. The example uses the Fx.Styles component to morpth the "margin-top" value, and can render any multiline string in title.

Permanent link

HTML select list of countries

You can use this list of coutries to make user choose a country. Long list, with most common countries on top of the list.

Sample:

Read on...

Yet another CSS menu (dropdown with submenus)

A 100% working CSS menu, works both in Firefox and Internet Explorer. It has a small script that applies a "over" event to <li> element that changes li's class name to "hover". So you can use li.hover (IE) instead of li:hover (for Firefox) in your CSS files. Here is the live test:

 

 

 

 

Read more for HTML, Javascript and CSS code.

Read on...

Products | HebKeyb . php

HebKeyb is a tool for typing Hebrew texts.

When You are missing Hebrew layout on your computer, you can use this virtual Hebrew keyboard.

By Metaform.

 

Permanent link

Producing a CSV document in PHP (for Excel, for example)

The CSV files have the UTF-16 Little Endian encoding. To convert a more common UTF-8 tab-delimited text to CSV and produce it to user for download I use the following code:

$data = mb_convert_encoding($data, "UTF-16LE", "UTF-8");
$data = chr(hexdec('FF')) . chr(hexdec('FE')) . $data;

header("Content-type: text/csv");
header("Content-Disposition: attachment; \r\nfilename=\"data.csv\"");   
echo $data

The second line of code adds the Byte Order Mark, or BOM.

The BOM tells applications to treat the file as a text document in multi-byte encoding. Different BOMs specify different types of multi-byte encodings (UTF-16 Big Endian, UTF-8, etc)

Permanent link

Choosing proper DOCTYPE declaration (DTD)

DOCTYPE Declaration, or DTD, is a special HTML document declaration, that tells newer browsers to what version of HTML the developer relied on. The problem is that newer browsers decided to go closer to supporting the W3G standards, and for the backward compatibility they said to all the developers: we render old sites as we did prior, but if you want to signal browsers to render your HTML like W3C asks, please include  the following code lines to the beginning of HTML. The browsers, when rendering HTML, should see that if the site is without the declaration, it should be rendered as if the developer made his HTML and CSS compatible with both browsers, while working with older versions.

 

Read on...

Products | WebreH . php

Simple and very useful application by Metaform.

Reverse Hebrew (or any other) string text. Especially usefull for entering Hebrew texts to Photoshop, Flash, and other text-direction-unaweare applications.

webreh.php

Permanent link

How to Track Ajax Events And Flash Pageviews In Google Analytics?

A relatively new feature of Google Analytics allows to track Ajax and Flash events rigth into Google Analytics system.

The problem with Ajax and Flash events is that the actual URL of the page does not change, and no page refresh is performed, so the counter is not reloaded and can not track the changed page. So, It is enough to call a function named _trackPageview when an Ajax request or Flash event is called:

pageTracker._trackPageview("/pagefilename1");

 

Since the parameter for this function is ANY text, you can go even further and mark specific events in you Google Analytics counter:

pageTracker._trackPageview("/articles/article1");
pageTracker._trackPageview("/news/news1");
pageTracker._trackPageview("/login/welcomeText");

 

In Flash You should call the _trackPageview() with Actionscript in the following manner:

getURL("javascript: pageTracker._trackPageview('/page_name_goes_here'); void(0);");

Now, if your event is not actually a content navigation, but a tracked user action, then you should use the _trackEvent() function:

pageTracker._trackEvent("event.category", "event.action", "event.label");

pageTracker._trackEvent("auth", "login", "success"); // Track the success
pageTracker._trackEvent("auth", "login", "fail""); // Track the failure
pageTracker._trackEvent("auth", user_id, "login"); // Track he user action

This kind of event will appear in the "Events" section in 

 

Note: do not forget to place the include of the google tracker code in the <head> section of your page! The pageTracker._trackPageview() can be invoked only after the google code was loaded on the page!

 

Permanent link

Check Your site texts for uniqueness and originality

Advego Plagiatus - a software that searches any text that You enter for being already distributed on the Internet.

It actually searches for the same text on the Internet, or even the original text, that the input was rewritten from. This tool can help define if a text that is claimed to be original is actually was written by a copyrighter. The software is free.

It is still doubtfull, though, if the checking algorythm anyhow mathes the algorythm used in search engines for determine original or matchnig texts.

 

Source: Web Hole | Программа для проверка уникальности Advego Plagiatus - лучший выбор вебмастера

Permanent link

Setting mouse pointer to "hand" with CSS for both IE Explorer and Firefox

To set mouse pointer to a hand and to make it work in both Internet Explorer and Firefox, set this style for and element:

.submitButton { cursor: pointer;cursor: hand; }
Permanent link

HTML default Style Sheet

If you have ever wondered what is the default CSS definition of the html without any styling, you probably have relied on the default formatting, but IE and FF actually have different default styles applied.

Lets see what is the style sheet that browsers were advised to use as the default by W3C:

Read on...

Yandex sitemap example

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://developerinfo.net/wp-content/plugins/google-sitemap-generator/sitemap.xsl"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

	<url>
		<loc>http://form.co.il/loc>
		<lastmod>2008-10-24T17:47:33+00:00</lastmod>
		<changefreq>monthly</changefreq>
		<priority>0.9</priority>
	</url>
	<url>
		<loc>http://form.co.il/link1</loc>
		<lastmod>2008-10-24T17:47:33+00:00</lastmod>
		<changefreq>monthly</changefreq>
		<priority>0.2</priority>
	</url>
	<url>
		<loc>http://form.co.il/link2</loc>
		<lastmod>2008-10-24T17:47:33+00:00</lastmod>
		<changefreq>monthly</changefreq>
		<priority>0.2</priority>
	</url>
</urlset>
Permanent link

Pulling static HTML pages from Metaform CMS-generated site

The Russian part of Bank Hapoalim website is something completely different from the main Hebrew website, for maximum possible security the informational part of the site is stored as static HTML pages. The site contains about 200 pages, so keeping it in actual static HTML files would be a hard time. After switching to a new design, the Russian part is being managed on a closed internal server, and is actually functioning as a dynamic CMS. Read more to see how Linux wget utility and Metafom's CMS can be used to generate static content...

Read on...

COPYPASTE

Too boring to look for this on the Internet.

Read on...

Complete solution:

  • Internet planning
  • Web design
  • Web programming
  • Content management
  • Support
  • Exclusive hosting
  • SEO & promotion

read more....



Advego Plagiatus новая прогамма для проверки уникальности