You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 13-06-2014 14:12:34

mahrou
Contributors
From: Germany
Registered: 10-06-2014
Posts: 6

slidebar left-margin Mobile

Hello,

i need to use the mobile version and everything is perfect, but in Slidebar.php left-margin is not correct, it must set 0 in Content. i dont know where can i do that.
please help me

Mahrou

Offline

#2 17-06-2014 10:18:51

mahrou
Contributors
From: Germany
Registered: 10-06-2014
Posts: 6

Re: slidebar left-margin Mobile

Hello again,

I found that the problem is in main.js for mobile.

$.ajax("pages/"+url+(typeof $hashed.get[1] != "undefined" ? "?"+$hashed.get[1] : "")).success(function(newContent,textStatus){   
    $content.css("margin-left",0).fadeOut(50,function(){
    $content.html(newContent);
    $page.current = url;
    $subNav.make();
    transformLinks();
        $events.beforeSubPageShow();
    $content.show(500,function(){
                $events.afterSubPageShow();
                $(window).resize();
    });
    if (typeof _gaq !== "undefined" && _gaq !== null) {_gaq.push(['_trackPageview', "/#!/"+$hashed.parts[0]]); }
    });

here, margin left set 0, but in my situatin in Slide-bar.php margin-left set 315, i don´t know where make change?

Last edited by mahrou (17-06-2014 10:22:32)

Offline

#3 17-06-2014 11:33:16

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: slidebar left-margin Mobile

Is your site online somewhere?

Offline

#4 17-06-2014 13:38:46

mahrou
Contributors
From: Germany
Registered: 10-06-2014
Posts: 6

Re: slidebar left-margin Mobile

No, not yet.
but i found that, in sidebar.php, i changed paramter "full_height"=>false, and now everything ok, TNX

Offline

Board footer

Powered by FluxBB