Thread: Add-On Releases - jQt jQuery Suite for vB4
View Single Post
  #76  
Old 08-23-2011, 01:46 PM
kishorprins kishorprins is offline
 
Join Date: Aug 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gothicuser View Post
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:absoluteright:0pxtop: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">
     &nbsp; 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&amp;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).
Attached Images
File Type: png help.png (11.6 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01201 seconds
  • Memory Usage 1,804KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete