How to trigger an action when scrolling of content
I downloaded a couple of different question of the dps magazine and I found something interesting that I want to reproduce.
When you're scrolling of content in an article, at some point it trigger an action such as change the background image?
I'm guessing that this was done Indesign outside, perhaps with the edge? I would be grateful if someone could give me a guide on it.
It's almost certainly an HTML article or a web overlay. We have no with InDesign DPS tools to raise substantive changes the scroll.
Neil
Tags: Digital Publishing Suite
Similar Questions
-
How to run dynamic Action when clicking on a link in a report
APEX V4.2.3
DB EA 11.2
APEX listener V2.0.5.287.04.27
13 blue-gray theme
IE9.0.8112
FF26.0
I have classic report and I would like to launch a dynamic action (together a show has confirmed and the value of the alert, submit the page, then run a process) when the user clicks on a link in a report or click on #ID #.
I can write the real actions that I just need to know what to write behind the report link that will serve as a trigger for the DA?
Thanks in advance
PaulP
It's the link attribute
onClick = "if (confirm (' do something for #ENAME # with EMPNO: #EMPNO #'")) {$s('P5_ENAME_CLICKED','#ENAME#') ;};$s('P5_ID_CLICKED','#EMPNO#');doSubmit()""
It's getting a bit long on a single line, if you want, put it in a function
However, fixed, forgotten pair of single quotes as soon as possible.
Now you have 2 bind variables to use in the process of page after submit.
: P5_ENAME_CLICKED and: P5_ID_CLICKED
I've updated the example page, http://apex.oracle.com/pls/apex/f?p=14308:5
Good luck.
-
Hallo,
When a line of my af:table is selected, I'd like to perform actions; in particular, I have to toggle a button based on the values of a group of fields to the selected line.
What are the possible approaches to achieve this?
Thank you
Federico
Use a generic selection listener (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf) and call your actions here before or after the selection of the new current line.
Timo
-
How to trigger the function when certain keys entered in the text field?
Gidday
I have a listener of stadium for keyboard events, that triggers a two function control the error for text field entries according to which the movieclip, the fields are. Text in some movieclips trigger fields, a function that checks if the entry is between a certain digital interval, while the textfields in the other movieclips test to ensure that text fields are not left empty.
It works very well apart from me not holding does not count another keyboard events that the letters, numbers, and signs of punctuation, or, among other things, the SHIFT key.
So what is happening now is that the events of keyboard away from the numbers, letters and punctuation trigger an output error.
I was wondering how to fix this?
The listener that I use is:
stage.addEventListener (KeyboardEvent.KEY_UP, KeyPressed);
KeyPressed is a function that determines what error check its operation to run according to which window movieclip is open.
Thank you for your help on this one.
Shaun
If you want it to be a little more optimized, you can create a wrapper class for the textfield and then you wouldn't add the event listener for each text field.
class MyTextField extends TextField {}
public void MyTextField() {}
this.addEventListener (Event.CHANGE, eventhandler);
}
}
In the form create instances of MyTextField instead of directly TextField.
Concerning
Knockaert
-
Hello
I have a script that when you exit a field without the user data that a script response is mentioned.
When the user has entered the required data in the dialog box and click the OK button I wish that the data user in the field as a value.
Please can someone tell how this is possible?
The script is listed as follows:
If this field is stopped without the user to enter data, the following message is displayed
If
(Employee_ID.rawValue == null)
{
XFA. Host.Response ("is a required field, enter your employee id');
}
Hello
I think that this script will do the job:
If (this.rawValue is nothing)
{
var id = xfa.host.response ("is a required field, enter your employee id');
this.rawValue = id;
}Yan.
-
How to invoke the action when the cursor changes to a BasicEditField. ?
Hello
In our application, we have two BasicEditField on the screen. our condition is that each time a
TextBox (BasicEditField) is selected, it moves on the specific screen.
How can I do this?
JDE 4.5.0
Device 8320
Thank you best regards &,.
Narendra
crush onFocus
-
How to perform an action when the button is clicked reply all in BB email?
I find the solution on below scenario, any help appriciated.
User open a receipt email and click the 'reply to all' "."
It is possible to perform any action on the button 'reply to all '?
Thank you
You can not interact with native applications except for adding your own menu entry (entries).
-
How to trigger the procedure when DBMS_SCHEDULER fails work
Hello
I have created few jobs using DBMS_SCHEDULER in Oracle 10 g R2 database.
I need to execute a procedure using DBMS_SCHEDULER, when a job fails or broken or stops.
Please give examples.
Thank you
Best regards
ZouhairIt looks like a custom job.
Found this where they something already written:
http://www.g-solutions.NET/iCreate-content/main/Oracle_Job_Scheduling.aspx
So you should change the package and the calendar to your needs. Looks like a lot less work than any other thing.
Best regards
mseberg
-
Is it possible: an arrow which changes orientation when scrolling of content?
Location:
We will set up a DPS-centric application that has content within a framework of scrolling (see the screenshot below).
At the bottom of the page is an arrow that indicates the user can scroll down.
Problem:
We would like to have the arrow pointing upward when the user reaches the bottom of the parchment.
Tried solutions:
We have tried to create an MSO that has the scroll State as a trigger, but it doesn't seem to be a support option.
We are now looking to see if some sort of 'Super-overlay' could be a workaround, but we have not yet found the key.
Does anyone have any suggestions?
Thank you!
The only way you would be able to do so is through HTML. You can not do with integrated DPS overlays.
Neil
-
How can I disable the mini-bar of scrolling that appears randomly when scrolling?
ProBook 4310 s, Windows 7
When scrolling, a small scrollbox appears randomly and that he's taking me away from the page I'm scrolling on. This happens when I use the small plate square to scroll. It's the only 'function' most irritating of any computer I have ever owned or used, and I wish I could turn it off. How to do that please?
Hi Taxlady:
I found the solution myself. You have to start HP Support Assistant and choose the resolution of problems (the second of the four options, my copy is in Swedish so it may not be called Problem Solving but something similar). Then choose the devices, one on the middle of the bottom row and the following Configuration for mouse and
. Here, you will get a new window with a menu five point on the left. These elements will be something like: Overview, scroll, Point, buttons and other things I don't even understand Swedish for!
Choose scrolling, and down there, you have a finger to scroll. Disable horizontal and vertical scrolling, and your problems are over.
-
How can I trigger an action on the click event of wheel with ApplicationMessages?
Hello world
I've recently implemented ApplicationMessage provided for JDE 4.6.0. It allows developer create custom messages in the global Inbox of messages about its application. It works fairly well but I threshold have question though: when I click on my ApplicationMessage in overall Inbox of messages I get this pop-up: 'no messages not configured service. "You will be able to save draft".
I want to trigger an action (updates my request on the foreground for ie) on this event and prevent this pop-up to appear. I have not found a way to do good.
Somone have never worked with ApplicationMessage and managed to trigger an action on the click event of wheel?
Thanks in advance.
PS: A less important but another question: my ApplicationMessage time in the overall message Inbox is displayed this way: 10:... instead of 10:45 for example. And yet I didn't understand what was the reason of this bad view (it seems that the date is too long or something).
I thought about it: you must register at least an ApplicationMenuItem for your ApplicationMessage, the action triggered by this menu item will be the same if you click your ApplicationMessage with the wheel.
-
How to trigger DA when the user clicks a button close the standard window
Hello!
Apex 5.0 & universal theme.
I want to trigger some DA when the user clicks on the button indicated to my image (button close the standard window). In fact, I would like to pass a value of my hidden form IR back and refresh IR if value = 1 or don't refresh with another value.
Is this possible?
Thank you.
Hi Yava,
Seems that you have chosen to add the event handler to the page parent (the one with the IR). I think it's best. This means that the code above does not apply.
The dialogclose event and all other dialogue jQuery UI events are triggered in the dialog box to create a DA pull on the IR will not work (because the dialog box is outside the IRR while she bubbles it won't go through the SORTING). You must handle the event on the body. This works because the event propagates to the body. Set the Type to choose to be "jQuery Selector". JQuery Selector enter 'body' (without the quotes). The event you want to handle is a custom, event which means that this isn't one of those in the select list. For event, choose "Custom". Then enter Custom Event "dialogclose" (without the quotes). Now you have a DA who fires when * all * dialog closes. You may or may not need to get more selective than that. For action, you can use refresh as you do already.
Kind regards
-John
-
Hello
I want as my default-navigation bar to jump to the top of the page when scrolling down the site - it must remain visible as on this page: www.yourpagemaker.deIt's a German Site.
Can someone help me with this? Where do I have to insert Java Script and how can I give this command?
Thank you
ELISA.
You must change your nav to have a. affix the class with JavaScript (not Java).
Bootstrap model 3 - attach nav after the scrolling example code
Nancy O.
-
How to put a foot in a scrolling page, keep it visible site even when scrolling, using PC
Hello
Please select the footer items and pin them on the bottom like the screenshot below.
Concerning
Vivek
-
How prevention JButton to actions generated when the user press down
How prevention JButton to actions generated when the user hold down the key or the short cut
The code below to show the question when the user keep pressing Alt O
We want to stop the JButton to generate multi shares just a share only
A code example shows the behavior that needs to be prevented. Keep pressing "Alt + O" and you will see that the standard ouptput will print the timestamp
Note Please, I'm NOT interested in the mouse press which is a solution by adding a threshold (setMultiClickThreshhold (long line) on the JButton as an attribute.
Published by: user12130673 on 13-feb-2013 03:01public class TestPanel extends JPanel { private JButton btn; public TestPanel() { btn = new JButton("Open"); this.add(btn); registerCommand(new MyAction(), InputEvent.ALT_MASK, KeyEvent.VK_O, btn, btn.getText(), 0); } public static void registerCommand(AbstractAction action, int mask, int shortCommand, JComponent component, String actionName, int mnemonicIndex) { InputMap inputMap = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW); KeyStroke knappKombination = KeyStroke.getKeyStroke(shortCommand, mask); if ((component instanceof AbstractButton) && mnemonicIndex >= 0 && mnemonicIndex < actionName.length() && (shortCommand >= KeyEvent.VK_A && shortCommand <= KeyEvent.VK_Z)) { ((AbstractButton) component).setDisplayedMnemonicIndex(mnemonicIndex); } if (inputMap != null) { ActionMap actionMap = component.getActionMap(); inputMap.put(knappKombination, actionName); if (actionMap != null) { actionMap.put(actionName, action); } } } public static class MyAction extends AbstractAction { /** * */ private static final long serialVersionUID = 1L; @Override public void actionPerformed(ActionEvent e) { System.out.println(System.currentTimeMillis()); } } public static void main(String... args) { SwingUtilities.invokeLater(new Runnable() { public void run() { JFrame frame = new JFrame("Testing"); JPanel panel = new TestPanel(); frame.getContentPane().add(panel); frame.setPreferredSize(new Dimension(500, 500)); frame.setMinimumSize(new Dimension(500, 500)); frame.pack(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }); } }
Use getKeyStroke (int keyCode, int modifiers, boolean onKeyRelease) hit with onKeyRelease = true instead?
Maybe you are looking for
-
How do you get the app on an iPhone?
-
What should I do to clear the contents of my iphone
Where can I find if I find my iPAD on my device, so I can't disable to delete its contents? Thank you
-
Small Windows XP need help for Satellite A215-S5849
Hello I have a laptop Toshiba Satellite A215-S5849, which came with Windows Vista home premium.Some time previously, I installed Windows XP SP3 and I also installed some drivers I found here: [Page where I downloaded the drivers, click on: http://eu.
-
Event ID 8193 of VSS for backup
My backup program uses VSS. -until recently successfully. This is now the default. The event log shows error VSS event no. 8193. Backup log programs see the "aborted GatherMetadata pending VSS finish. Run the "vssadmin list writers" command shows
-
Hi allWe are having a problem exporting our rules of loading data FDMEE for our largest application in LCM. When we click on export, it still fails (all other elements are able to export successfully). The SharedServices_LCM.log file contains the f