So you mean <script language="javascript"> <!-- /* ROI Tracking Data */ var mid = '...'; var cust_type = ''; var order_value = ''; var order_id = ''; var units_ordered = ''; //--> </script> <script language="javascript" src=" https://www.website.com/tracker.js "></script>
Wouldn't work? I'm 90% positive that this is working currently somehow with most browsers. This is something one of our partner is asking us to use and I'd be quite surprised it is not working. I did a little search on cross-domain scripting, there seem to be limitations on what information cross domain javascript can use but I did not find any reference that would say this is completly bloked... Do you have any source Jesse? And how could I implement this on tapestry (sorry for my ignorance on Javascript)? Henri. On 7/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Even if it did allow you to do that no browser would allow it. You can't load scripts across domains by default. You can of course do it when using dojo though ;) http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book48 On 7/28/06, Henri Dupre <[EMAIL PROTECTED]> wrote: > > I want to have a component that will add an include for a javascript to an > external website and also that will do some initialization for this > script. > I tried with a .script component and I put the following stuff: > > <script> > <include-script resource-path="https://.../script.js"/> > But this generates > <script type="text/javascript" > src="/app/scripts/https://../script.js"></script> > > Is there anyway to fix this to generate a clean javascript include to an > external location? > > Thanks, > > Henri Dupre > Actualis Center > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
