Re: [twitter-dev] Twitter Share button: Change url to share *after* page loaded completely

2011-05-01 Thread Arnaud Meunier
Hey tburny,

If you're trying to render the button after the DOM has loaded, the easiest
way is to go for the iFrame version (using query string parameters to
customize its behavior).

More info on http://dev.twitter.com/pages/tweet_button#using-an-iframe

Arnaud / @rno 



On Sun, May 1, 2011 at 3:00 PM, tburny  wrote:

> Hi,
> I have a homepage where I want to enable users being able to share a radio
> station they just created. (See http://burnynet.de/combofm)
> I tried various things, like changing the data-url element or reloading the
> element completely, etc. Sadly I cannot find any documentation on
> widgets.js.
> The button script seems to run when the page is loaded and nothing more.
> The share button with the inbuilt url shortener would save me a lot of work.
>
> Any Ideas?
>
> Regards,
> tburny
>
>  --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitter Share button: Change url to share *after* page loaded completely

2011-05-01 Thread tburny
Hi,
I have a homepage where I want to enable users being able to share a radio 
station they just created. (See http://burnynet.de/combofm)
I tried various things, like changing the data-url element or reloading the 
element completely, etc. Sadly I cannot find any documentation on 
widgets.js.
The button script seems to run when the page is loaded and nothing more. The 
share button with the inbuilt url shortener would save me a lot of work.

Any Ideas?

Regards,
tburny

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk