add ribbon button like "Open" with drop-down options - tridion

I'm hoping this is just a simple pointer to something existing which I couldn't locate via google.
What our business folks want is a button much like the "Open" button which once clicked, gives a pull-down with 3 options. I can't quite figure out how to pull that off.
I can easily add a button. I can even add a stack of 3 "small" buttons vertically. I can't quite figure out the drop-down from large button. One of our folks thought he did this a long time ago, but can't find any evidence to prove it. ;)
Can anyone point me to what I missed? or, anyone confirm that it's not possible?
thanks,
~Warner

Unfortunately that is implemented in a different way than how normal buttons are added to the ribbon. I am basing this on the answers I received here:
Is it possible to remove the "Upload MM Component" button from the SDL Tridion 2011 Ribbon
It seems you will need to create an ASCX to achieve this.

Related

How to apply any style to FullCalendar cells

great people from Stack!
I'm having some issues working with Full Calendar I would like to get some help with.
First of all, Full Calendar is an amazing tool. Everything I have had any doubt with has been solved in a breeze just by taking a look at the docs or googling five minutes. However, there is a problem I'm dealing with and can't find (I'm starting to suspect it is virtually impossible, or at least it is for me to imagine how to do it) the way to get it solved.
I'm implementing this library in a project which is meant to be something like an appointments manager, among other things. A (simple) functionality I wanted to add is to open a modal when a calendar cell (agenda week would be the main view) is clicked with a form, allowing to create an appointment for the selected cell. To improve usability, I thought it would be nice if the cells had some kind of hover effect, so that you can feel there is 'something' behind clicking this element. The thing is, the calendar is composed by something like 2 separated overlapping tables, one with rows and the other with columns, that form the grid. The modal system is done and working, dayClick made the trick. Any way to do anything similar to what I am talking about, the hover stuff? (my idea was to make some kind of (+) button appear when hovering, but anything would work.
Thank you!
Seth
Edit: I noticed there is a 'selectable' directive which, given only to the AgendaWeek view, allows me to select cells. The selection is made by the JS code, adding an element just above the cell, with its dimensions. Wouldn't it be any way to call this from hovering a cell instead of just clicking it? I wonder that highlight cell is rendered from the position of the mouse at the time of the click and wouldn't be very efficient to check that all the time...

InfoPath Designer 2013 Toolbar not reacting

I have developed quite a few InfoPath forms in my life, but I only recently started developing with InfoPath Designer 2013 and I am coming across a very peculiar "bug" (I don't know that it's a bug for sure) indeed.
The form opens fine to design but when I change a field's name, for instance, the application stops reacting in certain areas. The InfoPath toolbar doesn't react at all except for when I click FILE (which opens up the little menu that's supposed to open when you click on the InfoPath icon in the very top left corner). In addition, I can also right-click on the elements inside the form to open some of the properties of the elements; however on the right side of the screen where the fields and groups are listed, nothing reacts either.
I have tried to find this on Google and I was quite surprised that it didn't seem like anyone else had asked about this; however that seems to be the case (although I'm hoping not). Please note that InfoPath stops reacting only after I change the field or group name.
Does anyone out there have any idea as to what might be causing this?
Thank you and regards.
Hermann
I have this problem too. The only workaround I've found is to Alt-F, Save, close InfoPath, reopen InfoPath, then reopen the document.

How do i add an "onclick" to a radio button?

So I've only started coding recently and I've been trying to replicate something i saw from a website a while back.
I have an application form, where there are 5 questions referring to a qualification. however, people may have more than one qualification, right? So I've added 2 sets of these 5 questions, and i would like to add a radio button that when you click, it adds another set of 5 questions to the page. Anyone know how i can do this?
I know this might sound really simple, but like I said, I'm very new to coding and would really appreciate any help.
thanks
You could already set up the next 5 questions and set them to display: none; but have a button that adds a class that displays them using jquery. jquery website - addclass

How to create Numeric KB interface with previous, next and done button

I was on website on my iPhone and I encounter websites' guestbook. with those textFields. my keyboard appearance was totally change as you can see in screen below.
I am having many text fields in my app, I am wondering if I can create anything like that.
As I am new to development, still unknown what are the limits.
Can anyone guide me to right direction or to right documentation.
Is there is some regular way or its just total customization over Keybard.
I have one more doubt, does it matter what kind of keyboard is popping up as my all fields have numeric keyboard.
Well I just wanted to be helpful to someone who is following the same learning curve as me.
To achieve the affect in screenshot in question. UIToolbar control can be used to make those buttons. after the you need to just make this toolbar appear and disappear with the keyboard.
To make previous and next button work, you can use the tag property of textfield. on clicking on previous or next you can focus to previous or next text field.
Sorry about not posting code as I have not coded it yet but wanted to give pointer to anyone, who is looking.

How to use jQuery to show a different page in ASP.NET

I am trying to set up functionality similar to Netflix. Where if you mouseover a movie - you are presented with a window of movie details (all client-side).
At high level, can someone in this forum help by telling me how this should be implemented? I.E., one or more .aspx pages, what would go in code-behind, and .js file, css, etc. Just trying to get an idea on how this would be set up to work.
Basically, when I hover over an item, I need to query for details that belongs for that record being moused-over and display it in the window or div. I also need to have some functionality in that window (i.e. a textbox and button which will end up needing to get saved in a database).
Thanks for any tips and suggestions -
You would want to add an AJAX call to the hover event of the image, that pulls from a webservice/web method.
Here is a good example, you would change some things. However, it should get you started.
http://www.mikesdotnetting.com/Article/96/Handling-JSON-Arrays-returned-from-ASP.NET-Web-Services-with-jQuery
If I understood your question correctly, you should try this excelent jQuery plugin:
http://www.sohtanaka.com/web-design/css-on-hover-image-captions/
Look at the demo here:
http://www.sohtanaka.com/web-design/examples/image-hover/
easy to install and configure and very slick!
Good luck
EDIT: sorry wrong lik the first time
There are certainly many jQuery plugins that will do this for you. jQuery UI may also be of benefit.
Here is one that appears to do something like you are describing:
http://plugins.jquery.com/project/VisualLightbox

Resources