Scroll down/up functionality in a jMenu?
What i mean is a jMenu similar to that of internet explorer's
Favorites menu. When you have a ton of favorites you get a little arrow
pointing down or up depending on where you are in the menu. Is it possible to implement something similar in java with a jmenu? if so how?
Ps thanks to all who helped with my previous JMenu question. I got it figured out :)
Found this for you
http://forum.java.sun.com/thread.jsp?forum=57&thread=310457&message=1250922#1250922
Similar Messages
-
3 fingers scroll down/up functions as a highlighter
Hello -
Did anyone has this. When I'm on an online and use three fingers to scroll it functions as a highlighter of text. Also moves pictures (makes a copy with the original on a website) on the web browser. I'm not sure if this is a trackpad issue? Please advise.It is normal.
I can drag with three fingers and highlight with three fingers. -
Functionality to scroll down.
Hi all,
I have a requirement where in a tcode calls SM30 to maintain the Ztable. when the new entries button is clicked or if on the position the key value is added a custom screen is called which will display only the required field of the table through a new entry can be created or the changes can be updated into the table.
I am able to achieve this but when we scroll down then automatcially the custom screen is called.
how can i get the normal functionality of the ok-code where when we scroll down it behave noramlly without calling the next screen.
TIAfor each scroll PBO is executed. so you should call your cutom screen from PAI not from PBO
-
I am experiencing difficulty with iPhoto '11. Some of more recent photos can not be accessed. As I scroll down the page of photos, the most recent ones appear briefly, then disappear to be replaced with a box outlined by a broken-line. The menu bar says that I have 317 photos hidden. Hiding photos is not something that I normally do, can't imagine why these are hidden. Anyway, when I try to unhide the photos, I can view them as an event, but if I click on a single photo, or try to move it into an album, the photo does not display. Instead I get a dark exclamation point within a triangle. Another problem with these same photos is on the event page there is no key photo for these events only a dark screen. I can't find an answer to my problem. Has anyone experienced this? What is the problem and how can I correct it?
The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
How to read the whole name of a music title while scrolling down a list of titles? The old software-app had the function to click for a longer time on a titles beginning letters until a black box revealed the entire name. I miss this function especially for my classical music, because lots of pieces start with similar words. E.g.:
"Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 1"
"Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 2"
Scrolling in a list of title, I can't distinguish the titles, because just the first words are shown followed by: "...".
That's horrible!Or you could include a width to your body style:
body {
background-image: url(Logo/sky1.jpg);
background-position: center center;
background-attachment: fixed;
width: 75%;}
It might work or not depending on your other color scheme. -
When using i photo and trying to pull up individual photos - the photo will appear and quickly disappear only to be replaced by a black screen with a white explanation mark. This happens with all of my photos. Has anyone had this problem and if so what can be done to fix it. I did not select this graphic to be added to my i photo pictures - the blace sign with the white explanation mark. Also, when scrolling down photos in faces some of my pictures disappear after a quick view.
Thanks for any help you can provide. It seems like something has gotten into my i photo picture account?The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
What version of iPhoto? Assuming 09 or later...
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
Table Scroll down using a button
Hi,
Can some expert Webdynpro consultant try out this weird requirement and give me the solution. ( Its for an app to be used on Mobile which is why asking for it. Its working fine on computers/Laptops)
Create a table and bind it with a child node and fill it with data so that it has many rows.. Now for scrolloing down, instead of using the scroll down button provided by the table element, create a new button which will perform the same functionality of scrolling down.
I have found the class which has the method which perform this functionality but am not able to use it properly.
The class is CL_WDR_P13N_DT and the method is AGGR_MOVE_DOWN.
I have tried MOVE_ELEMENT and all move related methods of if_wd_context_node, these methods just change the index position, they dont move the table contents down. So pls dont waste your time on that.
I have used this code:
DATA: lo_nd_resb_tab TYPE REF TO if_wd_context_node,
vn type ref to CL_WDR_P13N_DT.
lo_nd_resb_tab = wd_context->get_child_node( name = 'EKKO_TAB' ).
create object vn.
CALL METHOD VN>AGGR_MOVE_DOWN
EXPORTING
VISIBLE_NODE = lo_nd_resb_tab
Thanks & RegardsHi Fawaz,
To scroll to the required column or row in the output, use the methods of the interface
class IF_SALV_WD_TABLE_SETTINGS (implementing class
CL_SALV_WD_CONFIG_CLASS).
Methods for Horizontal and Vertical Scrolling
Function Method
Specify row to be displayed as the first row - SET_FIRST_VISIBLE_ROW
Get row to be displayed as the first row - GET_FIRST_VISIBLE_ROW
Specify column to be displayed as the first column - SET_FIRST_VISIBLE_SCROLL_COL
Get column to be displayed as the first column - GET_FIRST_VISIBLE_SCROLL_COL
regards,
Amol -
Condition Type Amount field is disappearing in Quotation when scroll down & scroll up is done
Hi Friends,
I am getting a strange issue in the Quotation.
When i change the Contract Validity Period value in the Header section, a custom discount condition type will appear in the Conditions Tab. But the issue comes when i scroll down and scroll up the screen in Condition tab the amount value is disappearing. I debugged almost the whole functionality but still not able to get where the issue is happening.
Any help on this regard is highly appreciated:)
Please find the attached document for the reference.
Regards,
SantoshHi Virginia,
The description of the issue seems to indicate that the BOM is reset in ECC. Can you have a look at note 380911 and consider the suggested settings?
X: No structure is exploded in the R/3 system.
Subitems are externally
assigned via the BAPI interface. In particular, no free goods determination and
no material substitution is executed in the R/3 back end either in this
case. .../...
Best regards - Christophe -
ME22N - How to scroll down the purchase order items
Hi,
I have to make a function with call transaction (ME22N) and when I use the SHDB transaction to build the script, I can´t find the scroll down command for the items list. I have to use because we will have many items to edit / exclude / finalize in a purchase order. How can I solve this problem?
Thanks.Hi,
It is not suggested to make a recording for a BDC in tx: ME22N, ( EnjoySAP transactions are not suitable for SHDB recording ) instead use ME22 and on the table control scrolling, you find an "ITEM" field where you enter the item which should be positioned in first line of the table control where you could double click the first line in table control to view the details.
Also you could achieve the change of a PO by BAPI: BAPI_PO_CHANGE.
Hope this helps.
Best Regards, Murugesh -
Vertical scrollbar not showing all the records when I scroll down.
Vertical scrollbar not showing all the records when I scroll down.
Using Oracle forms 10g , operating system windows
I have two fields with number of items dispayed = 15.
I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
Here are the properties for block / scrollbar.
WORK_CATEGORY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
- Query Array Size 0
- Number of Records Buffered 0
* Number of Records Displayed 60
* Query All Records No
- Record Orientation Vertical
* Single Record No
- Database Data Block Yes
- Enforce Primary Key No
- Query Allowed Yes
- Query Data Source Type Table
* Query Data Source Name WORK_CATEGORY
* Query Data Source Columns
* Column Name JOB_TYPE
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
* Column Name WORK_CATEGORY
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause
* ORDER BY Clause job_type
- Optimizer Hint
- Insert Allowed Yes
- Update Allowed Yes
- Locking Mode Automatic
- Delete Allowed Yes
- Key Mode Automatic
- Update Changed Columns Only No
- Enforce Column Security No
- Maximum Query Time 0
* Maximum Records Fetched 0
- DML Data Target Type Table
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
Don't know where am I going wrong. I'll really appreciate if you can help me in this.
Thanks.
Edited by: 831050 on Sep 14, 2011 8:05 AMOne of the items is a list item.. here are it's properties:
* Name JOB_TYPE
* Item Type List Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
* Elements in List
* Label
* List Item Value LIST20
* List Style Combo Box
- Mapping of Other Values
- Implementation Class
- Case Restriction Mixed
- Popup Menu
- Keyboard Navigable Yes
- Mouse Navigate Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
* Required Yes
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
* Number of Items Displayed 15
- Database Item Yes
* Column Name JOB_TYPE
- Primary Key No
- Query Only No
- Query Allowed Yes
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Visible Yes
* Canvas CANVAS2
- Tab Page
* X Position 47
* Y Position 137
* Width 187
* Height 18
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
- Foreground Color
* Background Color white
- Fill Pattern
- Font
* Font Name Tahoma
* Font Size 10
* Font Weight Demilight
* Font Style Plain
* Font Spacing Normal
* Prompt Job Type
- Prompt Display Style First Record
* Prompt Justification Start
* Prompt Attachment Edge Top
- Prompt Alignment Start
* Prompt Attachment Offset 10
* Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
* Prompt Font Name Tahoma
* Prompt Font Size 10
* Prompt Font Weight Bold
* Prompt Font Style Plain
* Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
- Initial Keyboard State Default
- Keyboard State Any
-
Problem: When doing anAPP to test it out in my smartphone devices. I tested it on my computer and it works fine. But in devices, im not able to scroll the textbox down/up because my devices dont have a scroll wheel to scroll up/down.
Assuming that im looking for something like this:
When I use my fingers to touch on the textbox and slide it upwards, the textbox will scroll down..
Thank you for your help.Hi, thanks for your reply.
By using touchevents, how do I...
1) know that if my fingers is sliding up or down?
2) scroll the textbox up/down?
import flash.events.TouchEvent;
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
this.addEventListener(TouchEvent.TOUCH_BEGIN, touchBeginHandler);
this.addEventListener(TouchEvent.TOUCH_END, touchEndHandler);
function touchBeginHandler(event:TouchEvent):void
function touchEndHandler(event:TouchEvent):void -
Java based Chat console works fine, but does not automatically scroll down to last chat item
Hi,
I am currently facing a problem with a Chat program using jsp (Java Server Pages) where the chat console works perfect except for one little thing.
The chat window does not automatically scroll down to the last reply in the chat window.
the code used to scroll down to the last items (based on Netscape) is the following:
<pre><nowiki>if (navigator.appName.indexOf("Netscape") != -1) {
isOther = (navigator.appVersion.substring(0,1) == "3");
isNS4 = (navigator.appVersion.substring(0,1) == "4");
isNS6 = (navigator.appVersion.substring(0,1) == "5");
} else if (navigator.appName.indexOf("Microsoft Internet Explorer") != -1) {
isIE = true;
} else if (navigator.appName.indexOf("Opera") != -1) {
isOpera = true;
} else {
isOther = true;
if (navigator.platform.indexOf("Mac") != -1)
isMac = true;
if (isOther)
alert("Sorry but you will have to upgrade your browser to NS4+ or IE4+ for this to work properly.");
function setScrollProperties() {
if (isMac) {
scrollStart = 0;
scrollEnd = answerFrame.document.height - scrollStart;
} else {
scrollStart = 0;
scrollEnd = answerFrame.document.height - scrollStart;
function doScroll() {
documentYposition += scrollAmount;
window.scrollTo(0,documentYposition);
if (documentYposition < scrollEnd) {
setTimeout('doScroll()',slowScrollInterval);
}else if (moreScrolling){
moreScrolling = false;
scrolling = false;
startScroll();
}else{
scrolling = false;
}</nowiki></pre>
I cannot see what goes wrong in here and the manufacturer does not know how to fix this either.
Irritatingly this scrolling function is working normally in IE, Chrome and some other browsers.
I sure hope you can help me, as this is a very irritating problem that needs to be solved.
Best regards,
Corné SnoekHi,
sorry for such a late reply. I tried modifying the java bean to resize the JScrollPane object also but even that didn't work. Then I hardcoded the size of my Java Bean in my forms code by trial and error. For example, the size of the bean area was 381x169. The values that I had to pass to the "setSize" bean method were 510x195. This made the bean exactly fit the bean area. Seems crazy to me, but there it is.
Anyway, thank you.
Manu -
Bookmarks only scrolls down to a certain point and can't add any?
Had a multiple virus attack and have most everything fairly well back to function and restoration. But in the process Bookmarks stopped functioning properly. I'm unable to add, only scrolls down to a certain point and I've gone through the Restore steps multiple times without success. HELP.
What are the yellow warning signs, maybe a screenshot would help.
* [[How to make screenshots]]
* [[How do I create a screenshot of my problem?]]
If you disconnect from the internet you will get warnings and they may include yellow triangles.
Are you using the problem laptop again now or are you using something the cat has not been sleeping on ?
From what you say it seems Firefox is working ok but some tabs still will not work -
Positioning-problem-when-scrolling-down-webpage with j query pop up calendar
i have posted this again since the previous has been answered and beside, try to simplify the problem
I am trying a very simple code here by have so many break lines so i can scroll down to the page. when i scroll down, click on the text box, the pop up calendar dosen't appear next to the text box, i appears all the way on the top. is there the way to make the calendar appeas next to the text box.
<link rel="stylesheet" href="css/jquery-ui.css" />
<script src="scripts/jquery-1.9.0.js"></script>
<script src="scripts/jquery-ui.js"></script>
<script>
$(function() {
$("#datepicker").datepicker({ minDate: 0 });
</script>
<cfoutput> #repeatstring("<br>",100)# </cfoutput>
<cfform>
<cfinput type="text" value="" id="datepicker" name="sale_date" />
</cfform>
thankstried this but didn't work when scroll down to the bottom of the page.
<script>
$(function() {
$('.datetime').datepicker({
dateFormat: 'm/d/yy',
beforeShow: function (input, inst) {
var offset = $(input).offset();
var height = $(input).height();
window.setTimeout(function () {
inst.dpDiv.css({ top: (offset.top + height + 4) + 'px', left: offset.left + 'px' })
}, 1);
</script> -
Select List with Submit refreshes page to top force users to scroll down
Hello All,
I have Dependent Select List where this functionality driving select list submit values to a subsequent select list.
The "Select List with Submit" refreshes page where the unintended by-product is page refresh, which returns to top of page and therefore force users to scroll back down.
In other words: I have a long form page where I have a Dependent Select List. So when you change the value of the 1st select list it refreshes the 2nd. This is all fine, but when the refresh occurs, the Form-focus returns to the top of page. This makes the users scroll back down to the lower end of the Form where they left off. This would make usability problems for users.
Anyway we can make the Form return where to the area(Item or Region) where the user was during the selection of the Select List?
Thanks in advance,
KonstantineHURRAY!! I got it to work perfectly using anchors. I am adding this message to help future ApEx developers.
I have been searching the Forum for 3 days and have read numerous postings. There was a lot of good discussion on anchors and linking from page to page. But, nothing exactly like my situation.
Situation: Have a page, PG4, with a button, PG4_BUTTON, that redirects to a different page, PG7. PG4_BUTTON has its 'Display In Region' field set to PG4_REGION. When PG4 is run and the form displays, the PG4_BUTTON is located at the bottom. When the user would click PG4_BUTTON, the user would be taken to PG7. (this is good) The user enters some data in PG7 fields and then clicks a create button, PG7_BUTTON. PG7_BUTTON would submit data. An After Processing, Go To Page, Branch would be activated when this button was pressed and then the user would be returned to a refreshed PG4, at the top. This forces the user each time to have to scroll down to the bottom of PG4 to continue. (this is NOT good)
Solution: On PG4, I edited the region, PG4_REGION. For the region 'Title' I added an anchor before the actual name. So it looked like this:
{a name="REGION_TO_RETURN_TO"></a}PG4_REGION
please note: where I have the curly braces above '{' '}' you need to put < the pointed and '>'
Next, on PG7, I edited the Branch. On the 'Edit Branch' page, in the 'Action' region, I changed the 'Target type' field from 'Page in this Application' to 'URL'.
To the 'URL Target' text area field I added this:
f?p=&APP_ID.:4:&SESSION.::::::#REGION_TO_RETURN_TO
So, there you have it. If you still need to read other postings, here are a couple of the sites I read:
Re: Lists that go to items
Re: URL target on a button. What is the syntax??
How to use <a name="top">Hello I'm at the top </a> tags in apex url ?
Re: anchor or go to item from a branch
http://www.oracle.com/technology/products/database/application_express/howtos/howto_navigate_in_a_page-1.6.html
http://www.echoecho.com/htmllinks.htm
http://www.htmlcodetutorial.com/linking/linking.html
http://www.w3schools.com/HTML/html_links.asp
Thanks,
Maggie
Maybe you are looking for
-
Business Objects and Data Services on VMWare
My company has a requirement to deploy Business Objects 4.0 as well as Data Services. We are going to be deploying them on Windows Server 2008 R2, hosted on a VMWare cluster. I have reviewed the PAM, but my question is: Will these run using SQL Serv
-
Maximum file size on SM19 ( Dynamic Configuration )
Hello, How i can change <b>Maximum File Size</b> on SM19 (Dynamic COnfiguration no static) ? Thanks in Advance Jean Pierre Telschow
-
Installing and setting up Real Application Cluster
We installed Oracle 9i R2 and then inserted the CD of RAC. The CD did not open any front-end for installing and configuring RAC. Please let me know how to start the setup and configure RAC on Windows XP.
-
Set Finder Layout and Size - Silly Question
Hi Guys and Happy Late Valentine's Day! I have a really easy question regarding the size of the finder window. Every time I open a new window in the Finder, it is too small for my liking, so I have to resize it. Do you know how I can set a size for t
-
Error 5 on launch of illustrator cs4
"Licensing for this product has stopped working" Panel states that I should re-start computer and if it still happens mention error code to to Adobe Technical Support for help . . . unfortunately product out of date and stated that I go to the forums