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
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();} }
-
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! :~)
>
>
> -
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:49Just use javascript to toggle below code (all show/hide all)
$('.t1HideandShowRegionLink').children('img').click();
-
LiveCycle Form - box needs to show/hide images
My box is called Ucheck. The image is named UStamp. I need the box to activate the visible image.
I have read other responses to forum and found this example:
showHide = event.target.isBoxChecked var (0)? display.visible:display.hidden;
this.getField("Text036").display = showHide;However, when I have the script above in my form (changinging the (getField to "Ustamp") on LiveCycle, it gives me this answer)
Script failed (language formcalc; context is)
xfa form [0] [0]. U check [0]. #subform [0]. Ucheck [0]
script = var showHide =
event.target.isBoxChecked [0]? display.visible:display.hidden;
this.getField("Ustamp").display = show - hide
: Error syntax near token '? "on line 1, column 44.
When I take the '? ', he said: he doesn't like something else on the script.
I don't know ANYTHING about Javascript, so do not have the slightest idea how to debug this. I don't program in Access, but know not true either VB.
Thank you for your help...
Do you have, you save the form as dynamic... in the dialog box save as file make sure you that you choose a dynamic PDF as type.
Paul
-
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 23948Hello 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 ;-) -
Avoid complete when page is rendered dynamically show/hide elements in a page
Hi experts,
I use Jdev 11.1.1.5. My use case does not show/hide multiple buttons/panelBoxes on the same page.My approach is to define the rendered property pointing to a session variable
<af:panelBox rendered="#{sessionScope.render_panel1}" <af:commandButton action="#{backingBeanScope.myBean.configureRenderButtons}" rendered="#{render_button1}"/>
.. .and go to the same page by using an action method in a managed bean:
public String configureRenderButtons() { JSFUtils.storeOnSession("render_panel1", "true"); JSFUtils.storeOnSession("render_button1", "false"); ... return "same-page.jspx" }
My problem is that I noticed that this full page is rendered whenever I press the button. So as soon as the page has grown in size, it became a bit slow for end users.
Could you please advice on this?
Kind regards
Jose.
I got the solution.
I changed:
(1) changed to visible, rendeded
(2) partialSubmit added to the button
(3) partialTrigger added to the component I need to show/hide (panelBox)
(4) action changed to actionListener
Hope this helps (and hope it's a good practice, please post!)
Jose.
-
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 -
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. :) -
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-> > > >
If you change the model to 'Région Standard', columns are displayed correctly
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.
-
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 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
ErickHello 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
-
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 greetingsYou 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
Maybe you are looking for
-
whenever the browser now opens, it opens to yahoo where a popup lights and say you are selected for a prize with a value of at least $50, if you take a short survey. It crashes me to do anything. same thing when I go to facebook but no other site. it
-
I have problems lately with iTunes, when I import a CD for example Don Henley Cass County, it divides into two albums with 11 songs and the other with 1 song. I checked the meta data and it is the same thing. Sometimes, when I open iTunes there is an
-
Problems with WLAN on Satellite M40X
It is possible to get wlan working on laptop Toshiba Satellite M40X? I have Windows XP Home Edition installed and wlan worked fine, but after that I formatted and reinstalled Windows XP Professional, Windows could not find the wireless - ethernet ada
-
NB200 - how to set up Bluetooth?
Hi hope someone can help me, I bought the Toshiba Mini Notebook and am not sure if there is bluetooth installed on it it shows in the bluetooth Control Panel,.If I have installed could u tell me how to put in place because I can't find any help on th
-
direct3D on family xp problems
I have a XP Home PC and rexently lost the file d3d8.dll.playing sims2 when the power is out.on sims2 restart would not play.Dxdiag says d3d8.dll is missing and impossible to test direct3d on the diag tool.reinstalling directX does not fix the problem