in reply to Re: Re: Re (tilly) 1: Compressing/Obfuscating a Javascript file
in thread Compressing/Obfuscating a Javascript file
And thats actually legal. Now, it maybe possible to do something similar with SSI. However, you could use those script lines to load JavaScript after the original document had been loaded.. dynamicly choosing which document to load. Lets say, in our pizza example, that the user has three buttons -- one labeled pepperoni, one sausage, and one pinapples. By clicking one of them, you can use a hidden frame to have the browser go out and grab that JavaScript file -- whatever site it may be on, without making the browser reload any content.<script src="http://www.bar.com/pepperoni.js">
|
---|