Skip to main content

Bug Tracker

Side navigation

#757 closed enhancement (wontfix)

Opened January 06, 2007 01:11AM UTC

Closed February 01, 2007 06:15PM UTC

Last modified March 14, 2012 08:13PM UTC

Update for ifxtransfer.js

Reported by: info@fbettag.de Owned by: stefan
Priority: major Milestone:
Component: interface Version:
Keywords: Cc:
Blocked by: Blocking:
Description

Hey guys,

i've been using jQuery/Interface.eyecon.ro for quite a while now and i found a quite good enhancement i built myself.

In ifxtransfer.js i did:

if(jQuery.transferHelper == null) {
    if (o.img) {
        jQuery('body', document).append('<img src="'+o.img+'" id="transferHelper" />');
    } else {
        jQuery('body', document).append('<div id="transferHelper"></div>');
    }
    jQuery.transferHelper = jQuery('#transferHelper');
}
jQuery.transferHelper.css('display', 'block').css('position', 'absolute');

Now 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 :)

Hopefully this will be implemented in the next release!

Works on IE5/6 FF2/3 (others not tested).

Let me know if it is usefull or not :)

Attachments (1)
  • ifxtransfer.js (2.1 KB) - added by info@fbettag.de January 06, 2007 01:13AM UTC.

    Sorry for the messy code in the message. Here is my file. changes start on Line 26.

Change History (2)

Changed January 06, 2007 12:14PM UTC by joern comment:1

description: Hey guys,\ \ i've been using jQuery/Interface.eyecon.ro for quite a while now and i found a quite good enhancement i built myself.\ In ifxtransfer.js i did:\ \ 24 if(jQuery.transferHelper == null)\ 25 {\ 26\ 27 if (o.img)\ 28 {\ 29 jQuery('body', document).append('<img src="'+o.img+'" id="transferHelper" />');\ 30 }\ 31 else\ 32 {\ 33 jQuery('body', document).append('<div id="transferHelper"></div>');\ 34 }\ 35 jQuery.transferHelper = jQuery('#transferHelper');\ 36 }\ 37 jQuery.transferHelper.css('display', 'block').css('position', 'absolute');\ \ Now 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 :)\ \ Hopefully this will be implemented in the next release!\ Works on IE5/6 FF2/3 (others not tested).\ \ Let me know if it is usefull or not :)Hey guys,\ \ i've been using jQuery/Interface.eyecon.ro for quite a while now and i found a quite good enhancement i built myself.\ In ifxtransfer.js i did:\ \ {{{\ if(jQuery.transferHelper == null) {\ if (o.img) {\ jQuery('body', document).append('<img src="'+o.img+'" id="transferHelper" />');\ } else {\ jQuery('body', document).append('<div id="transferHelper"></div>');\ }\ jQuery.transferHelper = jQuery('#transferHelper');\ }\ jQuery.transferHelper.css('display', 'block').css('position', 'absolute');\ }}}\ \ Now 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 :)\ \ Hopefully this will be implemented in the next release!\ Works on IE5/6 FF2/3 (others not tested).\ \ Let me know if it is usefull or not :)

Changed February 01, 2007 06:15PM UTC by stefan comment:2

resolution: → wontfix
status: newclosed