I have an photo slide show and a body of text below the slider. I would like to add a link to the text that will cause the slide show to jump to a specific slide. I can't find anything on the support side and have not had any responses to my forum post.
Has anyone done this before? If so, how?
Found this on the der help site:
This isn't that hard to do... Edit the core/js/core.slider.js file, and add the following on line 93:
slider.data('cycle', cycle);
That will add the slider's internal cycle object, used to control the slider's state, to the 'cycle' data property. Then, you can control the slider to do anything you want, when you want it.
You could do something like pause the slider, go to a specific slide, resume the slider, etc. You can see the API on the core/js/core.cycle.js file. Both Meteor Slider and VSlider implement it.
After you add the code above, you can do something like:
<a onclick="jQuery('#myslider').data('cycle').goto(0);">Go to First Slide!</a>
This assumes that you added an id of myslider to the element that has the slider-core class.
http://support.der-design.com/discussion/1894/jump-to-slide#Item_3
Related
There is some kind of Shopping Cart in which you have Product positions.
There is a Button in web dynpro which is supposed to copy the text from the Inputfield from one position to the others.
When I click one of the positions, and enter a text in the inputfield and click on copy to all other positions - it doesn't copy.
Only if I click the button twice it copies the position to the others. What am I doing wrong?
I'm not a web dynpro expert.
Could be an IE bug or some problem in the code.
You can check the onAction property of your button and also check if there's any loop in the events that could probably cause this "only for the second click" behavior.
Please share your Controller/View code so we can provide a complete answer.
Is there a way to add a marker on to a PDF that is not contained within the Bookmark panel and visible on the PDF itself. So that our client can just click on the marker to bring him to a specific point in the document. These will be changes that are revisions and not necessarily to do with the structure of the document. I feel like I have seen this in the past but unsure how to go about creating it. Any advisement you may have to offer is greatly appreciated.
I am running AA XI Pro.
Thank you,
You can create floating toolbar using the code below as an example. cExec is the JavaScript expression string to evaluate when the button is clicked. oIcon, which is optional, is a document level icon that you would have previously added to the document using...
this.addIcon("iconName", "iconPath");
You can just run the code to add the icon from the console since you only need to do it once.
Add the code below to a Document JavaScript so that it loads every time the document is opened.
app.addToolButton({
cName: "goToPage",
oIcon: util.iconStreamFromIcon(this.getIcon("LinkIcon")), // Needs to already be a document level Icon object in the document
cExec: "this.pageNum=41",
cTooltext: "Got To Page 42",
cEnable: true,
});
You can add as many buttons as you like but each cName needs to be unique. Also, This will only work in the desktop versions of the Adobe viewers.
You can find a working example of the code above here
I am wanting to add an image to the top or background of a listbox. I would like it to be visible on the screen, but more importantly is that it prints. Can someone help me with the code for this. I tried to see if you could add it through properties and don't see that option. I need the listbox not listview. Also I was wondering if it could be added as a string and the file referenced at the top of the listbox (when you right click the little arrow and click edit options? Can someone please help. I am working on a project and still very new at this.
You need to create a custom ListBox class and add the ability to draw a custom background by overriding the OnPaint event, like on:
Source: http://www.vbforums.com/showthread.php?416784-2005-ListBox-Background-Image
I'm currently trying to create a small panel extension that recreates the 'minimap' feature on the Sublime Text 2 code editor, but for Dreamweaver. I've successfully created the view but I want to click anywhere in the minimap and the current page will scroll down to the current line that was clicked.
Unfortunately, I can only find the 'getCurrentLines()' code function for the Dreamweaver DOM that returns character offsets rather that line numbers. Does anyone know how I can return the current line number from the document?
I can scroll down the user document by hard-coding a value in using the theDOM.source.setCurrentLine(200); code, but it's getting that number which is stumping me! Any help is much appreciated.
There is dom.getLineFromOffset() can take one of the offsets and find the associated line, however, that should work only in the document window, not sure if that will assist in taking a selection in this "view" (by which I assume you mean panel) to move that into the document being edited.
I am trying to edit a specific control part within a custom TabItem Template. In this case, it's the TemplateBottomSelected control part.
I'm having an issue where I cannot seem to view or edit any control parts within the template editor except the default TemplateTopSelected. Here's a screenshot of what I'm talking about:
Even though I'm selecting the "TemplateBottomSelected" grid, the only thing I can see is the template for the TemplateTopSelected item.
How the heck do I edit the other control parts within the template using the editor?
Thanks!
that's because these templates are either collapsed or the opacity of them is set to 0. :)
you can use the eye toggle button to only show the one you want to modify at design time, set the visibility to visible, do your changes, and reset it to collapsed.
please let me know if you need more info.