widget

Widget -what to do and what not

I would like to make a html/js widget that people can add to their blogs, sites etc. I have never made widgets before so I would like to hear what should be done and what not. For example, how do I make the styling? Inline, own css file or what is the best practise? I believe i cant use head and body stuff in it. What about h1, h2 etc? ...

How do I get the add button next to my custom Django widget.

Let's say I have some classes: class Resource(models.Model): files = models.ManyToManyField("File") class File(models.Model): name = models.CharField(max_length=255) file = models.FileField(upload_to="path/here") In the Admin View, instead displaying the select multiple box, I want to display something like this: Name of ...

How would I relatively position widgets on a web page with jQuery

Hello, I'm writing a web app that contains a web page that will be filled with (movable and draggable) widgets. Any clever ideas of how I could position them so they would be visible on all resolutions 1024+ and keep their relative distances the same both from the edge of the screen and from each other (although overlapping would obvious...

how to provide html/js widget for users

Hello, How can I share html/js widget? Javascript, iframe or what way is good? Now I have html page, css file and js file. I want to share this widget with people so they can attach it to their blogs, websites etc. ...

How to pass from flash under the external reference?

I have Mac OS widget with flash. If to click on flash the URL in a window of a browser should open. But it does not occur. I use code like this: DETAILS_HTML='object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="700" height="460"...

Problem with the flash scrolling

I have mac OS widget with flash. There is a scroller on flash. Flash is loaded from the Internet. If I have time to press on scroller before the player will be loaded completely scroller works as expected. Otherwise scroller does not move. for FlashPlayer object I use: -apple-dashboard-region: dashboard-region(control rectangle); Plea...

Problem to open SMS after deleting another with my widget...

Hi! It is the last problem I have before finishing my widget so I beg you to help me! I've created a widget wich can navigate in SMS/Inbox, and deleting them... When I delete one at the position 5 for example, this one is deleted, the other next are at the position before and the messages before the one deleted don't change of position.....

Android - how update widget often but only when it is visible?

I'm going to create widget which needs to update its content every minute (it shows time-related data). However, there is no need to update widget if it is currently invisible, which means: screen is turned off another app is running widget is placed on another (invisible) home screen tab What is the best way to update only visible ...

Problem with YUI Calendar widget

I managed to get the YUI calendar widget working fine. But When it displays it doesn't "float" over the page, that is, it pushes content around out shape. I need it to float above the page and not affect other elements. There doesn't seem to be a property to force the calendar to float over the page. Does anyone know how to ensure that...

jQuery/JSONP widget and jQuery version conflict

I would like to create a widget so that my visitors can display it on their blog/website. I would like to use jquery and jsonp to develop this widget. I know how to avoid conflicts between jQuery and other libraries (like prototype). But what will happen if jquery is already installed on my visitors' websites and if their version is d...

Facebook FanBox Widget demo

is there a demo for the FanBox? http://wiki.developers.facebook.com/index.php/Fan_Box I would like to include it in a design for a client which doesn't have a facebook fanpage yet. ...

Creating a iPhone like roller using ListView

I want to create a better NumberPicker then the one used in DatePicker, I looked at the HTC Sense Alarm clock Roller (Looks like the iPhone Spinner/Roller). I want to create something like that. I've created a listView that looks right, but I need a way to get the current id of the middle row. ListView.getFirstVisiblePosition() kind of ...

twitter's profile widget include in a separate javascript file

Hi stackoverflowers, I'm just trying to put the custom twitter's profile widget on my page, but I like to put the code in a separate javascript's file. so, I don't know how to do that. I mean, I put this on head tag <script type="text/javascript" src="http://widgets.twimg.com/j/2/widget.js"&gt;&lt;/script&gt; the create a div for t...

How to develop a Google Gadget compatible server

I am going to develop a Google Gadget container site, that will be able to host OpenSocial compatible widgets (that I believe are Google gadgets, too, right?). Do you have any guidance where to start? I know that the good start is the iGoogle Developer Home site and that framework what I would like exists - Shindig, but is little clumsy...

Processing more than one button click at Android Widget

Hi, all. I saw this topic and implement IntentService as describes, but what if I want more that one button? How can I distinguish button from each other? I'm trying to setFlags, but cannot read it at onHandleIntent() method: public static class UpdateService extends IntentService { ... @Override public void onHandleIntent(Int...

Access Specific Choice Widget/Field from ChoiceField

Anyway to access the widget/render a specific choice from a ChoiceField? APPROVAL_CHOICES = ( ('true', 'Approve'), ('false', 'Re-Submit') ) class ProofApprovalForm(forms.Form): approved = forms.ChoiceField( choices=APPROVAL_CHOICES, widget=forms.widgets.RadioSelect ) Would like to access the choices i...

Is it possible to extend GMail Chat widget?

I want to add a new status to Gmail chat widget, so that when it is selected, the client connects to my jabber server. Is it possible to achieve this? ...

Android - Widget application communication

From a widget when I relaunch an activity which resides in home screen after pressing home button, none of the events of that activity is getting called in HTC hero. It is working as expected in 1.5 emulator. How to solve this issue? ...

jQuery UI Dialog Error: b("<div></div>").addClass("ui-widget-overlay") is undefined

I have the below code for my a Dialog box for a which contains a dropdown field KPMS.ServiceRequests.Status = { showOptions : function(requestId, userId, requestType) { var url = BASE_URL+'service_requests/status_options/'; $("#dialog-modal").dialog("destroy"); $("#dialog-modal").load(url, {"request_id": requestId, "user_...

How to "chain" modal dialogs in YUI 2 ?

I have a modal dialog box presented in Yahoo UI. The user selects a value from dialog "A", and then I want to present another modal dialog box to collect some more data in dialog "B". I have been using the YAHOO.widget.Dialog successfully. The problem seems to be that you can't initiate dialog window "B" from the handler function of dia...