Your location:Tech News>News>Script>Several methods to remove the link that appears when you click on the dotted rectangle

Latest News

Several methods to remove the link that appears when you click on the dotted rectangle

Author:fsadmin

Views:

  In this method introduces several removal:

  Direct links to be added

  onfocus = "this.blur () ".

  link

  CSS to achieve

  Copy the code code is as follows:

  a {blr: expression (this.onFocus = this.close ());}

  a {blr: expression (this.onFocus = this.blur ());}

  a: focus {-moz-outline-style: none;}

  htc achieve IE support

  Copy the code code is as follows:

  

  

  Calling a {behavior: url (htc path where the file address)}

  By traversing achieve JavaScript

  Copy the code code is as follows:

  window.onload = function ()

  {

  for (var ii = 0; ii document.links $ [$ ii $] $.onfocus = function () {this.blur ()}

  }

  5.WordPress of JQuery can be removed inside the frame

  Copy the code code is as follows:

  $ ( "A").bind ( "focus", function () {

  if (this.blur) {// If this support.blur

  this.blur();

  }

  });

Recommend article

Relate article