ModalPoupExtender - 维度 [英] ModalPoupExtender - dimension
本文介绍了ModalPoupExtender - 维度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
- 我使用过ModalPoupExtender并且效果很好。
- I have used ModalPoupExtender and it works well .
- 当我按下胸部时,poup窗口显示在页面的中心。
- And When I press the bustton , the poup window appears the center on page .
- 我的问题是:
我可以改变poup窗口的尺寸(我不希望它出现在我希望出现在左边的中心)?????
could I change the dimenstion of poup Window ( I dont want it to appear in the center I want to appear in the left ) ?????
是否可以,我该怎么做?
is it possible and how can I do this ?
谢谢
Hema
推荐答案
设置外部元素的属性如下:
oYourElement = document.getElementById('Youe_Elements_Id');
oYourElement.style .POSITION = QUOT;固定英寸;
一个div&然后使用ModalPopupExtender的HTML设置此元素的innerHTML。
set the properties for your outer element as follow:
oYourElement = document.getElementById('Youe_Elements_Id');
oYourElement.style.position="fixed";
oYourElement.style.left="0px";
oYourElement.style.top="0px";
You can also achieve the same by setting these propertirs to a new a div & then setting innerHTML of this element with ModalPopupExtender's HTML.
这篇关于ModalPoupExtender - 维度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文