test
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • nathanbohn Friend
    #119723

    Im sure im just being thick by not being a javascript whiz, but I am missing out on how I can make the Members Area dropdown tab already expanded/visible and not need to click the Button to open it. Simply to see the site tools without clicking anything.

    ShannonN Friend
    #218204

    nathanbohn;13000Im sure im just being thick by not being a javascript whiz, but I am missing out on how I can make the Members Area dropdown tab already expanded/visible and not need to click the Button to open it. Simply to see the site tools without clicking anything.

    Without looking I’ll take a guess look at the code value when the toolbar is closed ( use FF 2 and firebug extension) and again when open, that will give you a variable etc then set the variable as on (default) ?

    quick look says
    <div id=”ja-hpwrap” style=”overflow: hidden; height: 27px; visibility: visible; opacity: 1;“>
    <div id=”ja-hpwrap” style=”overflow: hidden; height: 0pt; visibility: hidden;“> when closed

    Have funnnnnnnnnnn

    1 30am almost need sleep
    Night all

    ShannonN

    Khanh Le Moderator
    #218209

    You could modify the template index.php file to remove that feature as following:

    1. Remove the line which includes javascript file ja.hiddenpanel.js (line 98)


    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/ja.hiddenpanel.js"></script>

    2. Search code (line 118)


    document.write ('<style type="text/css">.ja-tab-content{display: none;}n#ja-hpwrap{height:0;overflow:hidden;visibility:hidden;}</style>');

    and change to


    document.write ('<style type="text/css">.ja-tab-content{display: none;}</style>');

    ShannonN Friend
    #218234

    Khanh Le;13023You could modify the template index.php file to remove that feature as following:

    1. Remove the line refer which includes javascript file ja.hiddenpanel.js (line 98)


    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/ja.hiddenpanel.js"></script>

    2. Search code (line 118)


    document.write ('<style type="text/css">.ja-tab-content{display: none;}n#ja-hpwrap{height:0;overflow:hidden;visibility:hidden;}</style>');

    and change to


    document.write ('<style type="text/css">.ja-tab-content{display: none;}</style>');

    A very neat solution

    Can a Mod make this sticky and move to new thread – JA Teline Modifications Q&A? please

    mikeho1980 Friend
    #218317

    This solution will completely disable the hide/show function, but I wish I can have it “show by default” instead of “hide by default” rather than completely disabled it.
    Thanks

    mmckeen Friend
    #218441

    <em>@mikeho1980 13156 wrote:</em><blockquote>This solution will completely disable the hide/show function, but I wish I can have it “show by default” instead of “hide by default” rather than completely disabled it.
    Thanks</blockquote>

    I have the same request as mikeho1980… it would be nice to have it open by default but still able to hide it..

    Thx…

    ShannonN Friend
    #218452

    mmckeen;13304I have the same request as mikeho1980… it would be nice to have it open by default but still able to hide it..

    Thx…

    In the posted 3 example pieces of code, will it work if you do not change the 1st code thereby leaving the thing there, change the line 118 code here
    n#ja-hpwrap{height:0;overflow:hidden;visibility:hidden;}
    To
    n#ja-hpwrap{height:0;overflow:hidden;visibility:visible;} doesn’t that show it as a default?

    Cheers ShannonN

    ErikThorsen Friend
    #218456

    I would think so? Anyone with an input on that?

    mikeho1980 Friend
    #218574

    <em>@ErikThorsen 13323 wrote:</em><blockquote>I would think so? Anyone with an input on that?</blockquote>

    I thought I had solve this out, I am not a programmer. I just give it a try, please report if anything wrong. And don’t blame me for anything wrong.

    First, change /templates/ja_teline/index.php:

    document.write ('<style type="text/css">.ja-tab-content{display: none;}n#ja-hpwrap{height:10;overflow:hidden;visibility:hidden;}</style>');

    to
    document.write ('<style type="text/css">.ja-tab-content{display: none;}n#ja-hpwrap{height:10;overflow:hidden;visibility:visible;}</style>');

    Then, change /templates/ja_teline/scripts/ja.hiddenpanel.js:

    this.p.style.visibility = "hidden";

    to
    this.p.style.visibility = "visible";

    Sharez Sharzaman Friend
    #218588

    Hi,

    Did anyone get this to work without any problems? If so, please let us know how you did it. I would really like this to work without completely disabling the ‘hide’ function.

    Sharez

    Sharez Sharzaman Friend
    #219067

    Hi,

    I’m still looking for a solution to this. Did anyone find out how to leave the ‘members area’ tab unhidden by default?

    mikeho1980 Friend
    #219070

    <em>@noorstream 14155 wrote:</em><blockquote>Hi,

    I’m still looking for a solution to this. Did anyone find out how to leave the ‘members area’ tab unhidden by default?</blockquote>

    Did you try my method, on reply #9? It works for me.

    zorcolino Friend
    #219109

    To Mikeho
    ?? Tried your code modification you suggested. No change. Memberarea still hiding.

    mikeho1980 Friend
    #219121

    <em>@zorcolino 14215 wrote:</em><blockquote>To Mikeho
    ?? Tried your code modification you suggested. No change. Memberarea still hiding.</blockquote>

    That’s strange, have a view of my site and see if that works?
    http://www.dogneighbor.com

    zorcolino Friend
    #219124

    <em>@mikeho1980 14230 wrote:</em><blockquote>That’s strange, have a view of my site and see if that works?
    http://www.dogneighbor.com</blockquote>

    Yes, inded, you are lucky. I am on firefox, tried your modification ( line 38) but without result. Memberarea still hiding. I am currently on localhost. Might this have an effect? I dont know. Since many members seem to wish unhiding member area as an option, I guess we shall see more comments. Anyway thank you for your kind proposal
    zorcolino

Viewing 15 posts - 1 through 15 (of 24 total)

This topic contains 24 replies, has 10 voices, and was last updated by  Khanh Le 17 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum