Jan

03

Make Money On The Internet By Using PLR Products

Filed in: makemoney by admin on 01-03-10

 
You are not alone if you feel overwhelmed when searching the web for opportunities to make money on the internet. You know you want to make money online at home but do not know where to begin.

Becoming involved with PLR products is a great place to start. These type of products allowing you to manage your online home based business in ways that you might not be able to do if you are creating products of your own.

PLR products are private label rights products you can purchase and use any way you want. You can market them anyway you wish, which includes putting your business name on them as well.

Many successful Internet marketers choose to alter their private label right products in various ways that make them unique. Many times this just means changing the way they are packaged.

For example, with products in grocery stores you see this happen all the time. Changing the packaging can improve the image of the product which ultimately is designed to help it sell more. This is generally fairly easy to do and can allow you to quickly be ready to start selling your PLR products and making money from them.

One of the best things about PLR products is a sales page is usually included in the purchase and you can change this to accommodate your personal business. This is a great marketing tool that you can use wherever you like.

You can use any search engine to find many assorted products. The hardest part usually is choosing a product. There are many paid membership sites that offer new private label right products on the monthly basis and many websites that you can join for free as well.

To make money on the internet you may wish to start by finding something that coincides with any business you may already have, or something that you have some knowledge about. This can also help you make a good decision If you believe in a product.

You can start selling these products immediately and there is no reason to wait. You will have everything you need at your fingertips, so there is no delay, you can begin to make money instantly.

You can easily use PLR products to make money on the internet. If you take the time to find a product you really love, you will make a great investment that will propel you into the business world you have always wanted.

 

 

 

 

 

Paul Jesse started a online business in 2004 and has inspired many others to make money on the internet with affiliate programs. Visit his website to find out how you can make money using these effective, yet easy to implement strategies.==>http://www.sheamarketing.com

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Dec

26

Make Money Now Using Just Your Digital Camera

Filed in: makemoney by admin on 12-26-09

Making money using your digital images has never been easier. Microstock photography sites have now made it possible for just about anyone to earn money from their digital images.

Microstock photography allows users to sell their digital images for free. Users are encouraged to upload their digital images to a microstock site. Every time your image is downloaded by a registered user, you receive money. The amount you take home depends on the size and resolution of the image downloaded. iStockphoto, Dreamstime, Fotolia and Shutterstock are popular microstock sites.

Although the payout per picture is not that high, your earnings do add up. In fact, you can make thousands of dollars a month from selling many of their digital images.

Below are a few tips to get you on your way to making money through microstock photography.

Note 1: Image Quality is Important

A high end camera is not required to produce acceptable images. Any high resolution digital camera can do the job.

Note 2: Your Photos Will Be Reviewed

Each individual image submitted to microstock sites will be reviewed. Therefore, it is important to analyze your own images before submission. Also, make sure to read all the image terms and requirements before submission. Images are sometimes rejected. Today, many of the prominent microstock photography sites have tutorials that you can follow to help you take fantastic images.

Note 3: Subject matter is important

Content does matter. Certain subject matters, such as business and food images are popular. However, images of family and flowers may not make the cut. Do some research and see what image types are downloaded the most. This will give you an idea of what sells and potentially what to focus on.

Also, images containing people may require you to complete a model release form. Please read the terms and conditions of the microstock site before making such submissions.

Note 4: Portfolio Development Takes Time

To make a serious income from microstock sites, it is important to develop a portfolio containing a many high quality images. Also, make your images keyword rich. Relevant keywords will allow your images to appear more frequently in customer searches.

Also, submit your images to numerous microstock sites. This increases the probability of your images being downloaded.

With these notes in mind, you can be on your way to making serious money using only your digital camera!

Lady Money Bags is your online resource dedicated to helping you make money! Visit Lady Money Bagsto help you get started on Making Money Now! www.ladymoneybags.com

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Dec

17

Google Your Next Home: Using Google Earth to Find Real Estate

Filed in: Adsense by admin on 12-17-09

Google Earth is one of those cool little tools that, for many, has no use except for “visiting” places they used to live or have visited before. However this free tool can be immensely helpful when looking for your next home.

Many people have enjoyed looking for their houses and potential houses on Google Maps. Google Earth offers another feature: terrain. For people who don’t want to walk or bike up and down hills to access shops or local amenities, this can be important. For seniors, who may have difficulty negotiating hilly terrain, this can be a necessity.

With a click of a button, Google Earth can allow you a limited 3-D view of the house you are considering. You can then view the relative terrain in the area surrounding the house and of any major thoroughfares. Google Earth can also map the driving distance between your potential residence and favorite destinations.

Another advantage of Google Earth is that it is privy to the same information as Google Maps. If you are looking for certain amenities near the property you are considering, Google Earth will list the ones that it knows of and can be used to search for more.

Currently, the main issue with searching real estate with Google Earth is the limited nature of the listings. It is not designed as a global real estate search engine; every company/individual who wants their listings seen on Google Earth has to create a file with them on it. It is often best to search Google for real estate in the location you desire and then check to see if the company/individual is working with Google Earth.

These files have a .kml extension. KML means “Keyhole Markup Language” after the company Keyhole, Inc. Sometimes you will find .kmz file extensions which are merely .kml extensions that are zipped, due to the heavy information load that a .kml file can carry. You will need an extractor program to release these files.

In order to access these files, you have to download and install the Google Earth. Then, download and open a .kml file. When you’re downloading, a little window should pop up asking if you want to open it with Google Earth. Say yes. If it doesn’t ask you if it can open it with Google Earth, head over to that little box and tell it to use Google Earth.

Once your file is open in the program, check it out. You may have to zoom in to see all the listings (usually in the shape of houses), but once you get the hang of it, Google Earth is really easy to use. Play around with it. See what you can do with the toolbar. If you are interested in a property that you can’t find in a Google Earth file, you can enter in the address and enjoy a cool flying sensation as the globe turns and you whoosh in to hover over your destination.

One thing that I have found with Google Earth is that it is not always the best way to determine property size and the state of the building. Sites that appeared to have a decent sized lot from above turned out to be little postage-stamp places with barely enough room to squeeze through the gate! Google Earth is only the beginning; once you find a home to buy, definitely do the legwork of going to see it or getting someone to take photos that show you the entire property.

Joe Pinto is one of the top-producing agents in the Chicago real estate industry. With over 10 years of experience, Joe brings professionalism and hard work to help you in the sale or purchase of Chicago condos. For more information, visit Joe at ChicagoHomeEstates.com

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Dec

10

Google Gadgets Primer 101 – Learn the Basics of Using Google Gadgets

Filed in: Adsense by admin on 12-10-09

It is very easy to get started with Google gadgets. Follow the instructions here and you will easily be able to get customised content on your google page.

1. Sign up for a google account (it’s free and easy!).

You can use google dot com or your local google (such as the UK google).

Do you have a google account?

If so, please sign in and skip ahead to number 2.


If not you can sign up for a free account by clicking on the sign in link in the top right hand corner. This will take you to a page titled Personalize Your Homepage. On the right are two boxes. The top one is for signing in – but you are not a member yet. You need the lower box, which says, Not using Google Mail or other Google Account services? Click on Create an account now. You will have to enter your email address and a password. Make sure your password is secure as the system will not accept an insecure one. By this I mean, make sure you mix some letters and numbers into the password. You also have to tell your country, and type in some hard-to-read characters – this is to make sure that you are human and not a machine. Click on create my account.

Google will now send you an email, to make sure that your email address was correct. Check your emails and read the one from google. Click on the confirmation link in the email. You will be taken back to the google site which will tell you:

Email Address Verified

Thank you for verifying your Google account. Your account is now activated.

Well Done!

Now click on Click here to continue. You are now signed in and will see your email address at the top of the page. You’ve done the hard bit!

2. Start adding content

At last we can add the content and personalise your page! In the top left hand corner of the google page is a link saying Add content ». Click on this. You can now start clicking on any item and adding content. Just click on add it now underneath something that interests you and it will be added to your page!

Simple!

3. More personal content

Around the web you can find google modules that are useful. These have to be added by URL. To do this first find a google module that you want to use on the net – for example, there is an amazon search box located at http://www.concepttshirts.co.uk/googlegadgets/amazonussearch.xml

Using this as an example, copy the address above and go back to your main google page. In the top left hand corner of the google page is the link saying Add content ». Click on this as you did before. The page now has a google logo, a search box, a button marked Search homepage content and a smaller link to the right of the big button that says Add by URL. Click on this. You will now be prompted for a webaddress starting with http://

3. Paste the URL into the box.

Paste the URL into the box on the google page that starts with http:// .Make sure you don’t have two lots of http:// by mistake. Either delete the one in the box, or do not paste it in.

4. Almost there!

Click Add. Google will then start the process of making your personal homepage. It will ask you: You are about to add a feature that was not created by google… Just click on OK.

5. See it in action!

Now click on Back to homepage in the top left hand corner, and you will return to your google homepage, personalised for you!

6. More.

You can repeat this process as often as you want. Enjoy!


The author of this article is a member of www.conceptTshirts.co.uk and a web expert. Visit google gadgets for more gadgets and online-business help. You may reprint this article as long as a working link to conceptTshirts.com or conceptTshirts.co.uk is kept.


Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Nov

18

Critical Techniques to Successful Sales Lead Generation, Using Google Optimization

Filed in: Adsense by admin on 11-18-09

Some website owners are more frustrated about Google optimization than for other search engines. They feel it is harder to perform search engine optimization for Google.
 
Whether you are making direct sales from your website or sales lead generation (or both), optimizing for Google doesn’t need to be that hard.
 
In fact, in time you may find it easier to perform SEO for Google than for other search engines.
 
 
Remember that Google is Much Smarter than the other Search Engines
 
 
Since Google is more intelligent, you have to treat them differently.
 
If you’re trying to spam them, their intelligence is going to be a problem for you. If you’re playing by the rules and providing valuable content for searchers, then you should have no problem.  
 
What Google wants is valuable content that satisfies their users’ search queries. They want searchers to find what they’re looking for, not clicking the back button quickly, but who stay on the sites they visit.
 
There are some in the SEO community who believe time your visitors spent on your site is one of the calculations Google uses right now in their algorithm to assign organic rankings.
 
Whether this is the case or not is really irrelevant: we should all want to deliver quality content that meets our searchers query, keeps them on our sites and that leads to a conversion, a sale or sales lead generation.
 
 
Are You Optimizing for Yahoo! Search and Live Search, too? 
 
 
With Yahoo! Search and Live Search (formerly MSN) you need to have the keyword phrase you optimize for on the page. There may be some exceptions, but this is a solid rule to follow.
 
The order of the keywords makes a difference with them, too.
 
As an example, with Google, Blue Widget and Widget Blue are treated the same way. Not so with Yahoo! and Live, they are treated as completely different search phrases.
 
Given the very high market share that Google has, you may want to just optimize for Google and not Yahoo! or Live. After all, depending on whose numbers you’re looking at, Google’s market share is basically 60% to 70% of all U.S. searches!
 
(And there are hundreds of other much smaller search engines, with such small market shares that they aren’t normally worth worrying about.)
 
But if you decide to also optimize for Yahoo! Search and for Live Search, then you will likely have to create more pages, to cover all your keyword phrases.
 
So, as you create more pages for your keywords, you clutter up the Internet, unless those pages are really unique, valuable content.
 
And then there is that duplicate content filter that Google has…you don’t want to run afoul of that.
 
If you do optimize for the other engines, unless the additional content is very unique, you might be advised to keep Google out of those pages (using your robots.txt file).
 
 
Knowing that Google is More Intelligent, How do We Optimize Differently for Google?
 
 
With Google’s use of LSI (Latent Semantic Indexing), your pages do NOT actually have to contain the keyword phrase(s) you’re optimizing for. But your pages had better contain words strongly related to your chosen keyword phrases. 
 
In fact, it is common to see high ranking pages where the keyword phrase isn’t in any of the HTML tags and where it also isn’t in the page text, either. Common keyword density numbers for top ranking pages in Google range from 30% all the way down to 0% keyword density.
 
Why is this and how do we benefit performing Google optimization? 
 
Google is smart enough to understand similar words and phrases (now is when we get to use that word Synonym from English class). Thus, the actual keyword phrase doesn’t have to be on the page. But words related to the same theme as your keyword phrases need to be on the page.
 
But if our keywords don’t actually have to be on the page for Google to understand the page is about our subject (our keyword phrases), how does Google make that determination?
 
 
Off-Page SEO is the Key to Your Google Optimization and to Your Sales Lead Generation 
 
 
The links from other websites to your Web pages and what these links say about your pages is the KEY to optimizing for Google. Remember, links need to be pointed towards your interior pages, not just to your home page.
 
And those links need anchor text.
 
Anchor text is the wording that people click on to go to your Web page, when the actual link doesn’t show your website url (and file name, if going to an interior page).
 
Anchor text tells Google (and to a lesser degree, other search engines) what your Web page is about.
 
Even if the actual keyword phrases aren’t used on your page, the theme of the page text should match the anchor text pointed to that page. You want the wording to be compatible and complimentary.
 
You don’t want to confuse Google as to your pages’ themes. That can cause real problems.
 
 
Quantity Versus Quality
 
 
When considering links to your Web pages, quantity is important. You will have to research your competition to give you an idea as to the number of links you may need.
 
Two tools you can look into are SEO Elite and OptiLink. You can Google both. 
 
But MUCH more important is the quality of your links. The better quality your links, the fewer you will need versus your competition.
 
Part of how you can evaluate quality of potential links to your site is that site’s home page Google Page Rank.
 
Now, Google Page Rank is on a page-basis, not a site-wide basis. But the home page Page Rank can tell you if Google considers that site to be an “authority site”.
 
You can install the free Google toolbar if you haven’t already and activate the Page Rank feature. While the information is literally months old, it’s the easiest way to view a page’s Page Rank.
 
You want some links to your site from websites with a home page Google Page Rank of at least 5.
 
One thing you do want to watch: Don’t have to high a percentage of your links containing the same anchor text. Aim for no more than 50% of your anchor text to any page being the same exact anchor text.  
 
 
Wrapping it Up
 
 
For effective Google optimization, start by pointing enough quality links to your Web pages. One-way links are much more effective than reciprocal links, where you link back to the site that has linked to you.
 
Stay away from triangulated or 3-way links schemes. This is where site A links to site B which in turn links to site C. This is a “no-no” which Google can catch and will penalize for.
 
Use your keywords as anchor text for your links. Hold down the percentage…don’t have 70% of your links to one page using the same exact anchor text!
 
Even if you don’t have the keyword phrases on your page, you can still have top rankings, as long as your links’ theme matches your Web page content those links are aimed at.
 
Following this strategy, you can also optimize your pages for more than one keyword phrase. And without creating dozens and dozens of junk pages, just to cover all your keywords.
 
You’ll be able to increase your online sales and your sales lead generation, more easily. 
 
I’ll be following up shortly with another article, with a specific checklist sharing how I structure my link campaigns for maximum results.

Are you using

sales lead generation
to increase your sales? Paul Marshall offers Google optimization, to increase your visibility on Google,increasing your leads. Receive your Free Introductory Consultation, just visit: http://strategicwebmarketing.net

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Nov

16

Google Traffic Strategy Using Automated Google Software.

Filed in: Adsense by admin on 11-16-09

This Is A Free Traffic Strategy, Predominantly From Google. We Have Back End Sales And Repeat Commissions, More Details Can Be Found Here Http://www.mytrafficstrategy.com/affiliates.htm.

Google Traffic Strategy Using Automated Google Software.

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Nov

05

Using Perl and Regular Expressions to Process Html Files – Part 2

Filed in: TD-SCDMA by admin on 11-05-09

In this article we will discuss how to change the contents of an HTML file by running a Perl script on it.

The file we are going to process is called file1.htm:

Note: To ensure that the code is displayed correctly, in the example code shown in this article, square brackets ‘[..]‘ are used in HTML tags instead of angle brackets ”.

[html]
[head][title]Sample HTML File[/title]
[link rel="stylesheet" type="text/css" onClick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" href="style.css"]
[/head]
[body]
[h1]Introduction[/h1]
[p]Welcome to the world of Perl and regular expressions[/p]
[h2]Programming Languages[/h2]
[table border="1" width="400"]
[tr][th colspan="2"]Programming Languages[/th][/tr]
[tr][td]Language[/td][td]Typical use[/td][/tr]
[tr][td]JavaScript[/td][td]Client-side scripts[/td][/tr]
[tr][td]Perl[/td][td]Processing HTML files[/td][/tr]
[tr][td]PHP[/td][td]Server-side scripts[/td][/tr]
[/table]
[h1]Summary[/h1]
[p]JavaScript, Perl, and PHP are all interpreted programming languages.[/p]
[/body]
[/html]

Imagine that we need to change both occurrences of [h1]heading[/h1] to [h1 class="big"]heading[/h1]. Not a big change and something that could be easily done manually or by doing a simple search and replace. But we’re just getting started here.

To do this, we could use the following Perl script (script1.pl):

1 open (IN, “file1.htm”);
2 open (OUT, “>new_file1.htm”);
3 while ($line = [IN]) {
4 $line =~ s/[h1]/[h1 class="big"]/;
5 (print OUT $line);
6 }
7 close (IN);
8 close (OUT);

Note: You don’t need to enter the line numbers. I’ve included them simply so that I can reference individual lines in the script.

Let’s look at each line of the script.

Line 1
In this line file1.htm is opened so that it can be processed by the script. In order to process the file, Perl uses something called a filehandle, which provides a kind of link between the script and the operating system, containing information about the file that is being processed. I’ve called this “opening” filehandle ‘IN’, but I could have used anything within reason. Filehandles are normally in capitals.

Line 2
This line creates a new file called ‘new_file1.htm’, which is written to by using another filehandle, OUT. The ‘>’ just before the filename indicates that the file will be written to.

Line 3
This line sets up a loop in which each line in file1.htm will be examined individually.

Line 4
This is the regular expression. It searches for one occurrence of [h1] on each line of file1.htm and, if it finds it, changes it to [h1 class="big"].

Looking at Line 4 in more detail:

$line – This is a variable that contains a line of text. It gets modified if the substitution is successful.

=~ is called the comparison operator.

s is the substitution operator.

[h1] is what needs to be substituted (replaced).

[h1 class="big"] is what [h1] has to be changed to.

Line 5
This line takes the contents of the $line variable and, via the OUT file handle, writes the line to new_file1.htm.

Line 6
This line closes the ‘while’ loop. The loop is repeated until all the lines in file1.htm have been examined.

Lines 7 and 8
These two lines close the two file handles that have been used in the script. If you missed off these two lines the script would still work, but it’s good programming practice to close file handles, thus freeing up the file handle names so they can be used, for example, by another file.

Running the Script

As the purpose of this article is to explain how to use regular expressions to process HTML files, and not necessarily how to use Perl, I don’t want to spend too long describing how to run Perl scripts. Suffice to say that you can run them in various ways, for example, from within a text editor such as TextPad, by double-clicking the perl script (script1.pl), or by running the script from an MS-DOS window.

(The location of the Perl interpreter will need to be in your PATH statement so that you can run Perl scripts from any location on your computer and not just from within the directory where the interpreter (perl.exe) itself is installed.)

So, to run our script we could open an MS-DOS window and navigate to the location where the script and the HTML file are located. To keep life simple I’ve assumed that these two files are in the same folder (or directory). The command to run the script is:

C:>perl script1.pl

If the script does work (and hopefully it will), a new file (new_file1.htm) is created in the same folder as file1.htm. If you open the file you’ll see the the two lines that contained [h1] tags have been modified so that they now read [h1 class="big"].

In Part 3 we’ll look at how to handle multiple files.

John is a web developer working for My Health Questions Matter, a company dedicated to helping patients to get the most out of their interaction with health care professionals such as doctors, midwives, and consultants by generating a set of health questions a patient can ask at an appointment.

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Nov

05

When Is Google-earth Going To Start Using Its New Satellite Technology?

Filed in: Adsense by admin on 11-05-09

I heard google bought a new satellite or something so you can see anything “bigger than a shopping bag” with amazing clarity. When is this going to be implemented?

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Nov

04

Partial Page Rendering Using Hidden Iframe

Filed in: TD-SCDMA by admin on 11-04-09

Partial Page Rendering Using Hidden IFrame

Executive Summary:

Partial-page rendering removes the need for the whole web page to be refreshed as the result of a postback. Instead, only individual regions of the page that have changed are updated. As a result, users do not see the whole page reload with every postback, which makes user interaction with the Web page more seamless.

Developers that want to add such behaviors to their web pages are often faced with a difficult decision. All of these actions can be implemented using a very simple solution: by refreshing the entire page in response to the user interaction. However this solution is easy but not always desirable. The full page refresh can be slow, giving the user the impression that the application is unresponsive. Another option is to implement such actions using JavaScript (or other client-side scripting technologies). This results in faster response times, at the expense of more complex, less portable code. JavaScript may be a good choice for simple actions, such as updating an image. However, for more complicated actions, such as scrolling through data in a table, writing custom JavaScript code can be a very challenging undertaking.

This paper provides a solution which avoids the drawbacks of the full page refresh and custom JavaScript solutions. In this paper partial page rendering functionality provides the ability to re-render a limited portion of a page. As in the full page render solution, partial page rendering sends a request back to the application on the middle-tier to fetch the new contents. However, when partial page rendering is used to update the page, only the modified contents are sent back to the browser. This paper gives the solution using a hidden IFrame and simple JavaScript to merge the new contents back into the web page. The end result is that the page is updated without custom JavaScript code, and without the loss of context that typically occurs with a full page refresh.

Introduction:

Web pages typically support a variety of actions, such as entering and submitting form data and navigating to different pages. Many web pages also support another type of action, which is to allow the user to make modifications to the contents of the web page itself without actually navigating to a different page. Some examples of such actions include.

Clicking on a link could update an image on the same page. For example, an automobile configuration application might update an image of a car as the user chooses different options, such as the preferred color.

Selecting an item from a choice box might result in modifications to other fields on the same page. For example, selecting a car make might update the set of available car models that are displayed.

Clicking a link or selecting an item from a choice could be used to scroll to a new page of data in a table. Clicking a button in a table might add a new row to the table.

All of these actions are similar in that they result in the same page being re-rendered in a slightly different state. Ideally, these changes should be implemented as seemlessly as possible, so that the user does not experience a loss of context which could distract from the task at hand.

Partial page rendering can be implemented with very simple solution using a hidden IFrame and minimal JavaScript. Any part of the page can be partially rendered with using a div or table tags in HTML.

Page Elements That May Change During PPR:

•Re-Render Data: The same fields are redrawn but their data is updated. Examples include the Refresh Data action button, or recalculate totals in a table.

•Re-render Dependent Fields: Fields may be added, removed, or change sequence, and data may be updated. Examples include the Country choice list, which may display different address fields, and toggling between Simple and Advanced Search.

•Hide/Show Content: Both fields and data toggle in and out of view.

Page Elements That Do Not Change During PPR:

Some page elements are always associated with a page, regardless of the content displayed on the page.

As a general rule of thumb, elements above the page title (except message boxes) remain constant and do not change position, whereas elements in footer constant but may move up or down the page to accommodate changes to page content. The following elements never change when PPR is initiated:

• Branding

• Global buttons

• Tabs, Horizontal Navigation, SubTabs

• Locator elements: Breadcrumbs, Train, Next/Back Locator

• Quick links

• Page titles (first level header)

• Page footer

• Separator lines between the Tabs and Page Title

In most cases the following elements will also not change, other than moving up or down the page to accommodate changed elements. Nevertheless, in certain cases actions on the page may require them to be redrawn:

• Side Navigation, unless it contains a Hide/Show control.

• Subtabs

• Contextual information

• Page-level action/navigation buttons

• Page-level Instruction text

• Page-level Page stamps

• Page-level Key Notation

In all above scenarios this solution can be used to achieve the good performance and user interaction of the web pages.

Contexts in Which PPR Should Not Be Used:

When PPR is implemented correctly, it significantly improves application performance. When performance improvement is not possible with PPR, it should not be implemented, thus avoiding unnecessary code bloat, PPR can’t be used when navigating to another page (with a different title).

Partial Page Rendering Solution:

Solution provided to the Partial Page Rendering using simple hidden iframe and JavaScript, this can be used as a generalized solution to all the Partial Page Rendering scenarios.

Below is the main html (Table 1.1), which will have two buttons one is to show a simple table which will be generated by the server, and another button to remove the table.

[html]

[head]

[title] Main Document [/title]

[script language="JavaScript"]

[!--

function showTable() {

hiframe.location="./table.htm";

}

function removeTable() {

document.getElementById("tableId").innerHTML="";

}

//--]

[/script]

[/head]

[body]

[iframe id="hiframe" style="visibility:hidden;display:none"][/iframe]

[table]

[tr]

[td]Table::[/td]

[td][/td]

[/tr]

[tr]

[td colspan="2"][div id="tableId"][/div][/td]

[/tr]

[tr]

[td][input type="button" value="Show Table" onclick="showTable()"][/td]

[td][input type="button" value="Remove Table" onclick="removeTable()"][/td]

[/tr]

[/table]

[/body]

[/html]

Table 1.1

[iframe id="hiframe" style="visibility:hidden;display:none"][/iframe]

This iframe tag is used as target to the Partial Page Rendering Request.

The tag [input type="button" value="Show Table" onclick="showTable()"] gives the user action to get the contents of a table from the server, in this solution sample html is provided to render the table, which supposed to be generated by the server.

The tag [input type="button" value="Remove Table" onclick="removeTable()"] gives the user to remove the table from the user interface.

The JavaScript

function showTable() {

hiframe.location=”./table.htm”;

}

Is used to get the contents from the server, the line hiframe.location=”./table.htm”; sends the GET request to the server, and as a response iframe gets the HTML.

If the requirement insists to send a POST request for Partial Page rendering Response, that can be achieved by setting the html form element target attribute as the name of hidden iframe.

The code for the post request looks like

[form method=”post” action=”/myaction” target=”hiframe”]

Partial Page Rendering Server Response:

Table 1.2 shows the sample response from the server for Partial Page Rendering. This response has the JavaScript code to transfer the HTML from hidden iframe to main page.

[html]

[head]

[script language="JavaScript"]

[!--

function iframeLoad() {

parent.document.getElementById("tableId").innerHTML = document.getElementById("tableId").innerHTML;

}

//--]

[/script]

[/head]

[body onload="iframeLoad()"]

[div id="tableId"]

[table]

[tr]

[td]1[/td]

[td]One[/td]

[/tr]

[tr]

[td]2[/td]

[td]Two[/td]

[/tr]

[/table]

[/div]

[/body]

[/html]

Table 1.2

The tag [div id="tableId"] encloses the content to transfer from hidden iframe to main page.

[table]

[tr]

[td]1[/td]

[td]One[/td]

[/tr]

[tr]

[td]2[/td]

[td]Two[/td]

[/tr]

[/table]

This is the content to show the table to user.

The code [body onload="iframeLoad()"] is used for triggering the action to transfer the content.

function iframeLoad() {

parent.document.getElementById(”tableId”).innerHTML = document.getElementById(”tableId”).innerHTML;

}

This JavaScript function does the transferring data from the hidden iframe to main page.

parent.document.getElementById(”tableId”).innerHTML This part refers to tag div html id in main page and this part document.getElementById(”tableId”).innerHTML refers the HTML of the Partial Page Response.

Conclusion:

Improve the user experience with Web pages that are richer, that are more responsive to user actions, and that behave like traditional client applications. Reduce full-page refreshes and avoid page flicker. Partial page rendering using iframe is a very simple solution.

References:

1. http://ajax.asp.net/docs/overview/PartialPageRenderingOverview.aspx

2. http://www.w3schools.com/htmldom/dom_obj_document.asp

3. http://www.w3schools.com/tags/tag_iframe.asp

4. http://www.oracle.com/technology/tech/blaf/specs/ppr.html

5. http://download-west.oracle.com/otn_hosted_doc/jdeveloper/904preview/uixhelp/uixdevguide/partialpage.html

Madhusudan Pagadala is working as a Senior Software Engineer at NetZero,UnitedOnline, Inc., located in WoodlandHills,California,USA. He has 9+ years experience in Web Technologies like J2EE, HTML, and JavaScript. He pursued Master of Technology in AeroSpace Engineering from the prestigious college IIT, Kharagpur-India.

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:

Nov

01

New Make Money Online Using A Simple Method.

Filed in: Adsense by admin on 11-01-09

Money, Adwords, Adsense Make Money Cash, Fast Money, Instant Money Affiliate HiJack Protection!

New Make Money Online Using A Simple Method.

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to:


Categories:


Powered by Yahoo! Answers