Hi David,

Thanks for the reply. I just sent an "I'm an idiot post" but since  
you were kind enough to reply, I'll go ahead and divulge just how  
much on an idiot I am. :)

My Javascript was correct (which is why Firebug showed no errors,  
even when I was tracing XmlHTTPRequests). However, the guys who write  
browsers are smarter than I am and therefore won't actually let you  
execute cross domain scripting security bugs that you have written  
into your app.

The good news is, with a little refactoring, I can now have detailed  
information bubbles pop up over the top of my Exhibit views.

Thanks for the help!

Scott

On Jan 16, 2007, at 9:03 AM, David Huynh wrote:

> Scott Longberry wrote:
>> Hi David,
>>
>> I happen to be using Firebug and there are no errors coming from
>> Javascript. I guess what I was really wondering was if there could be
>> any namespace conflicts with the Ajax namespace?
>>
> There shouldn't be. I call our stuff SimileAjax just to avoid  
> collision.
>
> You can use Firebug's console to evaluate some expressions, including
>
>     new
> Ajax.Updater('stringinfo','http://localhost:8080/query/ 
> get_string_from_li?id=196',
> {asynchronous: true})
>
> You can also evaluate some expressions like
>
>     inspect(Ajax.Updater)
>
> and see if it's looking alright.
>
> David
>
>> Thanks,
>>
>> Scott
>>
>> On Jan 15, 2007, at 8:30 PM, David Huynh wrote:
>>
>>
>>> Scott Longberry wrote:
>>>
>>>> Hi all,
>>>>
>>>> I am trying to embed a link into a text string being fed to  
>>>> Exhibit.
>>>> If I view the source, the link looks like the following:
>>>>
>>>> <a href="#" onclick="alert('Get link!!!'); new Ajax.Updater
>>>> ('stringinfo','http://localhost:8080/query/get_string_from_li?
>>>> id=196', {asynchronous: true}); return false;">Demo 7049-32</a>
>>>>
>>>> I put the alert into the link just to prove that javascript was
>>>> getting evaluated when I click on the generated link (it is). The
>>>> problem is that the Ajax.Updater never fires. Is there some
>>>> incompatibility between the Prototype JS library and the Simile  
>>>> Ajax
>>>> library? I use prototype everywhere else in my code, so I would  
>>>> like
>>>> to use it here as well if I could.
>>>>
>>>>
>>> Are you seeing any error in the Javascript console (in Firefox)? I'd
>>> recomment FireBug for debugging:
>>>
>>>     http://getfirebug.com/
>>>
>>> David
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://simile.mit.edu/mailman/listinfo/general
>>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to