Javascript variable into php variable

You can do it by setting url variables or session variables.  
one way to do this is to pass the url like this

<SCRIPT LANGUAGE='JavaScript'>
<!-- //
var name="Dave";
var number=100;
document.write('<a href="another_page.php?name='+name+'&number='+number+'">another page</a>');
// -->
</SCRIPT>
from http://www.iwdp.co.uk/pfv/javascript_to_php_PFV.htm

then get the variables using php

<?php $var1 = $_GET['name']; $var2= $_GET['number']; ?>



you can do this via GET, POST, SESSION

You could do this all on the same page if you wanted to by calling a javascript function that sets these variables and then php gets them.
Read more!

Gaia Flash Framework: Speed up Development for All Flash Sites

gaia-flash-framework.jpg

For all you flash developers out there this is a real treat. Gaia is a flash framework that can speed up development drastically for your all flash sites.
I can't wait to try and use this in on a project. It gives you a simple way to handle the navigation, transitions between pages, preloading and deeplinking. 
Talk about a time saver. That's half a website right there. Oh…did I mention that it also handles SEO. It uses an XHTML file that serves as both the 
data source and the embed page for each page in your site.
 The way the site is structured seems logical, and doesn't seem to get in your way of building a great web site.

Here is a video that walks you through the framework : Gaia Screencast
Here is their website: Gaia Website
Here is the download page: Gaia Download

For those of you that have used this framework before, we would love to here your input on it.

Read more!

What is AJAX

AJAX offers users a seamless way to work with your interface, no waiting for whole pages to load.  
jQuery has a set of tools to make it super simple to implement. 
We will walk you through how to use jQuery to connect to PHP so you can step up your user interface.

What is AJAX
plainly means that instead of waiting for the whole page to load, you can load only what you need to. 
 So if you only need to update one small text part of your site, 
you don't have to worry about loading everything else on that page
Read more!

Overcoming Flash Validation Issues

Flash embedding that is compliant with the web standards has always been an issue as the code runs very long and it is very difficult to place Flash reliably.

So, how to overcome validation issues of Flash object on a web page?

Use jQuery's document ready function (JavaScript which is triggered when the DOM is loaded).

Have a look at the below code:

jQuery Part

$(document).ready(function(){

if ($.browser.msie) {


$('#flashdiv').html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width="468″ height="60″><param name="movie" value="yourflashfile.swf" /><param name="wmode" value="transparent"/></object>');

} else {

$('#flashdiv').html('>object type="application/x-shockwave-flash" data="yourflashfile.swf" wmode="transparent" width="468″ height="60″></object>');
}
});

Note: Please use the above code in a separate .js file and just call it in the webpage.

HTML Part

<body>
<div id="flashdiv"></div>
</body>

The 'if' statement detects the browser used and uses the best method of flash embedding to compliment that particular browser. The $('#flashdiv').html(); takes the element with the ID of flashdiv and injects into it the content. This helps to place the code we want to load into the div. This technique is extremely SEO friendly as there will be only empty div when scanned by the search engine spiders and also there will not be any validation issues.
Read more!

Home Medicine for SWINE FLU

Please share it as much as possible and as fast as possible ....... 

Obviously Prevention is better than cure. 

National Institute of Virology Scientific prevention of 
swine Flu using house hold Products

1. Use Nilgiri oil drops on handkerchief.- Inhale Clove oil ( Lavanga) for 1 sec ,

2. Chew 1 Lavanga a day

3. Eat raw Garlic , Onion, Ginger 1-5 gms

4. Drink hot milk with 2gm of Turmeric

5. Consume plenty of Vit C Fruits

Read more!

CSS IMAGE PRELOADING...

 After placing the css in your stylesheet, insert this just below the body tag of your page: "". Whenever the images are referenced throughout your pages they will now be loaded from cache


  1. #preloadedImages {
  2. width: 0px;
  3. height: 0px;
  4. display: inline;
  5. background-image: url(path/to/image1.png);
  6. background-image: url(path/to/image2.png);
  7. background-image: url(path/to/image3.png);
  8. background-image: url(path/to/image4.png);
  9. background-image: url();
  10. }
Read more!

Handy Tools for Websites Analysis

Do you want to know what is your reputation across the web? If YES, than this post is dedicated to you. In this article you can find 11 tools for analyzing your website's reputation – stats, feeds, rankings etc.

1. Quantcast

quantcast
Quantcast is one of the 3 major websites dedicated to website traffic and audience. Quantcast provides publishers, marketers and agencies unmatched capabilities to measure, organize, discover and transact based on directly-measured traffic and inferred audience data.

2. Compete

compete
Compete is a site similar to Quantcast. Compete's ranking is based on the stats of +2.000.000 US citizens – this means that Compete is not so accurate outside of US. Anyway – check out Compete for your ranking and compare your results with your competitors'.

3. Alexa

alexa
Alexa is one of the first ranking websites with advanced data regarding target population, country rank and others. The problem with these statistics is that they are provided based on Alexa Toolbar. Again, this fact makes Alexa's data inaccurate.

4. BuiltWith

builtwith
This tools is quite complex – it shows you various information about your site or any particular site (technologies used, seo) and it helps you optimize your site. Very useful when you don't know much about SEO. It has a paid version as well that has a lot more tips and info.

5. Dataopedia

dataopedia
Dataopedia.com is a web service that provides comprehensive information (50 different sources) about websites available on the Internet.

6. BizShark

bizshark
BizShark is a direct competitor to Dataopedia. Both sites share the same concept and have similar information. You will have to decide which one suits you.

7. Quarkbase

quarkbase
Quarkbase is another site that gathers its info from multiple sources, but here is their definition: Quarkbase is the best way to find website information contributed by website owner, lover and the Internet Community.

8. Website Grader

website-grader
From my point, this is one of the most useful analysis site. It has a great composition of information: social, seo, general info. It even gives you hints and a grade – to compare and further optimize your site.

9. Popuri.us

popuri-us
This tools is a lightweight tool that gives you the most common ranks available on the web: Google Page Rank, Alexa Rank, Compete Rank, Technorati Rank etc.

10. Feedcompare

feed-compare
This website is useful when you want to compare your number of feed subscribers with the number of subscribers. For this you must have a FeedBurner account.

11. XinuReturns

xinu-returns
XinuReturns is a tool that shows you pretty much everything – Google Page Rank, Yahoo Links, FeedBurner subscribers,Technorati, DMOZ etc. It is perfect for a fast small popularity analysis.

There are other sites as well with interesting results, but I think these ones are the most important. Cheers!

Read more!

Lost Mobile Can be Tracked.....

Now a days each one of us carry Hi Fi
Mobile devices and always fear that it may be stolen.

Each mobile carries a unique IMEI i.e International Mobile Identity
No which can be used to track your mobile anywhere in the world.

This is how it works!!!!!!

1. Dial *#06# from your mobile.

2.Your mobile shows a unique 15 digit Serial No.

3.Note down this no anywhere but except your mobile as this is the no which will help trace your mobile in case of a theft.

4.Once stolen you just have to mail this 15 digit IMEI no. to
cop@vsnl.net

5.No need to go to police.

6.Your Mobile will be traced within next 24 hrs via a complex system of  GPRS and internet.

7.You will find where your hand set is being operated even in case your no is being changed.


Read more!

http://idgettr.com/ > find your Flickr user or group id

http://idgettr.com/

Use this tool to find your Flickr user or group id. Just enter the address of your photostream or group pool and it'll find the number for you.
Read more!