Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Tuesday, August 6, 2013

SEO Friendly Coding...

Generating text inside the JavaScript:
<'script type="text/javascript"'>
function onMouseOver1() {
var infoText = "info about button";
document.getElementById('infoblock').innerHTML = infoText;
}
<'/script>
<'body>
<'img src ="some.jpg" onmouseover="onMouseOver1()" />
<'div id="infoblock"><'/div>
<'/body>
Reportedly some search engines may skip over the infoText inside the JavaScript. Instead, try placing informational text inside the HTML code like this:
<'style type="text/css">
#infoblock1 {
display:none;
}
<'/style>
<'script type="text/javascript"'>
function onMouseOver1() {
document.getElementById('infoblock').innerHTML =
document.getElementById('infoblock1').innerHTML;
} <'/script>
<'body>
<'img src ="some.jpg" onmouseover="onMouseOver1()" />
<'div id="infoblock"><'/div>
<'div id="infoblock1">
info about button
<'/div>
<'/body>
}

3 comments:

  1. I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. business seo

    ReplyDelete
  2. This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.

    ReplyDelete
  3. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. marketing1on1.com/buy-backlinks

    ReplyDelete