Try this:
<script type="text/javascript">
digg_url = 'http://domain.com/library.rbf?id=5';
digg_bgcolor = '#c9cc67';
digg_skin = 'compact';
var script = document.createElement('script');
script.type = 'text/javascript';
script.charset = 'utf-8';
script.src = 'http://digg.com/tools/diggthis.js';
document.getElementsByTagName('head')[0].appendChild(script);
</script>
On Jun 24, 8:06 pm, BeeRich <[EMAIL PROTECTED]> wrote:
> On Jun 23, 10:31 pm, David Dashifen Kees <[EMAIL PROTECTED]> wrote:
>
> > Have you read the docs which talk about how to get functions to work
> > within information retrieved from a Ajax request? If not, check it out
> > here: http://www.prototypejs.org/api/ajax/updater. Just look for the
> > header "About evalScripts and defining functions" a little bit down the
> > page.
>
> Hi Dave. I have tried that. Others have suggested it. It doesn't
> work. Either the evaluation doesn't pass, or something else is
> wrong. I've made an example and it too doesn't work. The digg.js
> doesn't seem to pass the "evaluation", but it's not my code. So I
> can't change it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---