如何更改jquery对话框关闭按钮位置 [英] How to change jquery dialog close button position
本文介绍了如何更改jquery对话框关闭按钮位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在asp .net页面中使用了jquery对话框我已经设法在阿拉伯语从右到左的方向完成所有这些但仍然在点上我希望你能帮助我
对话框末尾的关闭按钮显示在右侧如何将其移动到对话框的左侧
I'm using jquery dialog in asp .net page I've managed to make it all in arabic right to left direction but still on point I wish that you help me with
the close button in the end of dialog shows in the right side how I can move it to the left side of the dialog
推荐答案
您尝试过吗?像 http://stackoverflow.com/questions/5001199/jquery-dialog-buttons-how-to-set-the-dir-to-be-rtl-ltr-or-how-to-place- - 但是 [ ^ ]?
参见:< a href =https://jqueryui.com/position> https://jqueryui.com/position [ ^ ]。
您还需要为所有其他元素处理RTL样式。请参阅:
https://forum.jquery.com/topic/rtl -ention-in-dialog [ ^ ],
http://stackoverflow.com/questions/744554 / jquery-ui-dialog-positioning [ ^ ]。
-SA
Did you try something like http://stackoverflow.com/questions/5001199/jquery-dialog-buttons-how-to-set-the-dir-to-be-rtl-ltr-or-how-to-place-the-but[^]?
See also: https://jqueryui.com/position[^].
You also need to take care of RTL styles for all other elements. Please see:
https://forum.jquery.com/topic/rtl-caption-in-dialog[^],
http://stackoverflow.com/questions/744554/jquery-ui-dialog-positioning[^].
—SA
非常感谢
以及将来参考,如果有人需要它
这是一个aspx页面代码
thank you a lot
and for future reference if any one needs it
this is an aspx page code
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default4.aspx.vb" Inherits="Default4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<script src="Scripts/jquery-2.1.4.min.js"></script>
<script src="Scripts/jquery-ui-1.11.4.js"></script>
<link href="Content/themes/base/all.css" rel="stylesheet" />
<script type="text/javascript">
function ShowPopup(message, titlea) {
(function(){
(function () {
这篇关于如何更改jquery对话框关闭按钮位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文