Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Benedikt Mo

    (@bmodesign2)

    Hi zhiwan,
    I see you develop a complete new version of scrollGallery ??

    I’m not sure if commenting out the lines 133/134 show the result you want but I can tell you the professional way of changing my js.

    1. Integrate an own js-file in your theme.
    2. write a class that extend my class (https://mootools.net/docs/core/Class/Class)
    Example:
    var zhiwanscrollGallery = new Class({
    Extends : scrollGallery,
    initialize: function(){ //@override the BMo initialize()

    }
    });

    3. copy my initialize function into your initialize function and change the code like you want.

    4. In my php files you have to replace the JS … new scrollGallery …
    with … new zhiwanscrollGallery…

    That’s it. That’s Object-oriented programming JS ??

    Thread Starter dantabun

    (@zhiwan)

    Haha yeah…that wasn’t my original plan. Well you know how it is. The client wants this and wants that and before I knew it, I had learned quite a lot of jquery. I just started wetting my feet into OOP, so I’ll try that. Thanks for all the help.

    Thread Starter dantabun

    (@zhiwan)

    Sorry…I have a few questions/clarifications regarding your instructions.

    1) Where do I place my js-file? In the same place as where scrollGallery.js is?

    2)inside the initialize: function() {} do I copy all the code I find in scrollGallery.js inside the initialize: function(options)){}?

    3) No problem here.

    4) So as I’m looking at your php file, there are actually two references to new scrollGallery: lines 218 and 726. Do I just have to replace both or just the one in lines 726?

    Again, thanks.

    Plugin Author Benedikt Mo

    (@bmodesign2)

    1. in your theme folder
    2. yes copy to overwrite it you have to copy the hole function. And you should also write options as parameter in function()
    3. nice
    4. change only the line 218.
    Good luck ??

    it would be interesting for me to see zhimwan modifikations is it posible to download from somewhere?
    couse i also would love the plugin when u klick the big image to slide to the corresponding thumbnail… and…

    2.the thumbnails dont scroll just when u klick it..and would slide to the middle
    3.i would love external next . prev. controls
    4.maybe keyboard funktion arrow keys right left
    5. so i could have resize images with the browser resize.. example.. gallstudio.com
    6 and if possible to show 2-3 images with each slide..:)

    is somebody can help me with this ?
    is it possible to do?
    if so .. i would even pay for it too however im no rich..
    anyway
    pretty please help
    peaceeee
    rg

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: NextGEN Scroll Gallery] disabling hover/scroll’ is closed to new replies.