html拨打电话
发布时间:2016-05-16 09:00:09
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Jiubang.Wap.Page" Debug="true" ContentTyp ...
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Jiubang.Wap.Page" Debug="true" ContentType="text/html; charset=UTF-8" %><%@ Import Namespace="Jiubang.Wap"%><%@ Import Namespace="Jiubang.Sql"%><%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.SqlClient" %><%@ Import Namespace="CustomerAD.CommonLibrary" %><% Response.ContentType = "text/html; charset=UTF-8"; %><script runat="server"> protected override void OnLoad(EventArgs e) { base.OnLoad(e); this.TelNum = "400-8877766"; int mobs=0; bool isuc=false; get='_blank'>string http_ua=string.Empty; string http_pro=string.Empty; Common.GetUAInfo(ref mobs, ref isuc, ref http_ua, ref http_pro); if (mobs == 3) { //iphone系列 this.RefleshContent = "<meta http-equiv=\"refresh\" content=\"1;url=tel:" + this.TelNum + "\">"; this.htmlContent = "<a href=\"tel:" + this.TelNum + "\">" + this.TelNum + "</a>"; } else { //安卓 this.RefleshContent = "<meta http-equiv=\"refresh\" content=\"1;url=wtai://wp/mc;" + this.TelNum + "\">"; this.htmlContent = "<a href=\"wtai://wp/mc;" + this.TelNum + "\">" + this.TelNum + "</a>"; } } private string TelNum = string.Empty; private string RefleshContent = string.Empty; private string htmlContent = string.Empty; </script><?"1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html "http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=1.0"/> <%=this.RefleshContent %> <title>拨打电话</title></head><body>如果您的浏览器不支持自动拨打,请点击下面的连接拨打:<%=this.htmlContent %><br /><div style="line-height:180%;text-align:center;"> <%=LinkHelper.GetATag("index.aspx","返回首页") %></div></body></html>
原标题:html拨打电话
关键词:HTML
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。
泰国泰国货运专线:https://www.goluckyvip.com/tag/88307.html
英国增值税:https://www.goluckyvip.com/tag/8831.html
快递到泰国专线:https://www.goluckyvip.com/tag/88310.html
泰国物流专线:https://www.goluckyvip.com/tag/88312.html
物流泰国专线:https://www.goluckyvip.com/tag/88313.html
专线泰国物流:https://www.goluckyvip.com/tag/88314.html
沃尔玛推出全新数据分析服务,助力品牌推动销售:https://www.kjdsnews.com/a/1842113.html
北京城市图书馆公交地铁自驾路线:https://www.vstour.cn/a/407243.html