I want that the phone number in my web page should be click able. I have application which has two web pages both containing numbers. In both of them I have used <a> tag for numbers to make them call able. It works fine in one of my web page, but is not working in the other page. I am not able to find the root cause for it.
I am considering that use of different elements on the two web pages must be causing this issue. Please any kind of help is most welcome.
I have tried every solution that has been listed here for such a question. But I'm not able to still find the root cause or find a solution for my problem.
try this
Call
You need to use either “tel:” or “tel://”
for example:
<!-- Embedded within normal page text -->
<p>If you'd like to talk, Call Me!</p>
<!-- Linking a custom image -->
<img src="phone.png" alt="Call Now!" />
<!-- Cross-platform compatible (Android + iPhone) -->
+1 (555) 555-5555
Refer this for more info:
http://mobile.tutsplus.com/tutorials/mobile-web-apps/phone-number-links/
Hope this helps!
Related
I'm trying to create a custom designed share icon for Google Plus that sits in an app that will be inside an iframe. The share should allow for text and an image.
I cannot use meta tags as these would sit in the iFrames parent, of which already has it's own tags for it's own sharing utils.
Can this be done, and if so how?
Thanks in advance!
PS. Google plus documentation is so over complicated and sucks!
I didn't fully understand your setup but I guess this will work for you:
<a href="https://plus.google.com/share?url=YOUR_URL" onclick="window.open(this.href, 'Google+', 'width=490,height=530'); return false;">
<img src="IMAGE_PATH" alt="Google+" title="Google+"/>
</a>
It'll open a share window that you can enter your comment, and select the people that you want to share.
On my HTML index page, I am using a popup javascript code that has something like
<li> <font color ="#000"> » </font> <font color ="#ccc">
Some text</font><b>, XYX, Country</b></li>
<li><font color ="#000"> » </font><a href ="secondpage.php" alt="Blog" />
I used a free xml-sitemap generator and strangely, the second li which is a regular a href URL and shows up in the sitemap as a linked page. However, the first one which calls the page using a javascript function does not show up.
This got me thinking,
Would this impact SEO results, would search engines also skip JS code and hence not crawl the linked pages which open in a popup?
Or is this an issue with the sitemap generator that does not understand JS and I have to manually create it?
Totally new to this. Was hoping to get some advise .
thanks!
Ryan
answer will vary based of crawlers, but you should keep your markup readable and less dynamic in areas you want crawler to read or you can follow the guidelines provided. For specific answer to your question:
Since 2009 Google looks for and finds OnClick links in any and all HTML tags. When found they will add the URL to their crawl.
If there is sensible "anchor" text then the text of the element will be used as anchor text.
The OnClick link also passes PageRank.
For more info:
http://www.searchenginepeople.com/blog/onclick.html
http://seogadget.com/google-does-not-crawl-hidden-java-onclick/
jsfidllde
I am trying to get the lazy load effect of social buttons through socialite.js. Everything is fine, but the +1s, likes, tweet counter is for socialite.com and not my website. For example, this code gives socialite.com a "like":
<li>
<a href="http://www.facebook.com/sharer.php?u=http://www.socialitejs.com&t=Socialite.js"
class="socialite facebook-like" data-href="http://socialitejs.com" data-send="false"
data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow"
target="_blank"><span class="vhidden">Share on Facebook</span></a>
</li>
I want it to be for my page. Manually changing http://socialitejs.com to mywebsite.com for each and every different page is too tiresome.
I believe there is a trick to do this with javascript and replacing href with expr:share_url='data:post.url', however this is not working as the code has many other attributes apart from href. Can anyone help me please. Thanks a ton.
When you add the element in which you'll invoke socialite.js:
<a class="socialite twitter-share" href="http://twitter.com/share" data-url="http://socialitejs.com">
Share on Twitter
</a>
You're supposed to replace the value at data-url for your website URL. Then the generated elements will point to your website.
If you, by mistake, already included the wrong URL in many places - and feel it's easier to correct it with JavaScript instead of doing search-and-replace in a bunch of files - then I suggest running this jQuery line before calling Socialite.load():
$('[data-url]').attr('data-url', 'mywebsite.com');
I am trying to make my dynamic content visible to search engines. I understand that I need to use method="get" for best results. Security is not a concern for this portion of my forum, I'm simply reloading a division of the home web page with read-only content from a database.
It works but I want Google to be able to crawl the custom content which is reloaded in the home page after pressing various buttons.
So, for SEO am I doomed if I use the following:
<form name="aspnetForm" method="get" action="default.aspx"
onkeypress="javascript:return WebForm_FireDefaultButton(event,
'ctl00_btnLoginImage')" id="aspnetForm">
I'm concerned that using JavaScript ensures that all subsequent content is invisible to robots/spiders. I noticed that my URL does not change after key presses as I had hoped - it remains the home directory.
Google does parse some JS, but you really need different URLs for different content.
That code looks like nothing I'd ever write, and nothing that anyone working with me/for me would be allowed to commit.
Build your site on stronger foundations.
I found a good set of answers from the MSDN: http://msdn.microsoft.com/en-us/magazine/dd942833.aspx Basically I need to either change to MVC or figure out a way to map the URLs to unique content.
I am attempting to create a simple iOS application, mostly for the learning process, but one which might also be useful to other botanists. The California Native Plant Society has a new Rare plant database online. At first I would like to just do simple querys for a plant by name. Later adding some type of location search, finding known occurrences of rare plants in your specific area.
So a search for `Layia' brings us to a page with a table. Looking at the source for the page I believe the table is generated by:
<div class="breadcrumb top20">
<div class="line1 center">
<!-- Modify Search Criteria -->
<span id=modifyCriteriaSlot></span>
<span id=exportPdfSlot></span>
<span id=exportExcelSlot></span>
<!-- END line1 -->
<span id=modifyColumnsSlot></span>
<span id=sortSlot></span>
<span id=displayPhotosSlot></span>
</div>
<!-- END line1 -->
</div>
I guess I am stuck. As far as the app goes I have been playing around with ASIHttpRequest and I see references to XMLKiss to parse web pages, but I just don't see any data on this page TO parse, it seems to be generated else ware and then just appears? I know I am a little out of my element here, but I want to put in the time and learn what I need to, so a little direction would be an awesome help! Thanks.
If it helps, they are showing the results table with this DIV
<div id=resultListSlot align=center style="max-width: 960px;"></div>
The DIV is being populated with javascript. The JS can be found here:
http://www.rareplants.cnps.org/org.cnps.Result/org.cnps.Result.nocache.js
Im not sure how you can get that to reply to your own request... let me look at it when I get back later today to see if I can help even more.
--------- Update -----------
If you wanted to skip learning JS you could just use firefox to view the DOM source which will include all the HTML generated by the JS. I just did a search for ALL of their plants, CTRL+A to select all of the page, right click on a highlighted area and "view selection source".
Then you could host your own page like I have done. Look at this page here http://luistovar.com/plants.html
Now you have all the plants, the HTML, the links and everything you need to create your own list. The only downfall is you would have to update every few weeks?? or so. It all depends on how often their data changes, or how much an updated list matters to you.
Might be better than learning JS though.