在IE中打开一个弹出窗口htaccess文件命名创设问题 [英] htaccess file nomenclature creating problem in opening a popup window in IE
问题描述
我的htaccess文件的命名在打开的IE浏览器窗口创建问题
My htaccess file nomenclature creating problem in opening a window in IE
EDITED
我要开,需要T为在弹出打开一个颜色选择器,我有
I have to open a colour picker which needs t be opened in popup, and I have
window.open('picker.html', null, "help=no,status=no,
scrollbars=no,resizable=no,toolbar=
no" + move + ",width=" + w + ",height=" + h + ",dependent=yes", true);
我的基本URL是这样的:
my base url goes like this:
和htaccess的文件已经从 http://www.mydomain.com/30/ <改写上面的URL / A>
and the htaccess file has rewritten the above url from http://www.mydomain.com/30/
但是当我想在IE中打开弹出htaccess的不工作了,并给了我网址的 http://www.mydomain.com/30/picker.html
but when i wish to open the popup in IE the htaccess doesnt work for it and gives me url as http://www.mydomain.com/30/picker.html
因此我得到味精为断开的链接或NOT FOUND 没有名为30的路径有像 http://www.mydomain.com/这样的文件夹picker.html
and hence i get msg as broken link or NOT FOUND there is no such folder called "30" the path has to be like http://www.mydomain.com/picker.html
特定页面的重写规则是这样的:
The rewrite rule of the particular page goes like this:
重写规则 ^ 30 /订单乙烯基banners.html order_form.php?ID = 30 [NC]
RewriteRule ^30/order-vinyl-banners.html order_form.php?id=30 [NC]
为什么会发生.. 请帮我跟踪它。
why is it happening.. please help me to track it..
推荐答案
如果你想显示 http://www.example.com/picker.html
,你需要告诉的open()
函数左右。现在你告诉它打开URL picker.html
相对的地方,我现在是在,但你要打开选择器。 HTML
相对于根。试试这个:
If you want to show http://www.example.com/picker.html
, you need to tell the open()
function so. Right now you're telling it "Open the URL picker.html
relative to where I'm currently at", but you want "Open picker.html
relative to the root". Try this instead:
window.open('/picker.html', null,
"help=no,status=no,scrollbars=no,resizable=no,toolbar=no"
+ move + ",width=" + w + ",height=" + h + ",dependent=yes", true);
这篇关于在IE中打开一个弹出窗口htaccess文件命名创设问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!