Lines Matching refs:href

2117 						var href = source.getAttribute('href');
2119 if (href != null && this.graph.isCustomLink(href) &&
2121 this.graph.customLinkClicked(href))
2768 var href = elt.getAttribute('href');
2770 if (href != null && !this.isCustomLink(href) && ((mxEvent.isLeftMouseButton(evt) &&
2775 var target = this.isBlankLink(href) ? this.linkTarget : '_top';
2776 this.openLink(this.getAbsoluteUrl(href), target);
2786 Graph.prototype.openLink = function(href, target, allowOpener) argument
2795 window.location.href = href;
2800 if (href.substring(0, this.baseUrl.length) == this.baseUrl &&
2801 href.charAt(this.baseUrl.length) == '#' &&
2804 var hash = href.split('#')[1];
2816 result = window.open(href, (target != null) ? target : '_blank');
2836 Graph.prototype.getLinkTitle = function(href) argument
2838 return href.substring(href.lastIndexOf('/') + 1);
2844 Graph.prototype.isCustomLink = function(href) argument
2846 return href.substring(0, 5) == 'data:';
2861 Graph.prototype.isExternalProtocol = function(href) argument
2863 return href.substring(0, 7) === 'mailto:';
2870 Graph.prototype.isBlankLink = function(href) argument
2872 return !this.isExternalProtocol(href) &&
2875 !this.isRelativeUrl(href) &&
2876 href.substring(0, this.domainUrl.length) !== this.domainUrl));
9097 var href = this.getAbsoluteUrl(links[i].getAttribute('href'));
9099 if (href != null)
9102 links[i].setAttribute('href', href);
9990 var href = links[i].getAttribute('href');
9992 if (href == null)
9994 href = links[i].getAttribute('xlink:href');
9997 if (href != null)
10003 else if (removeCustom && this.isCustomLink(href))