|
Posted by Jonathan N. Little on 09/25/59 11:52
Sonnich wrote:
> Sonnich wrote:
>> Jonathan N. Little wrote:
>>> Sonnich wrote:
>>>> Hi all!
>>>>
>>>> I have this in IE:
>>>> The font change works in both IE and mozilla, but the link does not
>>>> work in mozilla... can anyone help stupid me?
>>>>
>>>> BR
>>>> Sonnich
>>>>
>>>> <a
>>>> onmouseout="this.className="""
>>>> onmouseover="this.className="BOLD""
>>>>
>>>> onclick="OpenWin("file:///\\\\some_server/some_folders/file.pdf");">
>>>> here
>>>> </a>
>>>>
>>>> The openwin is :
>>>>
>>>> function OpenWin(targ)
>>>> {
>>>> alert (targ); // testing
>>>> window.open(targ);
>>>> }
>>>>
>>> You've made the most common Windows-centric error, '\' backslashes are
>>> *Windows only*, for the rest of the 'world' it is '/' forward slashes.
>>>
>>> file://///some_server/some_folders/file.pdf
>>>
>>> and the onclick handler is JavaScript so you would not use HTML
>>> entities, but single quote in this situation
>>>
>>> ... onclick="OpenWin('file://///some_server/some_folders/file.pdf');">
>
> Some results:
>
> <href="file://///some_server/some_folders/file.pdf">
> - does not work in IE (no action at all)
> - works in mozilla, but returns an error 443 at all times.
>
Not aware of an error code 443 (up to 425, but not 443). Are use sure it
is not a post address number not an error code? 443 is standard SSL
HTTPS. Anyway, Dow you have a webserver running? If so, don't use
file:// protocol but http:// and you will have better results....
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|