You are here

function textimage_js in Textimage 5.2

Same name and namespace in other branches
  1. 6.2 textimage.module \textimage_js()

Textimage AHAH functionality

1 string reference to 'textimage_js'
textimage_menu in ./textimage.module
Implementation of hook_menu().

File

./textimage.module, line 932

Code

function textimage_js() {
  $output = '';
  switch (arg(2)) {
    case 'preview':
      textimage_js_preview($output);
      break;
    case 'background':
      textimage_js_background($output);
      break;
  }
  print $output;
  exit;
}