});
$('#vCard').click(function () {
+ $('#box-overlay').hide();
$('#vCard_container').slideUp("normal");
});
+ $('#box-overlay').show();
$('#vCard_container').slideDown("normal");
}
function _cbOwnVCard(e) {
$('#ownInfo').empty();
- $('#ownInfo').load('vCard.html #vCard', function() {
- $('#ownInfo').find('div').each(function() {
- $(this).attr('id', 'own' + $(this).attr('id'));
- });
+ $('#ownInfo').load('vCard.html #ownvCard', function() {
var easy_cases = new Array('FN', 'FAMILY', 'MIDDLE', 'GIVEN', 'NICKNAME', 'BDAY', 'CTRY', 'USERID');
for (var i=0; i<easy_cases.length; i++) {
var text = e.getElementsByTagName(easy_cases[i])[0];
var button = $('#connect').get(0);
$('#log').empty();
+ $('#ownInfo').empty();
$('#ownInfo').hide();
$('#vCard_container').empty();
+ $('#friends').empty();
$('#friends').hide();
$('.chat').remove();
$('label').show();
</head>
<body>
<div id='vCard'>
- <div id="PHOTO"><span class="vCardName">Avatar: </span><img src="imgs/none.png" /></div>
- <div id="FN"><span class="vCardName">Full Name: </span></div>
- <div id="FAMILY"><span class="vCardName">Last Name: </span></div>
- <div id="GIVEN"><span class="vCardName">First Name: </span></div>
- <div id="MIDDLE"><span class="vCardName">Middle Name: </span></div>
- <div id="NICKNAME"><span class="vCardName">Nickname: </span></div>
- <div id="BDAY"><span class="vCardName">Birthday: </span></div>
- <div id="TELHOME"><span class="vCardName">Telephone (Home): </span></div>
- <div id="TELWORK"><span class="vCardName">Telephone (Work): </span></div>
- <div id="EMAILHOME"><span class="vCardName">E-Mail (Home): </span></div>
- <div id="EMAILWORK"><span class="vCardName">E-Mail (Work): </span></div>
- <div id="CTRY"><span class="vCardName">Country: </span></div>
- <div id="USERID"><span class="vCardName">E-Mail: </span></div>
+ <ul class="noMarker">
+ <li id="PHOTO"><span class="vCardName">Avatar: </span><img src="imgs/none.png" /></li>
+ <li id="FN"><span class="vCardName">Full Name: </span></li>
+ <li id="FAMILY"><span class="vCardName">Last Name: </span></li>
+ <li id="GIVEN"><span class="vCardName">First Name: </span></li>
+ <li id="MIDDLE"><span class="vCardName">Middle Name: </span></li>
+ <li id="NICKNAME"><span class="vCardName">Nickname: </span></li>
+ <li id="BDAY"><span class="vCardName">Birthday: </span></li>
+ <li id="TELHOME"><span class="vCardName">Telephone (Home): </span></li>
+ <li id="TELWORK"><span class="vCardName">Telephone (Work): </span></li>
+ <li id="EMAILHOME"><span class="vCardName">E-Mail (Home): </span></li>
+ <li id="EMAILWORK"><span class="vCardName">E-Mail (Work): </span></li>
+ <li id="CTRY"><span class="vCardName">Country: </span></li>
+ <li id="USERID"><span class="vCardName">E-Mail: </span></li>
+ </ul>
+ </div>
+ <div id='ownvCard'>
+ <ul class="noMarker">
+ <li id="ownPHOTO"><span class="vCardName">Avatar: </span><img src="imgs/none.png" /></li>
+ <li id="ownFN"><span class="vCardName">Full Name: </span></li>
+ <li id="ownFAMILY"><span class="vCardName">Last Name: </span></li>
+ <li id="ownGIVEN"><span class="vCardName">First Name: </span></li>
+ <li id="ownMIDDLE"><span class="vCardName">Middle Name: </span></li>
+ <li id="ownNICKNAME"><span class="vCardName">Nickname: </span></li>
+ <li id="ownBDAY"><span class="vCardName">Birthday: </span></li>
+ <li id="ownTELHOME"><span class="vCardName">Telephone (Home): </span></li>
+ <li id="ownTELWORK"><span class="vCardName">Telephone (Work): </span></li>
+ <li id="ownEMAILHOME"><span class="vCardName">E-Mail (Home): </span></li>
+ <li id="ownEMAILWORK"><span class="vCardName">E-Mail (Work): </span></li>
+ <li id="ownCTRY"><span class="vCardName">Country: </span></li>
+ <li id="ownUSERID"><span class="vCardName">E-Mail: </span></li>
+ </ul>
</div>
</body>
</html>