develop/tab Show / Hide regions

Try to do a dynamic button that could expand all show and hide regions on the page once click. and tabs them when you click New.

I was wondering if anyone knows how to do this... ?

Published by: PandaOracle on 8 June 2012 10:49

Just use javascript to toggle below code (all show/hide all)

$('.t1HideandShowRegionLink').children('img').click();

Tags: Database

Similar Questions

  • Show/hide region when the drop-down list is changed

    Hello

    I need show/hide a region when dropdow (selection list) is changed.

    I used dynamic action:

    Event : change
    Selection Type : Item(s)
    Item(s):P50_my_list
    condition : JS expression
    $v('P50_my_list') == 1
    
    True Action :
    Action : Execute JS Code
    Code : $('#region_name').show();
    
    // OR use Action ==> Show
    
    

    False Action :
    Action : Execute JS Code
    Code : $('#region_name').hide();
    
    // OR use Action ==> hide
    

    But the region has still shown!

    Also, I used a JS function (in the dynamic action of the place) but I met the same result.


    function showHideRegion(pValue)
    {     var show_or_hide = $x(pValue).value;
        if (show_or_hide == 1)
          {$('#ALTERNATIVEN_LIST').hide();}
        else
          {$('#ALTERNATIVEN_LIST').show();}
    }
    
    
    

    Hello

    I solved the problem with the js function:

    function showHideRegion (pThis, pValue)

    {var show_or_hide = $x (pValue) .value;}

    If (show_or_hide == 1)

    {

    var element = $x_UpTill (pThis, 'DIV');

    Element.style.display = 'none ';

    } else {}

    var element = $x_UpTill (pThis, 'DIV');

    Element.style.Display = "block" ;}

    }

  • Show/hide regions

    I've been struggling with this one for awhile and it drives me crazy. Any help is greatly appreciated. What I'm trying to build a simple search with a single parameter page and a results page. The two pages work as they're supposed to another only when the user is not a record in my database, it will appear a message saying there is not one record found.

    I read and read and I no this is the region to show/hide if it is empty. I highlighted the text I want the user to be able to see and try the show if recordset is empty. It does not, it is even not displayed it to be dynamic. Someone please help! Please, I beg you!


    I use Dreamweaver CS3, ASP and SQL Server

    > Good suggestions! I'll check out them. Do you think if I change the menu
    > It
    > will be ok? What I mean is if it works correctly, or should I leave
    > zero?

    The menu that you have will work, except when it isn't. That's why I said that I
    do not think that it is suitable for use on a site.

    > In fact I don't want you or not I wasn't a sense because of your picture I have
    > should
    > start. I think that your making fun of me, at least, I hope you are.

    Yes - I was joking.

    > don't have enough time now.

    Where do you find the time to do more?

    > I'll learn a little every day I hope that people like you to help me.
    > Thank you
    > new! :~)

    Good luck!

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "neebie" wrote in message
    News:g57sl0$89s$1@forums. Macromedia.com...
    > Good suggestions! I'll check out them. Do you think if I change the menu
    > It
    > will be ok? What I mean is if it works correctly, or should I leave
    > zero?
    >
    > In fact I don't want you or not I wasn't a sense because of your picture I have
    > should
    > start. I think that your making fun of me, at least, I hope you are.
    >
    > Also you were right about the code again once I have re-read
    > carefully my
    > update isn't very good lately, I have a lot on the spirit of ole and your also
    > right
    > when you said I need to learn some kind of server code, but my problem is
    > I
    > don't have enough time now.
    >
    > I'll learn a little every day I hope that people like you to help me.
    > Thank you
    > new! :~)
    >
    >
    >

  • Need help with JavaScript/region templates and APEX (Show Hide region)

    I have a page that I am building where I want to use a form of a page but the swap areas (without reloading the page). In my example form, I have 3 areas I want to talk about as general, Major, Standard. I have them where they will be show and hide but the result is not satisfactory, because even if the region is hidden, the white space remains there where he was. Basically I want the form to continuous flow when the effect is that Standard replaces the more important or Major replaces the standard when you change the menu drop down.

    Link to the example on apex.oracle.com: http://apex.oracle.com/pls/otn/f?p=23948:1
    Developer Access:
    workspace: dapullia
    username: guest
    password: demo
    The application number is 23948

    Hello David,.

    Instead of the "visibility" of switching you must pass the 'view' of the 'block' to 'none '.
    If your code should be something like this (using the notation of APEX javascript library)

    $x("MAJOR_EVENT").style.display = 'block ';
    $x("STD_EVENT").style.display = 'none ';

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • JS need to show/hide region onFocus/onBlur

    I finally got a region change position based on what text element has to be changed. Now, I need the region if poster only when another text element has focus and then disappear when this text element loses focus.

    Most of my solution is shown and described in apex.oracle.com here .

    If you type something in one of the Nbr point text boxes, the blue div moves just below the Qty text box after the text of item Nbr box that has just been changed.

    What I have a problem with is the hide and show div blue box Within the blue div tag, you can see what I have for my showFloater and hideFloater JS.

    In addition, the other colored div behaves differently depending on your browser. For me, i.e. He's stuck at the bottom of the page but in Firefox, it floats as expected. Any ideas on that?

    Thank you

    Gregory

    Hello

    You may like to check page errors.

    
    [Break on this error] $x('floater_id').style.display = display;
    f?p=at...6314190 (line 72)
    none is not defined
    [Break on this error] $x('floater_id').style.display = none;
    f?p=at...6314190 (line 75)
    

    BR, Jari

  • Conditional tabs (show/hide)

    I'm trying to hide some tabs according to requirement whether they receive content or not.
    Apparently, application
    ... visible = "{(someTextInput.text.length == 0)? "{fake: true}".
    does not work with tabs.

    What is the right approach with tabs?

    Thank you

    James

    Here you will like your post said during the application initializtion delete all children after the first occurrence of tab without the right label?


    http://www.Adobe.com/2006/mxml"layout ="absolute">


    Import mx.controls.TextInput;
    Import mx.controls.Alert;

    private void checkTabs(e:Event):void
    {
    var _nolabel:Boolean = false
    for each (var in {mytabnavigator.getChildren () childTab:Canvas)}
    if(childTab.label=="") _nolabel = true;
    {if (_nolabel)}
    mytabnavigator.removeChild (childTab);
    }
    }

    }

    ]]>

















  • Show/hide the link Edit... Is this a bug?

    Hello
    I can't swich to hide the link change them when I press the link button change view and I think it happened when I swith for some themes. Someone meet the same problems?
    Kind regards.

    Hello

    I think you can hit bug 9832918, where show/hide regions do not function correctly in themes 2, 6, 8 and 19. A fix for this bug will be available in a future release. In the meantime, you can try one of the other themes to work around this problem.

    Kind regards
    Hilary

  • Problems with the layout themed to show/hide the region 25

    Hi all, Ive hit another question that I hope someone can help with...

    APEX 4.2.4 on XE... Theme 25.

    I've reproduced this login as apex.oracle.com [email protected] password newpass 291 3 application page.    (admin/admin is also implemented as a UN/pw)

    I have a skin region see the this Im using as a region of select query. There are a number of boxes, and a couple of display only fields that have values returned in it.

    I I set out them in a row, and after 3 items, I start a new line with the other 3 articles... that is

    X X X

    X X X

    Except that with the region set to show/hide and the model of the value without tab, no sidebar I get.

    X X

    X

    X X

    X

    If I change the standard region it works OK, and if I change models, it seems ok.  Ive tried all the combinations of columns, etc, but nothing helps...  Im trying to figure out if Im missing something, or I've hit a bug any... (almost certainly the old...) ...

    Thank you very much indeed

    Richard Legge wrote:

    I have a skin region see the this Im using as a region of select query. There are a number of boxes, and a couple of display only fields that have values returned in it.

    I I set out them in a row, and after 3 items, I start a new line with the other 3 articles... that is

    X X X

    X X X

    Except that with the region set to show/hide and the model of the value without tab, no sidebar I get.

    X X

    X

    X X

    X

    If I change the standard region it works OK, and if I change models, it seems ok.  Ive tried all the combinations of columns, etc, but nothing helps...  Im trying to figure out if Im missing something, or I've hit a bug any... (almost certainly the old...) ...

    The difference between the models of the region is that the Standard region has defined Points of view and the show/hide does not work. This is the mysterious properties that Oracle has not yet bothered to document. Their omission of this model is indeed likely to be a bug.

    Create a copy of the region show/hide template and add a point of view for the body of the region (content):

    Name: Body of the region

    Substitution of template: BODY

    Grid Support: Checked

    The maximum fixed grid columns: - 1


    Use the new model to show/hide for the region of select query.

  • Hide / Show grid region loss points available

    Hi apex community!

    In Application Express 4.2.5.00.08, I have the following problem.

    Grid layout Item2 property ""Start New Row "= NO "

    Hide and show region loss presentation grid points. For example-> > > >

    Region HaS.png

    If you change the model to 'Région Standard', columns are displayed correctly

    Region Standart.png

    Someone at - it a solution or alternative.

    Thank you

    Martin

    See problems with layout themed to show/hide the region 25

    Always specify which theme you use when you ask for the layout and Visual formatting issues.

  • hide and show the region - hide by default

    Hello world
    I had a hide / show region on my page. I want to hide this default region (on each page load).
    In fact, it is open by default.
    How can I get that?
    I have tried many things, searched a lot of problems that.
    But I can not find a solution, which helped me.
    I am using a theme not Standard apex.
    Any suggestions?

    First run page using firefox or chrome and identify the name of the region, i.e. the #REGION_ID # in the model translates into something like "region5" when rendering.

    Change Page, in the section Javascript executed when the Page loads, enter the following command

    hideShow ('region5', 'shIMG5', '', '');

    This should toggle the current show / hide mode.

  • Automatically expand a Hide and Show model region when the Page loads

    Hello

    I work with a Hide and Show region model, and I'm trying to accomplish the following:

    When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.

    I use Apex 4.1.1.

    Any ideas?

    Thank you

    Erick

    Hello Joe,

    Thank you for your response.

    This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.

    For those interested, check this thead element: Re: hide/show the region

    Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();

    Thank you

    Erick

  • Hide/show the region

    Hello
    I'm trying to change the default behavior to hide/show the region to show, after a few attempts, I got partially work but now does not work by clicking on the icon to enable/disable/hide also changed the icons and added a type = "" but his does not work. " Any help? Thanks and greetings

    You can do so at the level of the model. Copy the skin and see the area to Hide and Show (show) and then modify the model. Essentially 2 thing I've changed are the image of collapse_minus.gif and style ="". My suggestion is to make a copy of the region before making any changes. It works for me in IE, Chrome and FF.







    #TITLE #.
    #CLOSE # PREVIOUS # ##DELETE NEXT ##EDIT ##CHANGE # CREATE # CREATE2 # EXPAND ##COPY # HELP #.
    #BODY #.

  • Hide/show the region using the text in the list

    Hi all

    I created a list in a shared application component. Is it possible in the apex to hide and show the region according to the selected list text.

    Thank you.

    I have not used jQuery, but only if the region

    Kind regards
    Richard

  • Hide/show dynamically regions

    Hello
    I use APEX 4.0.
    In my application, I created 3 buttons. (Login, change password, password forgotten).
    I want users to see change passoword region when the button is pressed.
    In the same way with password forgotten.

    How can this be achieved at the APEX.
    Forms of oracle, it was as simple as (item_property...... visible false). Is there something like that in APEX?

    Thank you
    Laba

    HTML elements have the property of visibility (hidden, visible) or (none, block, inline) display to the control display/hiding items

    You can manipulate it using JS

    $x('Item/Region_ID').style.visibility = 'hidden ';

    or

    $('_#_Region/item_id').hide)

    You can also use the show/hide a dynamic Action in the apex 4 + to do this declaratively.

  • Show hide within a repeat region

    I am trying to apply a show - hide a div within a repeat region.

    The problem is that only the first record of the repeat region seams to work properly, on all other theres no such think as hide. Why?

    Here is the link:
    http://www.Cantinho.org/admin/Cantinho/find_search_result.php

    Hope someone can help me here.


    Thank you


    In the doors pop music: "The End."

    We will make a summary of it:

    OBJECTIVE OF THIS POST 'WHOLESALE ':
    Make a show/hide button details within a repeat region, so when the user clicks on this button the details of this specific record inside the repeat region appear and disappear. (alternating).

    WHAT DID NOT WORK?

    1)
    PROBLEM:
    The effect (in the menu effects of dreamweaver), despite the fact that we click on toggle option, it switches at all.

    SOLUTION:
    It is a known bug in the Spry effects.js file. We need to update the .js file so the .js can switch.
    Download here: http://www.cristic.ro/samples/SpryEffects.js
    Thank you sailor.

    2)
    PROBLEM:
    The effect only occurs on the first record, nothing happens on the other!
    SOLUTION:
    Joris sugestion:
    Apply a php counter.

    PROBLEM 3):
    The initial state of the 'details' div is the SHOW, but we need them to HIDE. (to view the details, only when user whats to see).
    SOLUTION HAS FAILED:
    Apply a CSS like this:

    Why? (don't know, maybe because we cannot apply a name dynamic div inside a CSS or maybe because I don't know how to do)

    A SOLUTION THAT WORKS:
    Suggested by Joris again:
    Apply to the special div eatch that you want to hide (since we have a repeat region it will be only)
    and apply to this div style = "" view: no ' property. "

    Thank you very much!!! JORIS! REALLY!
    Thank you for your time, your patience and your lessons. :)

Maybe you are looking for

  • Safari tries to load the page .html with PDF plugin

    Since two days I can not launch an application I had installed for a long time on my iMac. So far I double clicked on a START. File HTML and the PPA began in Safari. Since two days Safari opens with a black screen with a button to download Adobe Flas

  • Delete all the images and Photos into folders, I create

    OK, I can't leave the Photos to manage my pictures for anything other than editing.  I have a backup hard drive which has thousands of photos I worked tirelessly to organize into folders that make sense to ME (as well as for my wife).  Because of my

  • Satellite C660-1NW - Webcam does not work with the facebook chat

    Hello My doughter recently bought a Satellite C660-1NW youcef.This laptop has a webcam on board.When you use Facebook, webcam chat, webcam does not work.The webcam indicator led is active come on, but the facebook app remains blue without screen webc

  • EliteBook 8560w: upgrade hard drive

    Hello Please, I have a 500 GB HARD drive on my system. I can it switch to an SSD 1 TB for better performance? Thank you

  • Exhibiting in context sensitive help display bug

    Hello I found a bug, but just didn't know where to report so I'm posting it here. (What is the suitable channel for bug reports)? When I wriggle-over "before software final Position" on the property of an axis node SoftMotion, context-sensitive help