This file contains hidden or 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
function loadResults(){ | |
var results = $(data); | |
var finalResults = results.filter('#preResults').html(); | |
var pagerResults = results.filter('#pager').html(); | |
$('#results').replaceWith(finalResults); | |
$('#pagerCatch').html(pagerResults); | |
} | |
$('.filterForm').submit(function(e){ | |
e.preventDefault(); |
This file contains hidden or 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
<table> | |
{exp:channel:entries | |
channel="mychannel" | |
dynamic="no" | |
disable="categories|category_fields|member_data" | |
orderby="title" | |
sort="asc" | |
} | |
<tr> | |
{low_variables_var} |
This file contains hidden or 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
$('a').click(function(e){ | |
e.preventDefault(); | |
var theUrl = $(this).attr('href'); | |
$.ajax({ | |
url: theUrl, | |
success: function(data){ | |
var theTemplate = $(data); | |
$('.containerDiv').html(theTemplate); | |
} | |
}); |
This file contains hidden or 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
{exp:low_search:results query="{segment_3}" status="not closed" limit="10" disable="member_data"} | |
{if count == 1} | |
<h3>Your search for <strong>"{low_search_keywords}"</strong> returned <strong>{absolute_results}</strong> results:</h3> | |
{/if} | |
{if low_search_collection_name == "resources"} | |
{categories} | |
<div class="entry"> | |
<h2><a href="{path='resources/category'}/{category_url_title}">{title}</a></h2> | |
<p>{low_search_excerpt}<br /> | |
<a href="{path='resources/category'}/{category_url_title}">{path='resources/category'}/{category_url_title}</a></p> |
This file contains hidden or 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
<?php | |
$jobs = simplexml_load_file('jobfeed.xml'); | |
function output_list($jobs = array()) | |
{ | |
$data = array(); | |
foreach($jobs->xpath('/jobs/job') as $job_details) | |
{ | |
$category = $job_details->department; |
This file contains hidden or 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
<!doctype html> | |
<!--[if IE 8]> <html class="oldie" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
li { | |
display: inline-block; |
This file contains hidden or 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
$('#slides').cycle(); | |
$('#slides').hover(function(){ | |
$(this).cycle('pause').delay(8000).cycle('resume'); | |
}); |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="/assets_site/js/head.load.min.js"></script> | |
</head> | |
<body> | |
<!-- My Body Code --> |
This file contains hidden or 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
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* ExpressionEngine - by EllisLab | |
* | |
* @package ExpressionEngine | |
* @author ExpressionEngine Dev Team | |
* @copyright Copyright (c) 2003 - 2011, EllisLab, Inc. | |
* @license http://expressionengine.com/user_guide/license.html | |
* @link http://expressionengine.com |