Quote:
Originally Posted by gothicuser
No, the CSS fixes the image and position.
PHP Code:
/* default close button positioned on upper right corner */
.close {
background-image:url(images/img/close.png);
position:absolute; right:0px; top:0px;
cursor:pointer;
height:35px;
width:35px;
}
The line 'position:absolute; right:0px; top:0px;' fixes the position to the top right.
This can be changed or omitted to suite your needs.
|
Well this is really odd. I removed the positioning for the close block and edited the picture like so:
Code:
.close {
background-image:url(images/c.png);
cursor:pointer;
}
This my code for the jqt logout template:
Code:
<vb:if condition="$vboptions['jqt_suite_markread'] == '0'">
<script src="{vb:raw vboptions.bburl}/jqt_suite/jquery.tools.min-all.js" type="text/javascript"></script>
</vb:if>
<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile jqtsuite_yesno.css}
<vb:else />
{vb:cssfile jqtsuite_yesno.css}
</vb:if>
<!-- Start of Logout Dialog -->
<div id="shuut">
<div style="display: block;" class="pane" id="pane11">
<div class="lrtop">
<div class="mlr">
Log Out
</div>
<p style="text-align:center;">Do you really want to leave so soon? </p>
<br />
<p style="text-align:center;" class="high">
<!--<input type="submit" value="Log Out?" class="rounded" /> -->
<a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}"><img alt="Accept" src="images/a.png"></img></a>
<a class="close"></a>
</p>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$("#myfirm").validator({
message: '<div><em/></div>',
position: 'top left',
offset: [3, 40]
});
// overlay with masking. when overlay is loaded or closed we hide error messages if needed
$("#suu").overlay({mask: '#000', speed: 'slow', fixed: false}).bind("onBeforeClose", function(e) {
$(".error").hide();
});
});
</script>
<!-- End of Logout Dialog -->
I changed the css file, added a "accept" button and I want to ad the close button next to the accept button but ... This is my outcome (please see attached picture).