Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter siddy24

    (@siddy24)

    hii once again i want one small change in one page scrolling you can check the website front page https://www.merakifilms.in/
    which is one page scroll with mouse wheel but in last section of page scroll when i scroll the mouse in last section it goes to first section again i just don’t want this in last section if i use mouse scroll in up side it should not go to the first section it’s stay on last section only and if scroll down then goes to second last section tell me how to do that what changes should i do i this your code

    <script>
    (function($){
    $(window).on(“load”,function(){

    if(!$(document).data(“mPS2id”)){
    console.log(“Error: ‘Page scroll to id’ plugin not present or activated. Please run the code after plugin is loaded.”);
    return;
    }

    $(document).data(“mPS2idExtend”,{
    selector:”._mPS2id-h”,
    currentSelector:function(){
    return this.index($(“.mPS2id-highlight-first”).length ? $(“.mPS2id-highlight-first”) : $(“.mPS2id-highlight”));
    },
    input:{y:null,x:null},
    i:null,
    time:null
    }).on(“scrollSection”,function(e,dlt,i){
    var d=$(this).data(“mPS2idExtend”),
    sel=$(d.selector);
    if(!$(“html,body”).is(“:animated”)){
    if(!i) i=d.currentSelector.call(sel);
    if(!(i===0 && dlt>0) && !(i===sel.length-1 && dlt<0)) sel.eq(i-dlt).trigger(“click.mPS2id”);
    }
    }).on(“mousewheel DOMMouseScroll”,function(e){ //mousewheel
    if($($(this).data(“mPS2idExtend”).selector).length) e.preventDefault();
    $(this).trigger(“scrollSection”,((e.originalEvent.detail<0 || e.originalEvent.wheelDelta>0) ? 1 : -1));
    }).on(“keydown”,function(e){ //keyboard
    var code=e.keyCode ? e.keyCode : e.which,
    keys=$(this).data(“mPS2id”).layout===”horizontal” ? [37,39] : [38,40];
    if(code===keys[0] || code===keys[1]){
    if($($(this).data(“mPS2idExtend”).selector).length) e.preventDefault();
    $(this).trigger(“scrollSection”,(code===keys[0] ? 1 : -1));
    }
    }).on(“pointerdown touchstart”,function(e){ //touch (optional)
    var o=e.originalEvent,
    d=$(this).data(“mPS2idExtend”);
    if(o.pointerType===”touch” || e.type===”touchstart”){
    var y=o.screenY || o.changedTouches[0].screenY;
    d.input.y=y;
    if($(this).data(“mPS2id”).layout===”horizontal”){
    var x=o.screenX || o.changedTouches[0].screenX;
    d.input.x=x;
    }
    d.time=o.timeStamp;
    d.i=d.currentSelector.call($(d.selector));
    }
    }).on(“touchmove”,function(e){
    if($(“html,body”).is(“:animated”)) e.preventDefault();
    }).on(“pointerup touchend”,function(e){
    var o=e.originalEvent;
    if(o.pointerType===”touch” || e.type===”touchend”){
    var y=o.screenY || o.changedTouches[0].screenY,
    d=$(this).data(“mPS2idExtend”),
    diff=d.input.y-y,
    time=o.timeStamp-d.time,
    i=d.currentSelector.call($(d.selector));
    if($(this).data(“mPS2id”).layout===”horizontal”){
    var x=o.screenX || o.changedTouches[0].screenX,
    diff=d.input.x-x;
    }
    if(Math.abs(diff)<2) return;
    var _switch=function(){
    return time<200 && i===d.i;
    };
    $(this).trigger(“scrollSection”,[(diff>0 && _switch() ? -1 : diff<0 && _switch() ? 1 : 0),(_switch() ? d.i : i)]);
    }
    });

    //still inside window load we add the function that auto-generates the bullets
    $(“body”).append(“<div id=’sections-bullets’ />”).find($(document).data(“mPS2idExtend”).selector).each(function(){
    $(“#sections-bullets”).append(““);
    });

    });
    })(jQuery);
    </script>

    i Tried that thing but not working i want use this for four field for
    name : billing_first_name
    comapny name : billing_company
    phone no. : billing_phone
    Email : billing_email

    once it Done for any one field then it can be done for others but i am getting confused will you please go through my code and suggest me the right code because after then i will manage to with the other field
    for name i am using this code Please suggest the right code

    /* Insert custom fields about the current user
    * New in 2.0.2? Hope so! ^__^
    * Author: Antonio Calabrò – [email protected]
    * See https://codex.www.ads-software.com/Function_Reference/get_user_meta
    */
    function cf7_get_current_user_billing_first_name($atts) {
    extract(shortcode_atts(array(
    ‘key’ => ‘user_login’,
    ), $atts));
    global $current_user;
    $billing_first_name = get_user_billing_first_name( $current_user->billing_first_name, $key, true );
    return $billing_first_name;
    }
    add_shortcode(‘CF7_get_current_user_billing_first_name’,’cf7_get_current_user_billing_first

    • This reply was modified 8 years, 4 months ago by siddy24.
    Thread Starter siddy24

    (@siddy24)

    it will be great if you give me a solution as soon as possible. because my project is getting Delay and in india this is Diwali period a big celebration festival so please understand the importance i will be very thankful if this problem get solved as soon as possible

    Thread Starter siddy24

    (@siddy24)

    i Tried that thing but not working i want use this for four field for
    name : billing_first_name
    comapny name : billing_company
    phone no. : billing_phone
    Email : billing_email

    once it Done for any one field then it can be done for others but i am getting confused will you please go through my code and suggest me the right code because after then i will manage to with the other field
    for name i am using this code Please suggest the right code

    /* Insert custom fields about the current user
    * New in 2.0.2? Hope so! ^__^
    * Author: Antonio Calabrò – [email protected]
    * See https://codex.www.ads-software.com/Function_Reference/get_user_meta
    */
    function cf7_get_current_user_billing_first_name($atts) {
    extract(shortcode_atts(array(
    ‘key’ => ‘user_login’,
    ), $atts));
    global $current_user;
    $billing_first_name = get_user_billing_first_name( $current_user->billing_first_name, $key, true );
    return $billing_first_name;
    }
    add_shortcode(‘CF7_get_current_user_billing_first_name’,’cf7_get_current_user_billing_first_name’);

    Thread Starter siddy24

    (@siddy24)

    Please, Somebody, Reply !! At least tell me is this Possible or not or did I as any wrong Question

    Thread Starter siddy24

    (@siddy24)

    a single video is running perfectly but i want run whole playlist in light box where each video in entire playlist will run one by one.

    Thread Starter siddy24

    (@siddy24)

    i am just adding this rel=”wp-video-lightbox” sortcode before end of >

    Thread Starter siddy24

    (@siddy24)

    this is a shorcode i am using
    hii

    please note using this single video runs fine but when i want to run a videos from playlist where one by one every video run from playlist int’s not happening

    • This reply was modified 8 years, 4 months ago by siddy24.
    Thread Starter siddy24

    (@siddy24)

    hey, Everything is working now , thanks a lot for your help without you and your plugin I won’t be able to achieve that.
    this plugin is now gonna one of my favourite plugin .You provided Premium Support with your free Plugin Thanks a lot once again.

    Thread Starter siddy24

    (@siddy24)

    hii i just did the changes you suggested . but still it’s not working

    Thread Starter siddy24

    (@siddy24)

    Check : https://merakifilms.in I implement it as you said. It’s working now but the only problame is Bullet is Not coming I tried to add Class=”_mPS2id-t” by reading your article but still Nothing is happening. can you suggest anything in that too.
    thanks

    Thread Starter siddy24

    (@siddy24)

    https://merakifilms.in/home-2/ check it out still not done. if Possible just Give me the Structure of Html . coz i tried both url=”#section-2″ and href=”#section-2″ both.
    my current html structure is this way

    <section url=”#section-1″ id=”section-1″ class=”_mPS2id-t”>
    <div class=”fullwd”>
    first
    </div>
    </section>

    and css is :
    .fullwd {
    height: 100vh;
    padding-top: 20%;
    padding-bottom: 30%;
    }

    Thread Starter siddy24

    (@siddy24)

    hey i tried as you said but it’s not working
    Check You this new page in that i am just working on your method https://merakifilms.in/home-2/

    • This reply was modified 8 years, 5 months ago by siddy24.
    Thread Starter siddy24

    (@siddy24)

    Hey Please Give Me a Reply as soon as possible It’s Urgent because Project is on Hold. if Possible Please Give Me your email id so that i can Give You admin rights.so you can check By login into my admin Panel. and give me the solution as soon as possible.

    thanks.

    Thread Starter siddy24

    (@siddy24)

    Hey Sorry You Can Check it now i just Removed maintenance Mode

Viewing 15 replies - 1 through 15 (of 17 total)