简体   繁体   English

在redhat或centos Linux中的不同目录中具有嵌入式Flash SWF的HTML文件的符号链接

[英]Symbolic link for html file with an embeded flash swf located in different directory in redhat or centos Linux

I have created a html index.html which has an embeded code linking to index.swf in an folder both these file are in the path say /home/user-name/ 我创建了一个html index.html ,该文件的嵌入代码链接到文件夹中的index.swf ,这两个文件都位于/home/user-name/

When i created a symbolic link to index.html in the path /home/user-name/Desktop . 当我在/home/user-name/Desktop路径中创建到index.html的符号链接时。 when i click on the symbolic link index.html file it opens in the browser but the flash file index.swf is not loaded . 当我单击符号链接index.html文件时,它将在浏览器中打开,但未加载Flash文件index.swf This issue is in only RPM flavour of Linux . 此问题仅在Linux的RPM中。

Any help appreciated . 任何帮助表示赞赏。

If you are moving (or putting links to) index.html around, then you have to also move (or link to) index.swf to the same places. 如果要移动(或链接到)index.html,则还必须将(或链接到)index.swf到相同的位置。 This is unless index.html refers to the full path of index.swf (like "/home/user-name/index.swf" ). 除非index.html引用index.swf的完整路径 (例如"/home/user-name/index.swf" ),否则这是不可用的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM