Hide/show the area, keep the value between pages?

Hello

I use APEX 3.2.1 with Oracle 10 g on Windows XP Pro SP3.

I have 2 menus (regions) that can be hidden or shown by clicking on an image (as in some IDE). The following javascript code is called on the event 'onClick ':
function visibilite(region,image) {
     if (region.style.display == "none")
          region.style.display = "" ;
     else
          region.style.display = "none" ;
     if (image.src.indexOf('gauche.png',1) == -1)
          image.src = image.src.replace('droite.png','gauche.png');
     else
          image.src = image.src.replace('gauche.png','droite.png');
}
It works perfectly, but when I navigate to another page, the menus are obviously displayed by default...
So, I just want to keep the value of the previous page to show or hide my menus in the current page.

I can add the page element in all pages and assign the value using the url, but it is not optimized as I will have a lot of pages (> 100).
I can use a request element too, but I tried and I can't assign a javascript value, and I don't know if this is a good solution because it will force I call the javascript function, just after that the menu will be displayed, to hide quickly.

anyone think of another solution?

Thank you.

Yann.

I can add the page element in all pages and assign the value using the url, but it is not optimized as I will have a lot of pages (> 100).

Create a Page 0 item which will be available on all pages.

OR

I can use a request element too, but I tried and I can't assign a javascript value

Enforcement point values can be set from JavaScript using AJAX and an application process.

Tags: Database

Similar Questions

  • Why my interactive pdf file shows the animation between pages only in full screen

    Is it possible to display the animation between two (or more) pages in pdf format when you are not using full screen.

    I made a file in indesign CC and exported (fade effect) interactive PDF form.

    But the animation is shown in the view full screen, can I change this?

    Hope to hear from you soon

    Jachim,

    What you call animation between pages is called the Page Transitions in English. (Animation in the Animation Panel does not in PDF, of course.)

    However, in the PDF files, it can only be displayed using the full screen. It's just the way it was designed. There is no way to change this, I'm afraid.

  • Is there a way to hide/show the title safe area in Illustrator?

    Is there a way to hide/show the title safe area in Illustrator?

    I know that I can turn on or off by using the options of work plan, but to facilitate the workflow, I wish I could spend it power I can do using the "Cmd:" for guides?

    I know I can show/hide video leaders and I it was mapped as shortcut... but could not find a way to do the same thing with title/action safe?

    Any ideas would be appreciated?

    I am completely new to scripting, so it took a bit of trial and error, but here is one that will turn on and off for all work plans:

    for (i = 0; i

    If (app.activeDocument.artboards [i] .showSafeAreas == true) {}

    app.activeDocument.artboards [i] .showSafeAreas = false

    }

    else {}

    app.activeDocument.artboards [i] .showSafeAreas = true

    }

    }

  • Photoshop Elements 8, how to show the value, the hue and saturation of a specific area of a pickture?

    Hello

    Photoshop Elements 8, how to show the value, the hue and saturation of a specific area of the image?

    How to choose the area? Which tool?

    Thank you in advance, Karl

    Make sure first that your range of information is visible: window menu / Info (shortcut F8)

    In this palette, click the small icon 'more '.

    Select "Palette Options".

    and choose HSB to second reading of palette.

  • Possible to hide / show the slideshow captions?

    Is there a way to hide/show the captions in the slide show? I would like to make something similar to this: http://www.geschewuerfel.com/GalleryMain.asp?GalleryID=117628 & AKey = DSWC4N8C . If you click on one of the images is full screen, then the 'i' button below will reveal the legend.

    Hello

    You can try to use Lightbox composition and then insert balloon in the container box.

    In the ToolTip settings, select stacked position and transition as vertical, it would be a similar effect as you mentioned. Organize the legend, the buttons of navigation in the same area when it should appear as inline.

    Thank you

    Sanjit

  • 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 series (online) and to redraw the map

    I created a box for each lineserie in my linechart and when you click the checkbox I hide/show the on my list.

    myChart.series [5] .visible = myCheckbox5.selected;

    It works fine but I want to redraw the map and this time he doesn't have to calculate the axis according to the values in my series hidden... Someone knows how to do this?

    I tried without success includeInLayout property.

    Found a solution for the exchange of experts, but it was difficult to finish the removal/addition of series from myChart.series and then force a new drawing by resetting myChart.series.

  • Tabular presentation - hide/show the Datepicker calendar

    Hello

    I am toggling of a column of date picker in tabular form wizard based on the value of another column in the same row, using javascript. However, I was unable to find a way to hide/show the associated calendar. Can someone tell me how to proceed?

    Thank you!

    Hello

    The structure on a tabular presentation for a date picker article, is more complicated than for a normal input field:

    <td  headers="Hiredate" class="t4data">
      <fieldset class="datepicker" id="f04_0004_fieldset">
        <table summary="" border="0" cellspacing="0" cellpadding="0" class="datepicker" id="f04_0004_holder">
          <tr>
            <td class="datepicker">
              <input type="text" name="f04" size="7" maxlength="2000" value="01/05/1981"  id="f04_0004" />
            </td>
            <td>
              <a  href="javascript:void($p_DatePicker('f04_0004','0','DD/MM/YYYY','#666666','','','','','1981','en-gb','Y','45958','1683565711731582981','05','210'));">
                <img src="/i/asfdcldr.gif" alt="Calendar" align="absmiddle" />
              </a>
            </td>
          </tr>
        </table>
      </fieldset>
    </td>
    

    While access to the input box by referencing its name attribute, it is impossible to the icon. What you need to do is find the input field, go up to the TR that contains, find indicator A in this TR and hide.

    Try something like:

    <script type="text/javascript">
    function disableDatepickers()
    {
     var f1 = document.getElementsByName("f01");
     var f4 = document.getElementsByName("f04");
     var k;
     var r;
     var a;
     for (k = 0; k < f1.length; k++)
     {
      if (parseInt(f1[k].value) < 7800)
      {
       f4[k].disabled = true;
       r = html_CascadeUpTill(f4[k].id,'TR');
       a = r.getElementsByTagName("A")[0];
       a.style.visibility = 'hidden';
      }
     }
    }
    disableDatepickers();
    </script>
    

    In this example, the first column (f01) contains an EMPNO. If this value is < 7800, I find the datepicker and disable it, then find the A tag that is in the same b and hide. Adjust the f01 and f04 accordance with column names and change the IF test to meet your needs.

    Andy

  • Automatically add delays to the ability to hide/show the bar

    I activated the option to hide/show the bar automatically. I would like it when I touch the upper part of the screen with the mouse, the menu bar will appear with some delays (2 seconds for example). First it is possible to configure the delay?

    NO, but you can offer this feature for Apple

    http://www.Apple.com/feedback/

  • Qosmio G30-126 - how to hide/show the top bar?

    How active hide/show the top bar on the upper side desk, but disappeared how can I return it again?

    You want to have some Flash cards on top of the desktop computer?
    This isn't a problem

    In all programs-> Toshiba-> Utilities-> settings for Flash cards, you can activate this option!

    Check it!

  • Why can't I just show the value of the reference variable on name full column

    Hello everyone,

    I want to display the value of the reference variable as column name for one of my analysis on OBIEE. However, when I write, it does not show the value, it shows just as text;

    VALUEOF ("rv_yesterday")

    How can I show the value of it?

    Can you help me please.

    Kind regards

    Dilek

    Raja,

    What is a date or a related data type in any variable of RPD - session or repository - will become a datetime. That's a given and you can play as much as you want with to_date, trunc, DATE (the way of the RPD), but will it be a datetime value. Period.

    Only when she is cast to a string rather than one of the 'date' data types can get rid of the component "hour".

    Edit: Sorry, I forgot to add: < dilek,="" that="" response="" is="" your="" answer="" as="" well,="" sorry.="" no="" "date="" without="" time="" component="" in="" proper="" data="" types."=""> >

  • Showing the value of the column in the custom alert

    Hi all

    I want to show the value of the column with the message the user defined alert. Have someone to help me with this problem?


    Arif

    This is the only code that you use for the alert. This code is just to set the alert message. Use the complete as code...

    DECLARE
     vAlert NUMBER;
    BEGIN
      set_alert_property('ALERT_TO_VERIFY',ALERT_MESSAGE_TEXT, 'Your Form has successfully submitted and your Reference id is '||:USERCREATION.REF_NO);
      vAlert:=SHOW_ALERT('ALERT_TO_VERIFY');
    END;
    

    -Clément

  • hide/show the metadata on consignment form based on the previous value of metadata

    Hi all

    I HV a use case where while logging users hv to select yes/no value of my custom metadata.
    based on this input i hv to show/hide the following metadata field.

    How to get there, using profile, I think not that this is possible.
    Help, please.
    Thank you
    -Yves

    what I want to know can trigger us some other profile with the other trigger condition (other than the trigger of object type web site).

    By definition, there is only one field of trigger for profiles.

    On the other hand, each profile consists of rules and rules may have conditions of activation of the so-called rules (http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c04_metadata.htm#DAFGJDIF) that may contain a simple idocScript which may contain a different number of metadata and/or other controls.

    Therefore, you can have a profile, but for example to show different areas of research/Check-in, etc.

    the second question was site studio Contributor mode - when we create a new CDF file, use a switch content on all time placeholder first consignment form comes how to apply a profile he

    There is a single mounting global admin Administration - Administration of Site Studio - the default Web assets Document information, where you can predefine the value of the profile (the one mentioned above) trigger field. The obvious disadvantage, which is OK for the majority of cases, is that you will have a profile for all of your sites. If you want to have a finer distinction, you will need to use the conditions of activation of rules (for example to separate between the sites you could use <$siteId$>in your terms).

  • Case of event Structure to manage the value between

    I put in place a structure of the event to enter data in a multicolumn listbox.  I wanted to use a table, but it was difficult to place symbols in the first column; even using the odd fonts (Webdings, etc.) to get check marks, x, etc...  I don't want the user to change some of the columns, so a MCL with a structure of the event to detect user input works well in the test code.

    When the user clicks on a cell in the LFA, then I place a transparent control chain on the cell of the same size, so the user, it seems that they enter data.  I pre-fill the chain with the existing content of the cell control and site selection at the end of the string.  After you enter a string, the control of transparent string is moved outside the LFA, so all the clicks of the mouse in the LFA are always detected.  It all works very well.

    If the user changes the value and press 'Enter' or click on the button Enter text under the file menu check box, the structure of the "Change value" event triggers then.

    If the user keeps the same value and presses 'Enter' then the structure of the 'Touch Up' event where ScanCode = 28 detects the press 'Enter '.

    However, if the user wants to keep the same value and presses the button check box on the file menu and then the structure of the event does not detect it.  I added a bunch of advanced control of the chain, but if the user moves the mouse away from the control and then the tip appears only for a few moments.

    Some of my users are used to click the box to enter the channels, so I'd like to understand how to handle this event.

    What can I add to the structure of the event to detect user maintaining the same value by clicking the checkbox?

    Thanks for any advice.

    Leif Kirschenbaum

    P.S. I'm using LV 7.1 because my startup employer cannot justify the money to upgrade right now.  Yes, in more modern versions are nodes property to indicate the line & column clicked in a MCL, but I don't have access to it, so I use the position sizes and the row/column of MCL up/left to determine what cell they clicked in.

    You could hide the toolbar of the VI during the race, this disables the option click on the button "enter".

    Or you can run a small loop to see if the string still has key-focus, I discovered that when you enter the main focus is removed from the control of the chain.

    Tone

  • Hide/show the fields based on textbox

    I wonder if there is a way to hide certain fields based on the question of if a user enters a value in a text box and then reappear if the value in the text box is removed and the field becomes white.

    I have two scenarios where I would this happen

    1. I have a "Non-registered" check box and a text field 'blood pressure '. If the user check mark the box "Not registered", the field of blood pressure is hidden (I managed this already). If the user unclicks the box, the field of blood pressure again (even once, I did already). Otherwise, if the user enters a value in the 'pressure' I would 'Unregistered' area to disappear. I got this as well with this code: (placed in the form of javascript Action, mouse upward, event)

    this.getField("Not_Recorded").display = event.target.value = "Off"? Display.visible: display.hidden;

    I don't know if it's the appropriate script that I use, but he did not hide the field "unregistered". The problem is, I would 'not registered' to hide if a value is entered in the field of blood pressure and reappear if this value is then removed (i.e., the user changes his mind or made a mistake and wants to not click saved instead). I don't know if it's feasible or just way too complicated for me to do.

    2. in the second scenario, I have 2 text fields where the user must enter a value for weight in pounds or kilograms. There is a text box for a value of lbs and a text box for a value in kg. If the user enters a value for books, I'd like to field for kgs be hidden, but still, if they delete this value so that the lbs field becomes empty, I would field for kgs reappear.

    is this feasible or is there another way I might be able to do this?

    For the first, I would not hide the check box for the reason you give. In addition to hide the text field, it must reset it so that any value that the user may have entered is not retained when it is hidden.

    If you really want to show/hide the check box depending on whether there is an entry in the text field, you can use the validation script customized for the text field:

    var f is getField ("unregistered");.

    If (! event.value) {}

    f.Display = display.visible;

    } else {}

    f.Value = "Off";

    f.Display = display.hidden;

    }

    For this script start working, you change the value in the text field.

    For the second problem, what I do, is to have a single text field and two boxes to tick to indicate lbs or kg. If you want to stay with the configuration you have, you can clear the other text field with a custom validation script:

    Script for weight_lbs custom validate field

    If (event.value) getField("weight_kgs").value = "";

    Do the same for the other text field, but change the domain name in the script. This will allow only one field to be filled at the same time and do not bother with the masking.

Maybe you are looking for