Computer Magazine
Home
Kim
Kimzetty
Friday, July 9, 2010
" दोस्तों को बताएं "-----> विजेट अपने ब्लॉग में लगाये |
Diposkan oleh
Unknown
di
1:44 PM
Label:
blog tricks
"
इस ब्लॉग के बारे में अपने दोस्त को बताएं
"
विजेट को लगाने के लिए------
डिज़ाइन
--->
गैजेट जोड़े
-->
HTML/जावास्क्रिप्ट
फिर
निचे दिए हुवे कोड को कॉपी पेस्ट कर के
OK
दबा दे|
विजेट का नमूना---->
इस ब्लॉग के बारे में अपने दोस्त को बताएं:
विजेट का कोड
<script language="JavaScript"> <!-- Begin var initialsubj="Hay buddy, take a look at this" var initialmsg="Hi:\n You may want to check out this site: "+window.location var good; function checkEmailAddress(field) { var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi); if (goodEmail) { good = true; } else { alert('Please enter a valid address.'); field.focus(); field.select(); good = false; } } u = window.location; function mailThisUrl() { good = false checkEmailAddress(document.eMailer.email); if (good) { //window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u; window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg } } // End --> </script><br /><br /><br /><form name="eMailer">इस ब्लॉग के बारे में अपने दोस्त को बताएं:<br /><input type="text" name="email" size="26" value=" अपने दोस्त का इ-मेल पता लिखें" onfocus="this.value=''" onmouseover="window.status='Enter email address here and tell a friend about this site...'; return true" onmouseout="window.status='';return true" /><br /><br /><br /><input type="button" value="इस ब्लॉग का URL भेजें" onmouseover="window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true" onmouseout="window.status='';return true" onclick="mailThisUrl();" /><br /></form>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment