zoukankan      html  css  js  c++  java
  • Aspx front Page Control

    1.  How to control <a pref="www.google.co.jp" target="_blank"> in backend asp.net source

         (1)  <a pref=<%= Parameter %> target="_blank"> 

               in aspx.cs file,  course code:

               Parameter = "www.google.co.jp"      or Parameter = ""

         

         (2)  <a pref="www.google.co.jp" target="_blank" onclick=<%= Parameter %>> 

               in aspx.cs file,  course code:

               Parameter = "  ' return false;' ";  or  Parameter = "  ' return true;' "; 

         

         (3)  <a class=<%= Parameter %> pref="www.google.co.jp" target="_blank" > 

               in aspx.cs file,  course code:

               Parameter = " enable" ;  or  Parameter = " disable"; 

               in css file 

               .list a.disable

        {

                        pointer-events:none;            /*link event won't work when click*/

                        cursor:default;                      /*cursor mark won't change when move to the href link*/

                        text-decoration:none;           /*no underline*/

                        color:#000000;                     /*no color*/

        }

    Love it, and you live without it
  • 相关阅读:
    wcf中的Message类
    wcf消息契约
    iis部署wcf服务
    WCF数据契约
    wcf配置
    wcf中的使用全双工通信
    A股主要指数的市盈率(PE)估值高度
    股票的历史市盈率查询PE
    错误 Unable to find vcvarsall.bat 的终极无敌最完美的解决办法
    A股最新的自由现金流和折现估值查询
  • 原文地址:https://www.cnblogs.com/tomclock/p/13399743.html
Copyright © 2011-2022 走看看