![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? a onclick="OpenWin("file:///\\\\some_server/some_folders/file.pdf" ;"here /a |
#3
| |||
| |||
|
|
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); } |
#4
| |||
| |||
|
|
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? a onclick="OpenWin("file:///\\\\some_server/some_folders/file.pdf" ;"here /a Backslashes are not allowed in URLs. Although Windows uses the backslash as a seperator, always use the forward slash in URLs. IE is known to 'auto-correct' backslashes into correct slashes, but other browsers are not so forgiving. The correct URL should be file://some_server/some_folders/file.pdf>. |
#5
| |||
| |||
|
|
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');" |
#6
| |||
| |||
|
|
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');" |
#7
| |||
| |||
|
|
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. |
#8
| |||
| |||
|
|
Some results: href="file://///some_server/some_folders/file.pdf*" |
#9
| |||
| |||
|
|
On Mon, 10 Jul 2006 08:14:49 -0700, Sonnich wrote: Some results: href="file://///some_server/some_folders/file.pdf*" I seriously doubt that "file://" will work. |
#10
| |||
| |||
|
|
JDS wrote: On Mon, 10 Jul 2006 08:14:49 -0700, Sonnich wrote: Some results: href="file://///some_server/some_folders/file.pdf*" I seriously doubt that "file://" will work. Try the IP-adress instead of the servername. else: http://ieview.mozdev.org/ (it is said it can be made to open file://* automatically in IE). or: apt-get install mozilla-firefox-gnome-support |
![]() |
| Thread Tools | |
| Display Modes | |
| |