Bug Tracker

Changes between Initial Version and Version 1 of Ticket #757


Ignore:
Timestamp:
Jan 6, 2007, 7:14:51 AM (16 years ago)
Author:
joern
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #757 – Description

    initial v1  
    44In ifxtransfer.js i did:
    55
    6  24     if(jQuery.transferHelper == null)
    7  25     {
    8  26
    9  27         if (o.img)
    10  28         {
    11  29             jQuery('body', document).append('<img src="'+o.img+'" id="transferHelper" />');
    12  30         }
    13  31         else
    14  32         {
    15  33             jQuery('body', document).append('<div id="transferHelper"></div>');
    16  34         }
    17  35         jQuery.transferHelper = jQuery('#transferHelper');
    18  36     }
    19  37     jQuery.transferHelper.css('display', 'block').css('position', 'absolute');
     6{{{
     7if(jQuery.transferHelper == null) {
     8    if (o.img) {
     9        jQuery('body', document).append('<img src="'+o.img+'" id="transferHelper" />');
     10    } else {
     11        jQuery('body', document).append('<div id="transferHelper"></div>');
     12    }
     13    jQuery.transferHelper = jQuery('#transferHelper');
     14}
     15jQuery.transferHelper.css('display', 'block').css('position', 'absolute');
     16}}}
    2017
    2118Now if you supply img: instead of className: it will send the picture to the specified location. I made this for a new shopping project i am building so productimages just transfer to the shoppingcart :)