You are here: Re: links in Mozilla « HTML « IT news, forums, messages
Re: links in Mozilla

Posted by Sonnich on 09/26/30 11:52

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=&quot;&quot;"
> > onmouseover="this.className=&quot;BOLD&quot;"
> >
> > onclick="OpenWin(&quot;file:///\\\\some_server/some_folders/file.pdf&quot;);">
> > 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');">

None of the suggestions work.

I have the code as here now, and tried whatever (except the right
thing).
I have a PHP thing, which runs on a server, then creating a PDF file on
another server, which I'd like to open.
The alert is present, but the file is never opened, not even a window.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация