website gui - Double integrated drop-down list - drop-down-menu

I have seen something peculiar... a drop-down-list that has two single lists bound together. See here the website about what I ment.
I've also added a image here and here in case the website changes it appearance.
How is this done (language)? And where can it be downloaded?

Related

Possible to include an image in the meta data in code? VS 2013

I would like to be able to include a screenshot of a control inside my code, this way making control identification easier for new members on my team, is such a thing possible?
Maybe even the ability to just have the image on a network share with the path in a comment, and then have a plugin that when hovering over the link brings up the image?
EDIT (More detail):
I'm creating a test project, the application under test has over 1000 controls, some of them are similar in name and purpose, this can make it difficult at times for developers to reuse the API I am creating because the control name is simply not enough for quick identification of the control in use.
I use the word API very loosely too, none of this stuff will be consumed in web services, and it will always be white box with developers including a project reference and have direct access to the source code.
For every form in my application (The test one), I have a controls.cs file where all the controls for that form in the application under test are listed - This is where I want the hover to screenshot ability in the control definitions.
Another sure factor is that all developers will be using VS2013 (For now the base version), later this could be update 1 or 2.
As the initial author and senior developer on this project, these hover / image references (in the code) will be as useful to me personally as any 3rd party developers, or any later developers to join the initiative.
Thanks again, and I added a bounty!
I believe you can use Whole Tomato's free SourceLinks Visual Studio extension to do what you want - or at least get pretty close to it.
Built-in Functionality:
Out of the box, the extension allows you to specify comment patterns you want users to be able to take an action on. Once the patterns are specified, SourceLinks will highlight any occurrences of those patterns in the text editor. You will be able to double click the highlighted items and perform a pre-configured action (such as opening a link in an internal/external browser, or launching an executable).
You can see an example in the SourceLinks configuration dialog shown below:
(source: wholetomato.com)
So you could use this feature pretty painlessly to define a keyword such as Control Image and then put comments like the following in your code:
// Control Image: my_smart_list.jpg
SourceLinks would allow you double click this text, and you could have that configured to launch the image (using a file:// or http:// url depending on how and where your images are stored) either inside Visual Studio in it's internal browser, or in an external browser.
Custom Tooltips!
Now, if you want to put in some more effort into this and actually write some code, then SourceLinks allows you to create API Extensions to display custom tooltips when the user hovers over the marked text in the editor. The default installation of SourceLinks comes with sample API extensions that you can copy to create your own. See the article linked at the very top of the answer for more details on these samples.
This post in the SourceLinks forum informs us that SourceLinks expects the custom API Extension to return the tooltip value as FlowDocument XAML text. This is awesome news for us, because a FlowDocument can contain many types of elements, including formatted text, hyperlinks, and images.
Imanges in a Flow document can be specified both inline as well as externally.
Hope this helps!
I would use doxygen -- create the images somewhere in the source tree and use doxygen comments. You can embed the \image command in source comments (see docs) and doxygen will generate all the HTML documentation from there. I think doxygen is a great tool for documenting a codebase as you can generate the documentation directly from comments in the source and distribute or host the HTML separately.

Is django-cms frontend editing suitable for a site with rotating parts

I've got the design for a website ready and now I'd like to implement content management in django. I've got a few years of experience in python development and I've done projects in django. I've looked into django-cms, played around with a demo and set up a quick example. I am happy to use django-cms 3beta2 (and fix some of the possibly occuring bugs on the way).
My question:
The pages of the planned website will consist of different parts, that I could construct from template blocks. The layout of the page is quite rigid, so there is not much possibility for the users to wildly combine template blocks, it would be easy to do frontend editing for an unexperienced editor.
However the webpages also contain a side bar with quotes from famous people and an image. These quotes and images should change randomly on each page load and they are not connected to the main content of the page. Can I still use frontend editing or is there a django-cms plug-in to do so? I image the problem to be that while frontend editing the quote showing up is randomly selected and I can edit the presented quote, but not the other ones. Would I have to ask the editor to resort to the backend? What would be a nice solution?
I am currently going through old questions that I've asked and that do not have an answer yet. Here is a solution:
One can write a cms plugin for django-cms that contains multiple inner placeholders. These inner placeholders are containers for the "famous quotes". If editing of the page is not active, the cms plugin randomly renders one (and only one) of the inner placeholders.

Why won't Joomla render my PHP/Javascript tags on the front page?

This is my first project on website development using Joomla. I am trying to make a dashboard implementation. My problem is that whenever I edit my script in article using source tags, the changes are not reflected on my site immediately. I have even tried restarting my Wamp server, but in vain. Any tips that I should follow?
Thanks.
Depending on your Joomla-Version there are different options to check to suppress stripping or filtering of tags like <script> for the frontend. Here are some hints:
First of all your tags could be filtered out client-sided depending on the editor you selected. If you use the standard TinyMCE e.g. go to Extensions - Plugins - TinyMCE where you will find a list of prohibited Elements which may include script. Be exactly sure what you do though, always check who should be allowed to enter script tags in an article, this is almost always a major security risk if anybody else like you as an administrator has the right to use them. So another option could be to just set the editor for your administrator/author accout to plain text and leave TinyMCE untouched.
Another filtering is done server-sided by joomla itself which can be controlled in "Global Configuration" -> "Text filter". After a standard installation all groups will use Default Black List filtering which includes removing script tags. Here you could define "No Filtering" for the Super User group e.g.
Again, all this depends on your Joomla-Version (my examples are referring to 2.5) and are hints to get around the issue but without knowing your security concept.

Magento product with different options doesn't change price

I've simple products in my magento store with custom options that have different prices. Upon selecting one of the given options e.g size, the total price doesn't change and stay the same. However if items purchased in shopping cart it shows correct price (base price+additional amount) I presume there's some javascript issue in my custom theme as when i changed the template to default it started to work normal. Any ideas what could be the possible issue and where should i be looking to sort this issue out.
Sounds more like a standard JavaScript error than something related directly to Magento. If I had to guess at random I'd say your theme is using jQuery (or another alternative), that is clashing with Prototype as it's not being ran in safe mode. To debug this, open up your site in a copy of FireFox with the web developer toolbar extension installed. In the top right hand corner of the page there are three circular icons. If the far right one is a red cross, there is a JavaScript error, clicking on the icon will tell you what the error is.

adding tasks to pinned websites in ie9

how can i add tasks to windows 7 jumplist of pinned websites like there are tasks added to facebook and twitter
you can view my post at http://nitin07sharma.blogspot.com/
<META name="msapplication-task" content="name=Task 1;action-uri=http://host/Page1.html;icon-uri=http://host/icon1.ico"/>
The Pinned Sites: Windows 7 Desktop Integration with Internet Explorer 9 article on MSDN seemingly provides all the information you need to fully get started with pinned sites.
The important gotcha is that the icon-uri is required. I assumed you could get away with not putting that at all and there would just be an empty space, but that's not the case.
For better or worse, the icon also has to be an ico file - a png won't work.
There are two types of tasks you can add to a pinned site,
You can add static tasks or dynamic tasks
Static tasks are described in the blog post mentioned by Blazen, you can have up to 5 items on a static jump list.
There is a nice summary of how to pin your site and add a Jump List with tasks at BuildMyPinnedSite
If you choose Jump lists and choose look at the code you will see code examples on how to use meta tags to add static jump lists and also code examples using Javascript for dynamic jump lists.
You can have both static and dynamic jump lists on the same site.
I also wrote a couple of blogs talking about how to update a static jump list and how to update a dynamic jump list
By the way, someone mentioned you need a .ico file for your favicon, check out XiconEditor a website that helps you create .ico files for pinned sites from your .JPG or .GIF files
Hope that helps!

Resources