2012년 11월 30일 금요일

아이폰5 공식 예약 사이트 SKT 아이폰5, KT 아이폰5

아이폰5 공식 예약 사이트 SKT 아이폰5, KT 아이폰5 공식 사이트

사기 사이트 아닌 애플의 공식 사이트입니다.

여기서 아이폰5 예약하세요.


http://www.apple.com/kr/iphone/buy/

2012년 11월 27일 화요일

Jquery style display - How to get the style display attribute “none / block”

Jquery style display - How to get the style display attribute “none / block”





You could try:
$j('div.contextualError.ckgcellphone').css('display')




this is the correct answer
$('#theid').css('display') == 'none'
You can also use following line to find if it is display block or none
$('.deal_details').is(':visible')





If you're using jquery 1.6.2 you only need to code
$('#theid').css('display')
for example:
if($('#theid').css('display') == 'none'){ 
   $('#theid').show('slow'); 
} else { 
   $('#theid').hide('slow'); 
}

jquery style display none

jquery style display none

$('#popupSlide').attr("style", "display:none");

jquery를 이용한 css 제어
$('#popupSlide').css("border","1px solid red");


예)
$(document).ready(function(){
    $('#closeSubmenu').click(function(event){
        $('#popupSlide').attr("style", "display:none");
    });                       
});

<div id="popupSlide" style="display:">sample</div>

<img src="images/popup_close_butn.gif" width="395" height="34" border="0" id="closeSubmenu" style="cursor:pointer"/>

div style display none

div style display none

Hiding table data using <div style=“display:none”>


So, I've hidden whole tables like this, which works fine:
<div style="display:none">
<table>
<tr><th>Test Table</th><tr>
<tr><td>123456789</td><tr>
<tr><td>123456789</td><tr>
<tr><td>123456789</td><tr>
</table>
</div>
But I want to hide just a group of rows like this:
<table>
<tr><th>Test Table</th><tr>
<div style="display:none">
<tr><td>123456789</td><tr>
<tr><td>123456789</td><tr>
<tr><td>123456789</td><tr>
</div>
</table>
But that doesn't work. Any hints?



Just apply the style attribute to the tr tag. In the case of multiple tr tags, you will have to apply the style to each element, or wrap them in a tbody tag:
<table>
  <tr><th>Test Table</th><tr>
  <tbody style="display:none">
    <tr><td>123456789</td><tr>
    <tr><td>123456789</td><tr>
    <tr><td>123456789</td><tr>
  </tbody>
</table>

2012년 11월 26일 월요일

sharepoint sandbox SOAPClient access denied

sharepoint sandbox SOAPClient access denied


IE 의 신뢰사이트 보안 설정을 낮춘다.

2012년 11월 25일 일요일

c# directory c d drive 찾기

c# directory c d drive 찾기


drives list in c#




var drives = DriveInfo.GetDrives();
foreach (var drive in drives)
{
    if (drive.DriveType == DriveType.Removable)
    {
        Console.WriteLine(drive.Name);
    }
}

var drives = DriveInfo.GetDrives();
                    foreach (var drive in drives)
                    {
                        if (drive.DriveType == DriveType.Fixed)
                        {
                            if (drive.Name.ToLower().Equals("d:\\"))
                            {
                                path = "d:/TEMP";
                                break;
                            }
                            else
                            {
                                path = "c:/TEMP";
                            }
                        }
                    }
원하는 드라이브를 찾을 수 있다.