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? ...
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 ...
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...
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.
...
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"...
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...
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.....
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 ...
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...
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...
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.
...
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 ...
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"></script>
the create a div for t...
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...
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...
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...
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?
...
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?
...
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_...
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...