[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: External JavaScript in headers with MV
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
At 12:20 PM 5/6/99 , you wrote:
>****** message to minivend-users from mikeh@minivend.com ******
>
>Quoting Barry Treahy (treahy@mmaz.com):
>> ****** message to minivend-users from Barry Treahy <treahy@mmaz.com>
******
>>
>> Sorry for the lack of clarity on my part... The <SCRIPT
>> SRC="/cgi-bin/test/ord/wizard_fucntions.js"> tag in the MV html page
>> wizard.html cases the browser to issue a GET
>> https://xxx.yyy.com/cgi-bin/test/ord/wizard_fucntions.js at the HTTP level
>> and since it needs to run through MV, MV suffix's the URL and looks in the
>> catalogs directory for a file called ord/wizard_functions.js.html which it
>> obviously doesn't find. I suppose I could rename the JS file to
js.html, but
>> its kinda-bogus...
>
>And why would MiniVend have to serve this? Why can't you just put it
>in web space where it belongs?
I think we misunderstand his problem - he doesn't want MV to serve it?
The solution is to put a big fat absolute URL in the
<SCRIPT SRC="http://www.wherethescript.com/really/is.js"> Also, the file
extension on the script is irrelevant - it will load anything.
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list