Enable checkbox when scroll reaches end of page
Hi ,
I am using jdeveloper 11.1.1.6.0 .
I want the checkbox field to be enabled when the scroll bar is scrolled to the end of the page.
I tried using
<af:resource type="javascript">
alert("1");
adfPage.getElementsById("t1")[0].addEventListener("scroll", checkScrollHeight, false);
alert("2");
function checkScrollHeight(){
alert("3");
var agreementTextElement = document.getElementsById("t1")[0]
alert("4");
if ((agreementTextElement.scrollTop + agreementTextElement.offsetHeight) >= agreementTextElement.scrollHeight){
document.getElementsByName("button")[0].disabled = false;
The script is not runing . How do i do it ?
Please help
Edited by: 956223 on Dec 4, 2012 3:43 AM
Hi,
Try leaving it as Positioned and in the Layout palette set the Page to Auto-Fit. If that does not work for your layout you will need to go Flowed. For example if you have fields below the repeating subform you will need a Flowed layout in order to push these objects down. See a description here: http://assure.ly/eSGQMt and an example here: http://assure.ly/e2jR0C.
In the example you will see how I grouped objects that don't expand into Positioned subforms. You should do this before you change the page layout to Flowed.
You will defenitiely need to set the Page to allow page breaks in content and any subform down to the repeating sufborm.
Good luck,
Niall
Similar Messages
-
Display ripples when scrolling ANY types of pages
This is driving me nuts. And giving me headaches. And making my head spin.
My MBPro 2.4Ghz with infamous Nvidia 8600M GT 256MB graphics card is the culprit. A real letdown compared to all the Macs in general, and the portables in particular, that I've used over the last 20 years.
As others have reported here, there is a MAJOR issue with "rippling" lines of text when scrolling web pages. But I am getting the same thing when scrolling ALL types of pages: web, text, spreadsheets, etc.
It happens both on the MBPro screen and on an external monitor.
It happens when scrolling with the trackpad or with a USB mouse.
It happens at all times.
And, if this is possible, it seems to be getting worse. It's almost at the point where I have to TAKE MY EYES OFF THE SCREEN if I have to do any scrolling. If not, by the end of the work day, my head is spinning, my eyes are dead tired, I'm going cross-eyed and, more times than not, I've got a headache from all the "visual effects".
I took my MBPro to an Authorized Apple Technician, to see if it had the defective Nvidia graphics card. I'd done a reformat and fresh install of 10.5.7 the night before.
The Nvidia test software, on an external HD, showed that I don't have a defective card.
Not a bid deal in the end, as they would have just installed the SAME type of graphics card and logic board.
I convinced the Apple Tech to use my MBPro for a few minutes, just to show him what I meant. He said he was surprised to see the ripples, that he'd never really focused on that in the past. But they were definitely there, and he wasn't able to say that it was "normal", as he really wanted to do.
He said he thought it might be a problem with the NVIDIA DRIVERS.
He then went onto his 24" iMac with Nvidia graphics card and, lo and behold, he had THE SAME RIPPLING while scrolling longer web and text pages.
This made him more convinced that it must be "imperfect" Nvidia drivers in Mac OS 10.5. And he said the only thing to do was hope that Apple and Nvidia get these drivers perfected and thoroughly tested in the near future, either by specific update or IN SNOW LEOPARD.
What's frustrating is that I have NEVER had this problem with either our iMac 20" Core Duo, which has an ATI graphics card, or our Macbook Core 2 Duo with GMA 950 Intel chipset. That is, with much older, less powerful Intel Macs, but ones that DON'T HAVE NVIDIA graphics cards.I call it more of a flicker, but I also experience this issue with a MBP (led backlight). It is not browser dependant, but as Safari scrolls smoothly, it is much more apparent with this than other browsers.
Here is a perfect example, watch the sidebars on this page while scrolling :
http://www.theautochannel.com
It's also particularly bad with this site (apple discussion board), and others with high contrast text, the text flickers/ripples very badly This never happened with my Powerbook display. Is this an issue or simply inherent with these displays. Personally, it is giving me headaches when scrolling through large amounts of text (which I often do for work), and rendering this laptop virtually unusable for me.
I'm surprised to find very few others complaining about this phenomenon, perhaps I'm not describing the issue well with my search terms. Has anyone heard of a solution?
Thanks -
InDesign crashes when scrolling/editing a corrupted page with a broken link.
Just sharing a problem I had and how I solved it (with help from adobe tech support-thanks!).
Indesign CC running on a Mac OSX 10.9.2
PROBLEM:
InDesign crashed when ever I reached a certain page in a large document I was working on. On that page was a link to an illustrator file. Somehow this file must have been corrupted, but there was no chance to edit or delete this link/page as the program crashed instantly when ever I tried to manipulated that specific page.
SOLUTION:
I opened a new, empty document; opened the broken file and moved all pages to the new document: LAYOUT/PAGES/MOVE PAGES; select Move Pages "ALL"; Move to: "Select the new document"; click OK. I went back to the new file with the moved pages saved it and deleted the corrupted link on that page which I could now edit again. Problem solved!
Hope this is helpful for anyone who experience the same problem.Did you share in the program forum? InDesign
This forum is about the Cloud as a delivery process, not about using individual programs
If you start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
Firefox 5: distortion when scrolling on all web pages; wavey appearance
There is distortion when scrolling on all webpages using Firefox 5. It doesn't matter how fast or slow the scrolling is, the screen becomes wavey until the scrolling stops. I have uninstalled and reinstalled Firefox and that hasn't helped. This does not happen using Safari or in any documents or spreadsheets opened outside the Firefox browser.
'''''Its better to take a Screenshot of your Toolbars before performing the following suggestion.'''''
Start Firefox in Safe Mode by Holding down the SHIFT key while Starting Firefox -> Safe Mode window will appear -> place Checkmark on 2nd option "Reset Toolbars and Controls" -> Click "Make Changes and Restart".
Check and tell if its working. -
How to Load Next Data to LongListSelector when Scrolling reaches at the end of the LongListSelector
I need to call a function LoadNextData() on reaching at the end of the LongListSelector . I tried to Implement using the msdn twitter sample(https://code.msdn.microsoft.com/windowsapps/TwitterSearch-Windows-b7fc4e5e) with Incremental Loading but it uses
ItemRealized and ItemUnRealized events. But when i used these events , they fires only when an item is added or removed from list what should i do? Is there any alternative ? When i Scroll to the bottom these events are not fired . Is there any
way to solve this?Hi Joel,
Based on my knowledge, the sample uses the ItemRealized event handler to check if the app need load more data.
if ((e.Container.Content as TwitterSearchResult).Equals(resultListBox.ItemsSource[resultListBox.ItemsSource.Count - _offsetKnob]))
Debug.WriteLine("Searching for {0}", _pageNumber);
_viewModel.LoadPage(_searchTerm, _pageNumber++);
The above code snippet ask for more if the app trigger certain conditions. I’ve tested the code sample you provided. It worked. If you still cannot make it working, please post more information for reproduction.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
When two finger scrolling in Safari, it resets itself to the top of the web page - not where I stopped.
From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support. -
The first error is "An unhandled Win32 exception occurred in Acrobat.exe [4644]"
A debug window comes up after this and I open Visual Studio (not my area of expertise), and a couple more messages come up that may be helpful.
Unhandled exception at 0x625628db in Acrobat.exe: 0xC0000005: Access violation reading location 0x00000044.
Then
[Frames below may be incorrect and/or missing, no symbols loaded for AcroForm.api]
This is on Windows 7, running Acrobat Pro version 9.5.5
No new updates are available either.
Any ideas where to start? This happens with a couple of documents, but not all that are being edited.I am also getting the same error for fill-able PDFs. Were you able to find an answer/solution for this problem?
I am using Acrobat X Pro on Windows 7
Any help would be appreciated.. -
Scrolling through zoomed in pages
Wouldn't it make sense, when zoomed in, to give the arrow buttons the behaviour not to scroll to the next page, but to scroll to the next part of the zoomed in page. Now I am constantly struggeling with reading the second half of a page...
Yes I found out that this is a way how to do it, but for one action I need to press many times:
First the down arrow (or keep it pressed) then the right arrow. While from a user point of view
you just want only one thing: scroll at once to the next zoomed in section, or when you reached
end of page, jump to the next page.
I don't have a mouse wheel on my netbook. -
Ripple effect in Safari browser when scrolling pages
When scrolling through a web page in safari using my new iMac Core Duo 17" there is a "ripple" effect in the middle of the page I'm scrolling through. This happens when I use the mouse to drag the scroll bar on Safari. Happens no matter what web page I'm on. This didn't happen on my iMac G5.
Any else have this problem?The threads I saw on this are locked... I had no problems with anything UNTIL the 10.4.5. update - now I have the Safari "ripple effect" on almost every web page. I have to select / highlight the "rippled" portion of the page in order to view it properly...Wonder why this happened to my machine after the update? The update seems to have fixed this problem for others...
-
Runtime Error while Displaying End of Page in ALV
Hi,
This is the Code i have written.. The top of page is printing when i comment the end of page in the program (BOLD FORMAT)..But when Uncomment the End of page Code this is going to Short dump..and the Runtime Error is..
A PERFORM was used to call the routine "END_OF_LIST" of the program "ZPROGRAM
This routine contains exactly 0 formal parameters, but the current
call contains 1 actual parameters.
*& Form DISPLAY_ALV_VBAP
FORM DISPLAY_ALV_VBAP .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE1'
I_CALLBACK_HTML_END_OF_LIST = 'END_OF_LIST'
I_GRID_TITLE = 'THIS IS LAST'
IS_LAYOUT = WA_LAYO
IT_FIELDCAT = I_FIELDCAT
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_VBAP
*& Form top_of_page1
text
FORM TOP_OF_PAGE1.
DATA:IT_LISTHEAD2 TYPE SLIS_T_LISTHEADER.
DATA:WA_LISTHEAD2 TYPE SLIS_LISTHEADER.
WA_LISTHEAD2-TYP = 'H'.
WA_LISTHEAD2-INFO = 'THIS IS TOP OF PAGE FOR SECOND LIST'.
APPEND WA_LISTHEAD2 TO IT_LISTHEAD2.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEAD2
I_LOGO = 'ENJOYSAP_LOGO'.
ENDFORM. "top_of_page1
*& Form end_of_list
text
FORM END_OF_LIST.
DATA:IT_LISTHEAD1 TYPE SLIS_T_LISTHEADER.
DATA:WA_LISTHEAD1 TYPE SLIS_LISTHEADER.
WA_LISTHEAD1-TYP = 'H'.
WA_LISTHEAD1-INFO = 'THIS IS END OF PAGE FOR SECOND LIST'.
APPEND WA_LISTHEAD1 TO IT_LISTHEAD1.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEAD1
I_LOGO = 'ENJOYSAP_LOGO'
I_END_OF_LIST_GRID = 'X'
ENDFORM.Hi
The "END_OF_LIST" event is not called as you have called it.
First capture END_OF_LIST as an event in your events table.
Then use it.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE1'
I_CALLBACK_HTML_END_OF_LIST = 'END_OF_LIST' <----- Wrong
I_GRID_TITLE = 'THIS IS LAST'
IS_LAYOUT = WA_LAYO
IT_FIELDCAT = I_FIELDCAT
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_VBAP
Build an events table like this :
FORM build_events.
DATA: ls_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = gt_events[]
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE gt_events WITH KEY name = slis_ev_end_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE 'END_OF_PAGE' TO ls_event-form.
APPEND ls_event TO gt_events.
ENDIF.
READ TABLE gt_events WITH KEY name = slis_ev_end_of_list
INTO ls_event.
IF sy-subrc = 0.
MOVE 'END_OF_LIST' TO ls_event-form.
APPEND ls_event TO gt_events.
ENDIF.
ENDFORM.
And then use the END_OF_list form as you have defined.
Hope that helps.
Cheers
Ravish -
Problem with Website when scrolling down in IE6
I just created a website using Dreamweaver 8 which used a
left and top frame. All the links in the nav bar in the left frame
open up in the main frame.
Everything works fine in Firefox and IE7, but in IE6, all the
pages were opening up on top of one another, making the page
unreadable. Also, when scrolling down a single page, all the text
would blur into one another, again ruining the page.
The website is www.omarjorge.com. You can see the scrolling
problem by just scrolling down the main page. When I open the file
from the mainframe individually it doesn't have this problem.
Any help is greatly appreciated.Sorry - I scrolled down in IE6 and didn't see your problem.
Also, why are you using such an antique method as frames for
this site? The
reason for using or not using frames should be based on a)
your site's
needs, and b) your willingness to accept the potential
problems that frames
can create for you as developer and maintainer of the site
and for your
visitors as casual users of the site.
I am down on frames because I believe that they create many
more problems
than they solve.
Judging from the posts here, and the kinds of problems that
are described,
the kind of person most likely to elect to use frames is also
the kind of
person most likely ill-prepared fo solve the ensuing problems
when they
arise. If you feel a) that you understand the problems and b)
that you are
prepared to handle them when they occur, and c) that you have
a need to use
frames, then by all means use them.
As far as I know, the most comprehensive discussions of
frames and their
potential problems can be found on these two links -
http://apptools.com/rants/framesevil.php
http://www.tjkdesign.com/articles/frames/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"ojorge" <[email protected]> wrote in
message
news:[email protected]...
>I just created a website using Dreamweaver 8 which used a
left and top
>frame.
> All the links in the nav bar in the left frame open up
in the main frame.
>
> Everything works fine in Firefox and IE7, but in IE6,
all the pages were
> opening up on top of one another, making the page
unreadable. Also, when
> scrolling down a single page, all the text would blur
into one another,
> again
> ruining the page.
>
> The website is www.omarjorge.com. You can see the
scrolling problem by
> just
> scrolling down the main page. When I open the file from
the mainframe
> individually it doesn't have this problem.
>
> Any help is greatly appreciated.
> -
Webpages enlarge when scrolling with mouse
Sometimes when I am scrolling up or down a page in Firefox, the page will stop scrolling and the page will instead start enlarging or shrinking, depending on whether I am scrolling up or down. I am not touching the keyboard when this happens and definitely did not hit the Control button first. It just randomly starts happening, usually when scrolling through a lengthy page, such as my Facebook newsfeed. This has been happening for several months. What can I do to stop it? It's really annoying!
Make sure that you do not press the Ctrl key.
You can set the <b>mousewheel.withcontrolkey.action</b> pref to 0 to perform a scroll.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
You can use the Filter bar at to top of the about:config page to locate a pref more easily. -
Keeping Menu Visible When Scrolling Page
Hi, I have a flash website that has a fair amount of conent
on one of the pages such that you need to scroll down a few pages
to get to the end of it. I have a verticaly oriented menu bar on
the right side of the screen that I would like to move down and
stay visible as the user scrolls to view the whole page. Right now
the user has to scroll all the back up to the top to use the
navigation bar. My menu bar is setup as a movie object in flash.
Any help would be greatly appreciated. Thanks!There's a javascript event that fires when a user scrolls
using either the mouse wheel or clicking the up or down arrows. You
can catch it in javascript with this: window.onscroll =
doSomething;
I'd have that function adjust the position of the div tag
containing your flash movie. -
Weight of a page /reveal images when scrolling.
Hello, all!
This is my first post in the DW forum, my field of expertise is Photoshop and imaging in general.
A user in the french forum asked several questions that I can't unfortunately answer:
( http://forums.adobe.com/message/4728148#4728148 )
One deals about the total weight of a page, when images are only revealed with a mouseover. I originally pointed the weight/time meter on the bottom of the document panel, but the question is about the total weight with the linked images. (But the actual amount loaded when one reaches the page initially is the one listed, right?)
The second question deals about the fact that she noticed on certain sites that images are revealed/load only when one scrolls down to reach their location in the page. My assumption is that it is done with a script, but I might be totally wrong.
Hoping you can help me help him/her.For the images that load only when the area is in focus (scroll, for example) she can use Lazyload plug-in. You can get details here: http://www.appelsiini.net/projects/lazyload
For the load shown in status bar of DW, it's 'File Size/ Download Time'. This excludes all 'remote' images. As the name suggests, it only displays the actual 'file' size and objects that have been written into the file and locally linked. -
When x scrollbar reaches end%25252C the next file is automatically selected
I am working on a data analysis package, where a binary file is read and data is sent to a color plot. I would like to write some code that would allow the user to select a file, and then use the x-scrollbar to move through the data of one file, and when it reaches then end of the file, the next file is displayed. I am new to labview, and need some help getting started. All suggestions are appreciated.
Hi MLH Group TECH,
I would normally suggest using an Event structure triggered off of the control, but unfortunately it would seem that there is no way to trigger an event from the scroll bar. There may be a way to do this with a .NET call to a RichTextBox, since there is a "VScroll" event for that object. But that might be a rather involved undertaking. Perhaps a button to "Go to Next File" would suffice. Hope that helps!
Regards,
Nathan S.
Applications Engineer
National Instruments
Maybe you are looking for
-
how do a edit a scanned pdf? In photoshop or acrobat 9 standard If in photoshop, how do I copy, move and save a letter or word?
-
Using iPhoto '09/8.1.2 on a MacBookPro, with 40,000+ photo library, having the (apparently common) problem of CD burn errors (with Toast and with Disk Utility) when 2 photos end up having the same underlying filename assigned by the camera. To try t
-
Asking for purchasing reqistioner no. while making production order
dear all asking for purchasing reqistioner no. while making production order.how do get rid of this reqisitioner no. option from production order. regards manish sharma
-
As stated above, it is also fully charged and I reset it by holding down home and top button. This is my old phone and was given to my nephew to use as a iPod to play games. It is not being used as a phone, I have the five. He showed it to me on Face
-
[Ecore] xsd2ecore files not readable any longer after migration to Mars
Hello, When working in Luna, I had no problems to visualise the contents of xsd2ecore files with the Ecore to XML Mapping Editor. Now that I've migrated to Eclipse Mars, the files do not seem readable any longer. The editor emits two errors : Quote: