This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
function doSomething(url){ | |
window.open(url,"width=300,height=300"); | |
return false; | |
} | |
</script> | |
... | |
<a href="foo.html" onclick="do_something(this.href);">go somewhere</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// find embedded links to other tabs and trigger tab behavior when they are clicked. | |
$j('div.tabContent a').each(function(i){ | |
var theLinkUrl = $j(this).attr('href'); | |
// if the link contains an # | |
if(theLinkUrl.indexOf('#') != -1){ | |
// check if the # is on the same page (blank in !IE, doc.location in IE) | |
if( theLinkUrl.split('#')[0] == '' || theLinkUrl.split('#')[0] == document.location ){ | |
// when clicking the link, trigger the link in ul.tabs that links to the same ID | |
$j(this).bind( | |
'click', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// find embedded links to other tabs and trigger tab behavior when they are clicked. | |
$j('div.tabContent a').each(function(i){ | |
var theLinkUrl = $j(this).attr('href'); | |
if(theLinkUrl.indexOf('#') != -1){ | |
if( theLinkUrl.split('#')[0] == '' || theLinkUrl.split('#')[0] == document.location ){ | |
$j(this).bind( | |
'click', | |
function(){ | |
if($j('ul.tabs a[href="#'+theLinkUrl.split('#')[1]+'"]').size()>0){ | |
$j('ul.tabs>li a[href="#'+theLinkUrl.split('#')[1]+'"]').trigger('click'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// initialize slideshows | |
$j('div.module div.slideshow').each(function(i){ | |
var theSS = 'slideShowMod'+i; | |
$j(this).attr('id',theSS); | |
var config = { | |
fx:'scrollHorz', // animation effect | |
speed:IIE.vars.animspeed, | |
timeout:0, | |
pager:'#'+theSS+' div.ctrl span.slides', | |
next:'#'+theSS+' a.next', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CLIENT-NAME.COM CSS Styles | |
* The layout for the site depends on the 960 Grid System | |
* | |
* @author MRaichelson | |
* @link http://www.navigationarts.com/ | |
* @see http://www.960.gs/ | |
* @media screen, projection | |
*/ | |
/* !Imports : Open Source */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// find embedded links to other tabs and trigger tab behavior when they are clicked. | |
$j('div.tabContent a').each(function(i){ | |
var theLinkUrl = $j(this).attr('href'); | |
if(theLinkUrl.indexOf('#') != -1){ | |
if( theLinkUrl.split('#')[0] == '' || theLinkUrl.split('#')[0] == document.location ){ | |
$j(this).bind( | |
'click', | |
function(){ | |
if($j('ul.tabs a[href="#'+theLinkUrl.split('#')[1]+'"]').size()>0){ | |
$j('ul.tabs>li a[href="#'+theLinkUrl.split('#')[1]+'"]').trigger('click'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- BEFORE: --> | |
<div class="tabbed"> | |
<!-- AFTER: --> | |
<div class="tabbed clearfix"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- OUR PROJECTS --> | |
<div class="grid_12 clearfix" id="mapFilters"> | |
<div class="grid_12 alpha omega"> | |
<div class="collapseWrap"><a href="#">Collapse map</a></div> | |
<div class="filterWrap"> | |
<strong>Explore Our Projects By:</strong> | |
(Select One) | |
<br /> | |
<!-- [select pulldown here] --> | |
<span class="divider"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Answers.m | |
// Answers | |
// | |
// Created by Michael Raichelson on 7/21/10. | |
// Copyright 2010 Pixis Creative. All rights reserved. | |
// | |
#import "Answers.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# THIS IS STILL VERY MUCH A WORK IN PROGRESS -Mike | |
# | |
# A Varnish reverse-proxy cache config file meant to hold long-expires copies of | |
# essentially static content from a Drupal install. The idea being that | |
# this cache prevents direct access to the Drupal install itself to prevent | |
# hacking and intrusion attempts. | |
# | |
# References: | |
# |
OlderNewer