Next Button in a Hide and Show Region is not displayed correctly

I created a new button at the bottom of the region in a Hide and Show Region called [Next >]. The button is displayed to the right of the region. I want it displayed at the right end of the bottom of the region. The following is the button properties
Name
Button Name : NEXT_SIGNS
Text Label/Alt: Next >
Displayed
Sequence            130
Display in Region: Signs and Nameplates (1) 100
Button Position:    Bottom of Region
Button Alignment: Right
Attributes
Static ID:          
Button Style:      Template Based Button
Button Template: PA Button
Button Type:       Hot
Button Attributes:
Action When Button Clicked
Action:                 Submit Page
Execute Validation: Yes
Database Action:    No Database Action
Conditions
None
Security
None
Configuration
NoneWhy is this occurring and how can I resolve the issue?
The following is the template of the hide and show region:
<div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
  <div class="hide-show-top">
    <div class="hide-show-title">
<div class="rounded-corner-region">
<div class="rc-blue-top">      
<div class="rc-blue-top-r">
          #TITLE#</div>
</div>
</div>
       <a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_2/rollup_minus_dgray.gif');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif"
  id="shIMG#REGION_SEQUENCE_ID#" alt="" />Click on arrow to enter/hide  information for signs and/or nameplates</a></div>
    <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
  </div>
  <div class="hide" id="region#REGION_SEQUENCE_ID#">#BODY#</div>
</div>APEX version 4.1
DB version 10g Rel 2
PLEASE HELP!!
Robert
http://apexjscss.blogspot.com

I created a new button at the bottom of the region in a Hide and Show Region called [Next >]. The button is displayed to the right of the region.I only see it displayed to the right of the region in Firefox (Safari and IE8 showed it above the sub-regions). Not obvious to me why this is the case (it's usually IE that does it's own thing).
I want it displayed at the right end of the bottom of the region.Button position Bottom of Region causes an anonymous HTML table containing the button(s) to be generated after the <tt>#BODY#</tt> placeholder in the region template. Your Hide/Show region template didn't have a <tt>#SUB_REGIONS#</tt> placeholder so by default the sub-regions were rendered after the <tt>#BODY#</tt> and the "Bottom of Region" button container (don't know if this is the intended behaviour or a bug). Adding <tt>#SUB_REGIONS#</tt> before <tt>#BODY#</tt> in the template gets things in the right order (button after sub-regions):
<div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
  <div class="hide-show-top">
    <div class="hide-show-title">
<div class="rounded-corner-region">
<div class="rc-blue-top">      
<div class="rc-blue-top-r">
          #TITLE#</div>
</div>
</div>
       <a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_2/rollup_minus_dgray.gif');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif"
  id="shIMG#REGION_SEQUENCE_ID#" alt="" />Click on arrow to enter/hide  information for signs and/or nameplates</a></div>
    <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
  </div>
  <div class="hide" id="region#REGION_SEQUENCE_ID#">
    #SUB_REGIONS#
    #BODY#
  </div>
</div>Firefox is still showing the button to the right of the sub-regions. I'm assuming that this has something to do with everything in this theme being floated left (for reasons that escape me), so we'll try to clear the button container using CSS. The table doesn't have an ID or class so try an adjacent sibling selector using the ID of the preceding sub-region:
#nameplates-name+table {
  clear: both;
}Finally, the button alignment was set to "Left", so I changed it to "Right".
Seems to be working in IE8 (all I have access to at present).
Edited by: fac586 on 30-Nov-2012 20:10
Fixed CSS selector syntax.

Similar Messages

  • Hide and Show Region

    Hi,
    I have created a report with multiple regions. Each region, I set the User Interface-- Template as 'Hide and Show Region'. Each region is having a separate report with input parameters and Go button.
    The problem is , After entering the input parameters and clicking the Go button, the region is closing(collapsing) automatically. I have to expand it again to see report output. This is because of Hide and Show Region. I want to stop this auto hide on clicking the Go button.
    Please help me how to do this.
    Mohan

    <table class="t20Region t20HideShow" id="#REGION_STATIC_ID#" border="0" cellpadding="0" cellspacing="0" summary="" #REGION_ATTRIBUTES#>
    <thead>
    <tr>
    <th class="t20RegionHeader">#TITLE#<img src="#IMAGE_PREFIX#themes/theme_20/collapse_plus.gif" onclick="$r_ToggleAndSave(this,'#REGION_STATIC_ID#')" id="#REGION_STATIC_ID#img" alt="" />
    </th>
    </tr>
    </thead>
    <tbody id="#REGION_STATIC_ID#body" style="display:none;">
    <tr>
    <td class="t20ButtonHolder">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#
    </td>
    </tr>
    <tr>
    <td class="t20RegionBody">#BODY#</td></tr>
    </tbody>
    </table>
    글 수정: user9530063

  • Hide and show region - save state after submit

    hey guys,
    I have a hide and show region template in my page. It is hidden by default(that's perfect). If the user opens the page and submit, the region collapse.
    I want to save this status.
    I searched a lot in this forum. Also found a lot about the *"sticky hide and show region"* feature by Carl, but you can't download this feature anymore :-/
    How can I receive that, without this feature?
    maybe with dynamic actions?
    Hope you can help me.
    Locke
    Edited by: Locke90210 on 17.05.2013 00:30

    OMG I'm to silly for that...
    The status of the hidden item is always expanded...It doesn't change.
    Maybe I always uses the wrong classes.
    <table class="t5HideandShowRegion" id="#REGION_ID#" border="0" cellpadding="0" cellspacing="0" summary="">
      <tr><td class="t5RegionHeader">#TITLE#<a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_5/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_5/rollup_minus_dgray.gif');" class="htmldbHideShowMinLink"><img src="#IMAGE_PREFIX#themes/theme_5/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" style=""/></a></td></tr>
    <tr><td nowrap="nowrap"><div class="t5Hide" id="region#REGION_SEQUENCE_ID#"  style="display:none;"><div class="t5ButtonHolder">#CLOSE#<img src="#IMAGE_PREFIX#themes/theme_5/1px_trans.gif" height="1" width="15" alt=""/>#PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##HELP#</div><div class="t5RegionBody">#BODY#</div></div></td></tr>
    </table>Maybe you can say, which classes I have to use.

  • Classic Report with Hide and Show Region Template does not show report

    Hello,
    I created a "No Template" region on a page with a Classic Report. When I change it to a "Hide and Show" region template, the report does not show up when I click to Show the region...is there an additional step i'm missing to make the report show up. Its a very simple query.
    Thanks in advance,
    John

    How about posting some relevant information like Apex version, RDBMS version, Theme you are using, etc.?
    Regards,

  • Hide and Show Region Problem

    Hi,
    I have created a report with the following attributes:
    Region Definition User Interface - Hide and Show Region;
    Report template -Standard;
    Sort Columns - all checked.
    Report source - SQL Query (PL/SQL Function Body returning SQL query).
    I open a page with this report, click on (+) and show region but when I try to sort records in the column region hides. The same problem I have with some others report templates.
    Report templates Borderless and Horizontal Border do not have this problem.
    I am using Application Express 2.2.1.00.04.
    Could someone explain what it is?
    Thank you in advance.
    Val

    Report template -Standard
    Use a "Standard - PPR" template instead, that works better with a Show/Hide region template because the entire page is not re-rendered when you click on a column header to sort. Only the report region content is refreshed.

  • Hide and show region and an interactive report showing side by side

    Hi,
    I have a report and some filters (drop down list) on a page... I've put my filters in a Hide and show region...
    Here is how it's been set up...
    Display Point: Page Template Body (1)
    20           Filters     HTML     
    Display Point: Page Template Body (2)
    10           Report Saved Report     
    my issue is that the filters and report search region shows side by side in a same row... tried changing the regions but still getting the same response... Please advice

    Hi,
    Place both regions to Display Point: Page Template Body (3).
    Then set filters region sequence to 10 and report 20
    If that is not what you need, please specify more how you like layout look like
    Regards,
    Jari

  • Hide and show regions

    Hello,
    I am using Hide and show regions on my page. But now I'm encountering a problem. Every time the page reloads, all regions are collapsed. Is there some way to make sure the regions that were open, are open again when the page reloads.
    Thanks in advance,
    Bram.

    Hello Bram,
    Ben's right :) I forgot it was allready made in the past... check out the howto: http://apex.oracle.com/pls/otn/f?p=35250:6:1357026562718730::NO
    So, I just wasted some time creating my own example, without the collections used in the packaged app Ben referred to. But here it is, nonetheless: http://apex.oracle.com/pls/otn/f?p=39118:10
    Greetings,
    Rutger
    http://rutgerderuiter.blogspot.com/
    ===============================================================================
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • I just upgraded to Mavericks and suddenly youtube does not display correctly although other sites work fine. I am using the newest MacBook Air. Any suggestions?

    I just upgraded to Mavericks and suddenly youtube does not display correctly although other sites work fine. I am using the newest MacBook Air. Any suggestions?

    Hi ..
    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Back to Safari. Press Command + Option + E to empty the Safari cache.
    Quit and relaunch Safari, try a video.

  • Pdfs and word docs started not displaying correctly in browser. How do I fix this?

    Until about a week ago, when I would open a pdf or word document in Firefox, it would open in a new Window and I could view it without download. Now, when I open a pdf, it shows some lines, but no text. I can only view the document if I then download the document, which will display correctly. Today, I tried to open a Word document from Firefox. A new window opened and it told me how many pages there was, but all of the pages are blank.
    Is there a way to fix this? I like not having to download the documents unless I want to save them.
    I'm using Firefox 37.0.1 on a computer running Windows 7 Enterprise, Service pack 1.
    Thanks,
    Jessica

    Ok. My computer ran updates last night and today it works. So, I'm good for now. If this happens to anyone else, I'm not sure how it was fixed besides the fact that my computer ran updates and restarted.
    Thanks,
    Jessica

  • Exchange IMAP Inbox and selected sub folders not displaying correctly

    Hi All,
    I hope you can help me with the following issue:
    We are running MS Exchange 2003 with IMAP. Normally I connect from my Mac to the mail server (using IMAP), everything worked fine until two days ago. I began with a few messages not showing up in the inbox folder while I confirmed their existence via Outlook Web Access and Outlook running in my Virtual Machine. Following an advice I dig out in the forums (moving Mail folder and re-importing all messages) it got kind of worse, my inbox did not show up at all while OWA and Outlook still correctly display all messages. Same goes for a few of the user created folders, though most of them load correctly. I cannot identify any system why some folders display correct and others do not.
    As far as I am aware I have followed all the advices in the forums (well, at least those I've found).
    Any help would be very much appreciated.
    Kind regards,
    equinox

    I have set up a new MacBook with the exact same details as I used on previous Pbk and on iMac 24 at work.
    I can't receive/see anything in IMAP inbox on MacBook. I can send from the account ok.
    I have set-up another white MacBook now and it has the very same issue. The only common difference is that the previous Pbk and the intel iMac operate 10.4 while the two MacBooks are on 10.5.6.
    Is there a known issue with 10.5 and Mail/IMAP?
    EDIT:
    From looking at posts further back, I see that yes, there is a big ongoing problem with Mail and IMAP. But is there particularly an issue with 10.5?
    BTW, POP works fine, using IMAP simply results in no incoming mail at all.
    Message was edited by: DB1@mac

  • Region Definition- UI TEMPLATE:  Hide and show Regions

    I am using this template on a page, for a number of small regions.
    Each region holds a handful of text items for user input, a submit button, and a couple of display only items (source type pL/SQL Expression or Function).
    mini calculators for specific functions.
    They work fine (thank you Varad).
    But - when I click SUBMIT, the region 'collapses, or hides' itself. I want it to stay open, so we can see the answer, and only close when user clicks the flippy triangle to close it manually.
    Is this possible?
    If not, I'll use buttons and conditionally show/hide the regions.
    Thanks
    Marion

    This might help:
    http://carlback.blogspot.com/2006/11/how-to-create-sticky-show-hide-regions.html
    Shunt

  • File Path and Name field does not display correct path

    We are using Crystal 2008 along with VS 2005. We embed the special "File Path and Name" field  inside our report and it displays the correct path when viewed inside Crystal reports:
    C:\Program Files\reports\Chart.rpt
    When run through the web and viewed in the DHTML viewer, the file name and path appear as follows:
    C:\Windows\TEMP\Chart {02152A43-3339-4C03-A50A-E281E1D391AF}.rpt
    How can this be corrected?
    Thanks in advance for any assistance.

    This is a known issue tracked under ADAPT0000962216. At this time I do not know when this will be resolved, however Service Pack 2 for CR 2008 is targeted to be released by September and this may contain the fix.
    Ludek

  • 0 margins and 0 padding still not displaying correctly in Internet Explorer

    Hi I have designed a page for my site that works perfectly in safari and firefox but of course in internet explorer it doesn't.   The content under the slideshow is meant to line up with the edge of the slideshow.  This is the linkhttp://www.kimberleywebdesign.com.au/Links.html.
    The divs and the tags within them, have 0 margins and 0 padding with the exception of top and bottom padding, so even if internet explorer doubled my margins - double nothing is nothinng ??  I am trying to understand why the problem occurred? 

    My understanding is that IE misinterprets text-align:center in the #wrapper div.
    Change:
    #wrapper {
    width:48.75em;/*780px*/
    margin: 0 auto;
    text-align:left;}
    to
    #wrapper {
    width:48.75em;/*780px*/
    margin: 0 auto;
    text-align:center;}
    Then add text-align: left to each div where the text needs to be left aligned
    e.g.
    #portfolio {
    margin:0 auto;
    padding:2em 0 0 0;
    width:680px;
    text-align:left}
    and so on. Worked OK for me in IE8.
    See: http://www.andybudd.com/archives/2004/02/css_crib_sheet_3_centering_a_div/
    Add this tip, taken from the link above, for good measure:
    "This gets IE up to scratch. However this is the step I always forget. In Mozilla, if you reduce the size of the browser window, half of your centred div hangs off the left of the page. This is an odd one, but I've been reliably informed that it's the correct behaviour. To prevent this, just set a min-width on the body tag."

  • Iweb and Safari 5: pages not displayed correctly

    Hello. I am designing some pages that appeared just right in Safari 4, but now that I use Safari 5 they are all wrong (they do appear correctly in Firefox and Opera). Is anybody having the same problem?
    l.

    Tom thank you for answering. I take it back. I reinstalled Safari and everything works fine now. I am closing this issue and erasing the message if possible.

  • Hide and show button

    hi , i want when i click on show button then the show button hide and the hide button show , and vice versa , how i will do that through java script or any method plz help

    Hi little foot ,
    I am using apex 4.0
    can you tell me how to make the hide and show region to open it on sidewise now its opeing in downwards direction can you tell me .
    Thanks & Regards.
    Shadab

Maybe you are looking for

  • Illustrator CC will not start

    I am using the new 27 inch iMac running Mountain Lion. I am a registered Creative Cloud user. I just installed Illustrator CC and it will not start. When the splash screen appears, I get this error message: Can't print the illustration. Disk full err

  • Best way to start a new catalog for 2009 ?

    Hi, What's the best way to start a new catalog for the new year, with all the keywords and all the presets of the modules (without having to export all the folders) of previous catalog 2008 ? Thanks, Dominique

  • Transport request organizing report based on package

    Can anyone suggest me from which tables i will get all the transport requests, package to which it belongs to, which date it has been created, in which date it has been trasported and modified and to which user id it belongs to.

  • How to recover a deleted/overwritten mailbox in Exchange 2013?

    We had a mailbox in our exchange database 1 called, example, [email protected] And I had to create another mailbox called, example, [email protected], which I created in the same database. This either deleted or overwrote the first mailbox (@abc.com)

  • Personal customizations , i.e. a new tab button, reset upon the closing of the window

    further explanation of customizations: the buttons i may add or remove from a toolbar like copy, print, new tab, or home, will reset after closing firefox