widgets

Name that JQuery: do you know the exact specific jquery plugin(s) used to create this widget?

If you look at the following link: What's new at New Hope Look at the widget on the page entitled "What's new at New Hope" which contains the Web2.0 equivalent of a MARQUEE (I guess that's what you'd call it) complete with fading images and "Read More" links. Question: Can you identify the exact specific JQuery plugins used to generat...

If exception handling should be centralised is the design of WinForm components flawed?

Or any other design that has the gui widgets as being the first port of call where an unhandled exception will kill the app? We all want one main: "catch all" for face saving purposes (although in most cases this shouldn't have a "continue" feature) but it is impossible to easily implement one with gui widgets that are the first port of...

Naming convention for Qt widgets

I'm working with a group of other programmers on an open source project built using C++ and Qt. Now, we need a naming convention for widgets (and other variables generally) to use it as a standard in all of our code so that, the code gets better readability and we get better coordination between programmers. Any advice? EDIT: Am not t...

trying to find a javascript dropdown control

I'm looking for a dropdown similar to the openid site-select dropdown on the stackoverflow login page: ... and for now I'd rather not sit down and write one myself. I'm looking for one written for inclusion in plain html/javascript (php code), must be free for commercial use. ...

Where to split Directrory Groupings? A-F | G-K | L-P

I'm looking to build a "quick link" directory access widget. e.g. (option 1) 0-9 | A-F | G-K | L-P | Q-U | V-Z Where each would be a link into sub-chunks of a directory starting with that character. The widget itself would be used in multiple places for looking up contacts, companies, projects, etc. Now, for the programming part... ...

GWT label widget receiving focus when pressing tab key

Current solution: user clicks on label and it is switched with a textarea to allow edit user can leave edit with tab / enter and textarea is switched back to a label The problem is the user has to click on the label with a mouse to get into edit mode. I would like the label to recieve an onFocus event when the user clicks the TAB key...

Which GTK widget combination?

I'm working with PyGTK, trying to come up with a combination of widgets that will do the following: Let me add an endless number of widgets in a column Provide a vertical scrollbar to get to the ones that run off the bottom Make the widgets' width adjust to fill available horizontal space when the window is resized Thanks - I'm new t...

Correct technique for writing reusable interface objects?

I'm looking for the correct way to write my own interface objects. Say, I want an image that can be double-tapped. @interface DoubleTapButtonView : UIView { UILabel *text; UIImage *button; UIImage *button_selected; BOOL selected; } // detect tapCount == 2 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; This work...

GTK: Resizing widgets contained in a textview

I have a Gtk.TextView control, and I'm inserting child widgets into it. I'd like to be able to have the children resize to fit the width of the TextView when the form is resized. Is there a built-in way to do this? If not, can anyone suggest a good way of writing my own? ...

embedded script displaying gibberish depending on encodying type (utf-8)...

I have a widget that people can put in their site. The widget is generated via php script that echos the populated string using: document.write('$widget_output'). The hosting sites call to the widget using a javascript tag: <script type="text/javascript" src="http://www.link.com/page.php?param=1"&gt;&lt;/script&gt; The problem is t...

Smooth scroll in Windows Forms ListBox

Is there a way to enable smooth scroll for ListBox class in Windows Forms framework? (I'm using C# and .NET framework 2.0). ...

Widgets on a webapplication

I am writing a webapplication which will have widgets like iGoogle does (but with different information ;)). Since there will be different colomns I would love to hear your ideas on how to call the modules in the code. I want to define in the database what widgets are enabled and in what column they are and in what order they should appe...

Dashboard Cross-domain AJAX with jquery

Hey everyone, I'm working on a widget for Apple's Dashboard and I've run into a problem while trying to get data from my server using jquery's ajax function. Here's my javascript code: $.getJSON("http://example.com/getData.php?act=data",function(json) { $("#devMessage").html(json.message) if(json.version != version) { $...

web-based query designer with msft access-style GUI

I remember seeing online a (sql?) query designer tool that looked like the "point and click GUI" that you get in MSFT access (and other similar apps). It allowed the user to do simple joins and where clauses and select clauses simply by toggling checkboxes, dragging table icons into view and connecting joins by drawing lines. This lin...

Recommend a JS calendar widget that handles both date and time?

I'm working on a Web app where users need to input a date and time. I've used this calendar widget before and it works fine: http://www.dynarch.com/projects/calendar/ However, it hasn't been updated since 2005. I'm wondering if anyone knows of a better one. The calendar in jQuery UI doesn't handle times. Only dates. I need something t...

Weather, exchange rates and other feeds

I am building a real estates website, I want to include some details on the homepage about the current weather, temperature, humidity, etc. I may also want to include some exchange rates. It all should be current and up-to-date, I know there are plugins or add-ons I can use which requires me zero-coding. I just don't know what to use. ...

ready-to-use xmlRequest snippet returns status code 0 on a call

I'm creating a very basic dashcode widget. I'm using customized snippets from Apple: xmlRequest setup and xmlLoaded. Below is my code function sendURL(){ // Values you provide var textField = document.getElementById("searchqeue"); // replace with ID of text field var textFieldValue = textField.value; var feedURL = "feed...

Using Excel (Or Calc) as a web-app frontend or embedded widget

Problem: When dealing with web-applications that require grid-based input (but is not a fullblown spreadsheet like Google's) there is a common problem. Either the web-GUI sucks, or it is tied behind some heavily-specialized API that takes way too much training and time to use effectively (not to mention the price tag tends to be high for...

jQuery in widget

I want to use jQuery in an add on JS library that can be added to random websites. These websites may or may not use jQuery already. I have 3 questions around this actually: I will probably load jQuery dynamically from my own js script (not from a script tag in the document head). Will jquery work this way? how can I make sure it will...

counting a Widget?

Hello I've recently added a weather widget for people to add to their site. Is basically a php page that people can link to. My question is can I somehow put a counter or something to count how many people are using my widget? my widget is located here http://www.site.com/widget/ it's in farsi language. ...