ajax

Fix for views_ajax show thumbnail

  1. function theme_views_ajax_page_item($node) {
  2.   $file=next($node->files);
  3. //  return l(theme('image', $file->filepath, NULL, NULL, array('border' => 0)), $path, NULL, NULL, NULL, NULL, TRUE);

Fix for views_ajax show thumbnail

  1. function theme_views_ajax_page_item($node) {
  2.   $file=current($node->files);
  3. //  return l(theme('image', $file->filepath, NULL, NULL, array('border' => 0)), $path, NULL, NULL, NULL, NULL, TRUE);

Fix for views_ajax show thumbnail

  1. function theme_views_ajax_page_item($node) {
  2.   $file=current($node->files);
  3.   return l(theme('image', $file->filepath, NULL, NULL, array('border' => 0)), $path, NULL, NULL, NULL, NULL, TRUE);
  4. }

views_ajax show thumbnail

  1. function theme_views_ajax_page_item($node) {
  2.   $file=current($node->files);
  3.   l(theme('image', $file->filepath, NULL, NULL, array('border' => 0)), $path, NULL, NULL, NULL, NULL, TRUE);
  4. }

Progressbar demo

  1. <?php
  2. /**
  3.  * page callback for javascript
  4.  *
  5.  * Normally I'd just include a javascript file
  6.  * but I wanted to put all the code in one file for this demo
  7.  *
  8.  */

Attempting to ajax an interface to image.module

  1. function galLoader_form_submit($form_id, $form_values) {
  2.   $op = $_POST['op'];
  3.  
  4.  if($op == 'submit'){
  5.   $dir = 'files';
  6.           if(file_check_directory($dir)){
Syndicate content