WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

Basic HTML

Add to Favourites
Post to:
Comments
Presentation Transcript Presentation Transcript

Basic HTML Skills : Basic HTML Skills Topics for this session What is HTML? How we use HTML (Syntax) a) How to bold/italics/underline a text b) How to add a hyperlink in a webpage c) How to enter subscript and superscript text d) How to create a list. e) How to insert an image 3) How to embed a video in a webpage.

What is HTML : What is HTML Although HTML stands for HyperText Markup Language, it's not really a programming language like Java, Perl, or C - it's much simpler. It's a way of describing how a set of text and images should be displayed in a browser while viewing a webpage. HTML is a series of tags presented in an angle brackets like "<>“ which tells a browser to do something special, like show text in italic or bold, or underline, or to show an image, or to make a link to another Web page. For eg: To bold a text Syntax: Basic HTML skills Note: All tags that are opened must correspondingly be closed

HTML - Syntax : HTML - Syntax Steps involved: You will write out the basic format in notepad or any text editor You will save it as a “.HTML” file You will open it in your browser You will smile at the fact that it actually worked.

HTML - Syntax : HTML - Syntax HTML pages have two distinct parts — the part, and the part. The head part contains things that won't appear on your page. is the text that appears at the top of your screen(browser window) <body> is the main part of your page. Everything between those two container (<body> and </body>) tags will be visible on your page. <p> is for paragraph. <br> is to break and start a new line.</p><p><strong>HTML - Syntax : </strong>HTML - Syntax To bold a text Syntax: <b>This text will be bold</b> To write text in italics Syntax : <i>This will make the text italics</i> To underline a text Syntax: <u>underlined text</u> For more then one tag on same text Syntax: <b><i><u>this text will have all the properties</u></i></b></p><p><strong>HTML - Syntax : </strong>HTML - Syntax Adding a link on a webpage. Syntax: <a href=“www.website.com/pagename.html” > the link </a> or <a href=“www.website.com” target=“_blank” > the link </a> a: it stands for Anchor, which means Link. href: Means Hypertext Reference. The href part is another attribute, with the location of the other page as its value. target=“blank” : means the page should open in new browser window.</p><p><strong>HTML - Syntax : </strong>HTML - Syntax How to enter subscript and superscript text Subsript Syntax: <sub>this will be subscript text</sub> SuperScript Syntax: <sup>This will be superscript text</sup></p><p><strong>HTML - Syntax : </strong>HTML - Syntax How to create a list. There are 2 types of listings. One is Ordered list and other is Unordered list. An ordered list typically is a numbered list of items. HTML gives you the ability to control the sequence number. An unordered list typically is a bulleted list of items. Syntax: ordered <ol> <li>This is point 1</li> <li>This is point 2</li> <li>This is point 3</li> </ol> ol: ol stands for orderedlist li: is the list iteam Syntax: unordered <ul> <li>This is first bulleted point</li> <li>This is second bulleted point</li> <li>This is third bulleted point</li> </ul> ul: it means unordered list</p><p><strong>HTML - Syntax : </strong>HTML - Syntax How to insert an image Syntax: <img src=“www.website.com/imagename.gif” /> img src: is the Image source which means where the image is kept on the server(the image has to be available on internet)</p><p><strong>HTML - Syntax : </strong>HTML - Syntax How to embed an video You just need to copy paste the embed code under your <body> tag and the video is embeded.</p><p><strong>Thank you : </strong>Thank you This completes our session “basic HTML skills” if you have any questions regarding What we discussed in this session or any other enquiry related to HTML that we didn’t discuss. Please email me on: kunal@wiziq.com</p></div> </div> </div> <!-- Right --> <div id="rightcontent_s" class="margintop"> <div class="contenthomerighttop" style="margin-bottom: 15px; float: left;width:260px"> <h2> <a href="http://www.wiziq.com/Sign_In.aspx?ReturnUrl=Content/upload_Content.aspx" id="HrefUploadContent" rel="nofollow">Upload Content</a> </h2> <span class="link_sep">|</span> <h2> <a href="http://www.wiziq.com/Content/EmbedContent.aspx" rel="nofollow">Embed Content</a> </h2> </div> <div id="dvCourseWidgetSignUp" style="float: left; margin-bottom: 20px;"> <style type="text/css"> .txtbx-disable{border: 1px solid #B8CBD9;float: left;padding: 4px 3px 4px 13px;width: 40px;} .countrybx{border: solid 1px #b8cbd9;padding: 4px 3px;width: 50px;font-family: Tahoma, Geneva, sans-serif;font-size: 12px;} .countrybx-errbdr{border: solid 1px #CD5250;padding: 4px 3px;width: 50px;font-family: Tahoma, Geneva, sans-serif;font-size: 12px;} .error_bdr{border: solid 1px #CD5250;} </style> <div class="formouter"> <p class="heading"> Want to learn?</p> <p class="fnt14"> Sign up and browse through relevant courses.</p> <div class="form2"> <div class="error_msgdv" style="margin-top: 0px;"> <span class="left-form1"></span><span id="ucRegistrationWidget_spnAlert" class="errmsg" style="display: none;"></span> </div> <div class="mzero"> <span class="left-form1"> Name:</span><br /> <span> <input name="ucRegistrationWidget$txtName" type="text" maxlength="50" id="ucRegistrationWidget_txtName" tabindex="1" class="laninput1" onblur="ValidateName(false);" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " /> </span> </div> <div> <span class="left-form1"> Your Email:</span><br /> <span> <input name="ucRegistrationWidget$txtEmail" type="text" maxlength="50" id="ucRegistrationWidget_txtEmail" tabindex="2" class="laninput1" onblur="ValidateEmail(false);" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " /> </span> </div> <div> <span class="left-form1"> Password:</span><br /> <span> <input name="ucRegistrationWidget$txtPassword" type="password" maxlength="15" id="ucRegistrationWidget_txtPassword" tabindex="3" class="laninput1" onblur="ValidatePassword(false);" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " /> </span> </div> <div> <span class="left-form1"> Country:</span><br /> <span> <select name="ucRegistrationWidget$ddlCountry" id="ucRegistrationWidget_ddlCountry" tabindex="4" class="landrop1" onChange="changeCountryCode();" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; "> <option value="-1">[Select]</option> <option selected="selected" value="176">United States</option> <option value="1">Afghanistan</option> <option value="2">Albania</option> <option value="3">Algeria</option> <option value="4">Angola</option> <option value="5">Antigua and Barbuda</option> <option value="6">Argentina</option> <option value="7">Armenia</option> <option value="8">Australia</option> <option value="9">Austria</option> <option value="10">Azerbaijan</option> <option value="11">Bahamas</option> <option value="12">Bahrain</option> <option value="13">Bangladesh</option> <option value="14">Barbados</option> <option value="15">Belarus</option> <option value="16">Belgium</option> <option value="17">Belize</option> <option value="190">Benin</option> <option value="200">Bermuda</option> <option value="18">Bhutan</option> <option value="19">Bolivia</option> <option value="207">Bosnia and Herzegovina</option> <option value="21">Botswana</option> <option value="22">Brazil</option> <option value="23">Brunei</option> <option value="24">Bulgaria</option> <option value="210">Burkina Faso</option> <option value="25">Burundi</option> <option value="26">Cambodia</option> <option value="27">Cameroon</option> <option value="28">Canada</option> <option value="212">Cape verde</option> <option value="204">Caribbean Nations</option> <option value="29">Central African Republic</option> <option value="30">Chad</option> <option value="31">Chile</option> <option value="32">China</option> <option value="33">Colombia</option> <option value="34">Congo (Brazzaville)</option> <option value="35">Congo, Democratic Republic of</option> <option value="196">Cook Islands</option> <option value="36">Costa Rica</option> <option value="37">Croatia</option> <option value="38">Cuba</option> <option value="39">Cyprus</option> <option value="40">Czech Republic</option> <option value="41">Denmark</option> <option value="42">Djibouti</option> <option value="43">Dominica</option> <option value="44">Dominican Republic</option> <option value="45">Ecuador</option> <option value="46">Egypt</option> <option value="47">El Salvador</option> <option value="48">Equatorial Guinea</option> <option value="49">Eritrea</option> <option value="50">Estonia</option> <option value="51">Ethiopia</option> <option value="201">Faroe Islands</option> <option value="202">Federated States of Micronesia</option> <option value="52">Fiji</option> <option value="53">Finland</option> <option value="54">France</option> <option value="197">French Polynesia</option> <option value="55">Gabon</option> <option value="56">Gambia</option> <option value="57">Georgia</option> <option value="58">Germany</option> <option value="59">Ghana</option> <option value="193">Gibraltar</option> <option value="60">Greece</option> <option value="206">Greenland</option> <option value="61">Grenada</option> <option value="62">Guatemala</option> <option value="63">Guinea</option> <option value="64">Guinea-Bissau</option> <option value="65">Guyana</option> <option value="66">Haiti</option> <option value="67">Honduras</option> <option value="191">Hong Kong</option> <option value="68">Hungary</option> <option value="69">Iceland</option> <option value="70">India</option> <option value="71">Indonesia</option> <option value="72">Iran</option> <option value="73">Iraq</option> <option value="74">Ireland</option> <option value="75">Israel</option> <option value="76">Italy</option> <option value="209">Ivory Coast</option> <option value="77">Jamaica</option> <option value="78">Japan</option> <option value="79">Jordan</option> <option value="80">Kazakhstan</option> <option value="81">Kenya</option> <option value="82">Kiribati</option> <option value="83">Korea - North</option> <option value="84">Korea - South</option> <option value="85">Kuwait</option> <option value="86">Kyrgyzstan</option> <option value="87">Laos</option> <option value="88">Latvia</option> <option value="89">Lebanon</option> <option value="90">Lesotho</option> <option value="91">Liberia</option> <option value="92">Libya</option> <option value="93">Liechtenstein</option> <option value="94">Lithuania</option> <option value="95">Luxembourg</option> <option value="96">Macedonia</option> <option value="97">Madagascar</option> <option value="98">Malawi</option> <option value="99">Malaysia</option> <option value="100">Maldives</option> <option value="101">Mali</option> <option value="102">Malta</option> <option value="103">Marshall Islands</option> <option value="104">Mauritania</option> <option value="105">Mauritius</option> <option value="106">Mexico</option> <option value="107">Micronesia, Federated States of</option> <option value="108">Moldova</option> <option value="109">Monaco</option> <option value="110">Mongolia</option> <option value="185">Montenegro</option> <option value="111">Morocco</option> <option value="112">Mozambique</option> <option value="113">Myanmar</option> <option value="114">Namibia</option> <option value="115">Nauru</option> <option value="116">Nepal</option> <option value="117">Netherlands</option> <option value="188">Netherlands Antilles</option> <option value="118">New Zealand</option> <option value="119">Nicaragua</option> <option value="120">Niger</option> <option value="121">Nigeria</option> <option value="122">Norway</option> <option value="123">Oman</option> <option value="124">Pakistan</option> <option value="125">Palau</option> <option value="126">Panama</option> <option value="127">Papua New Guinea</option> <option value="128">Paraguay</option> <option value="129">Peru</option> <option value="130">Philippines</option> <option value="131">Poland</option> <option value="132">Portugal</option> <option value="208">Puerto Rico</option> <option value="133">Qatar</option> <option value="134">Romania</option> <option value="135">Russia</option> <option value="205">Russian Federation</option> <option value="136">Rwanda</option> <option value="137">Saint Kitts and Nevis</option> <option value="138">Saint Lucia</option> <option value="139">Saint Vincent and the Grenadines</option> <option value="140">Samoa</option> <option value="141">San Marino</option> <option value="142">Sao Tome and Principe</option> <option value="143">Saudi Arabia</option> <option value="211">Scotland</option> <option value="144">Senegal</option> <option value="199">Serbia</option> <option value="145">Seychelles</option> <option value="146">Sierra Leone</option> <option value="147">Singapore</option> <option value="192">Slovak Republic</option> <option value="148">Slovakia</option> <option value="149">Slovenia</option> <option value="150">Solomon Islands</option> <option value="151">Somalia</option> <option value="152">South Africa</option> <option value="153">Spain</option> <option value="154">Sri Lanka</option> <option value="155">Sudan</option> <option value="195">Sultanate of Oman</option> <option value="156">Suriname</option> <option value="157">Swaziland</option> <option value="158">Sweden</option> <option value="159">Switzerland</option> <option value="160">Syria</option> <option value="161">Taiwan</option> <option value="162">Tajikistan</option> <option value="163">Tanzania</option> <option value="164">Thailand</option> <option value="198">Timor-Leste</option> <option value="165">Togo</option> <option value="166">Tonga</option> <option value="167">Trinidad and Tobago</option> <option value="168">Tunisia</option> <option value="169">Turkey</option> <option value="170">Turkmenistan</option> <option value="171">Tuvalu</option> <option value="172">Uganda</option> <option value="173">Ukraine</option> <option value="174">United Arab Emirates</option> <option value="175">United Kingdom</option> <option value="177">Uruguay</option> <option value="178">Uzbekistan</option> <option value="179">Vanuatu</option> <option value="180">Vatican City</option> <option value="181">Venezuela</option> <option value="189">Viet Nam</option> <option value="183">Western Sahara</option> <option value="184">Yemen</option> <option value="186">Zambia</option> <option value="187">Zimbabwe</option> </select> </span> </div> <div> <span class="left-form1"> Contact no.:</span><br> <span> <label for="mobile"> <input id="ucRegistrationWidget_rdMobile" type="radio" name="ucRegistrationWidget$ContactNo" value="rdMobile" checked="checked" onclick="SetMobileCountryCode();" tabindex="5" /> Mobile </label> <label for="landline" style="margin-left: 10px"> <input id="ucRegistrationWidget_rdLandline" type="radio" name="ucRegistrationWidget$ContactNo" value="rdLandline" checked="checked" onclick="SetLandlineCountryCode();" tabindex="6" /> Landline </label> <br> <span class="mt5"><span> <input name="ucRegistrationWidget$txtMobCountry" type="text" maxlength="5" id="ucRegistrationWidget_txtMobCountry" tabindex="7" class="countrybx" onblur="ValidateMobileCountry(false);" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " /> <input type="hidden" name="ucRegistrationWidget$hdnCountryCode" id="ucRegistrationWidget_hdnCountryCode" value="1" /> </span><span class="ml10"> <input name="ucRegistrationWidget$txtMobileNo" type="text" maxlength="15" id="ucRegistrationWidget_txtMobileNo" tabindex="8" class="laninput1" onblur="ValidateMobileNumber(false);" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " /> </span></span> <br> <span><span id="ucRegistrationWidget_spnCountryCodeTxt" class="txtland" style="width: 70px;">Area code</span><span class="txtland"> Number</span></span></span></div> <div> <span class="left-form1"> Subject you are interested in:</span><br /> <span><span id="spnTxtOtherSubjects" style="display: none;"> <input name="ucRegistrationWidget$txtSubjects" type="text" maxlength="100" id="ucRegistrationWidget_txtSubjects" tabindex="9" class="laninput1" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " /> <br /> <a href="javascript:ShowSubjectsDropdown();" class="link11" rel="nofollow"> Back to select subject </a></span><span id="spnSubjectsInterested"> <select name="ucRegistrationWidget$ddlSubjectsInterested" id="ucRegistrationWidget_ddlSubjectsInterested" tabindex="9" class="landrop1" onchange="SelectSubject();" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; "> <option value="-1">[Select]</option> <option value="4">GRE</option> <option value="5">GMAT</option> <option value="6">SAT/CAT</option> <option value="7">Programming/Internet</option> <option value="8">Spoken English</option> <option value="9">Spanish Language</option> <option value="10">Others</option> </select> </span> <input name="ucRegistrationWidget$hdnSubjectType" type="hidden" id="ucRegistrationWidget_hdnSubjectType" value="1" /> </span> </div> <div> <span class="left-form1"> Word verification:</span> <span><span style="width: 132px; float: left"> <input name="ucRegistrationWidget$txtCaptcha" type="text" maxlength="4" id="ucRegistrationWidget_txtCaptcha" tabindex="10" class="laninput1" onblur="ValidateCaptchaCode(false);" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) { if(ValidateSignUpForm() == true){__doPostBack('ucRegistrationWidget$btnAction',''); } return false; }} else {return true}; " style="width: 125px;" /> <span class="txtland">(Enter the text as in image)</span> </span> <span style="float: left; margin-top: -15px"> <div><span style='margin:5px;float:left;'><img src="CaptchaImage.aspx?guid=2cb87698-d492-485e-b896-5ccd1d86efe6&cc=YZ4Z" border='0' width=80 height=31></span><br clear='all'></div> </span> <br /> </span> </div> <div> <span class="left-form1"></span><span> <a onclick="return ValidateSignUpForm();" id="ucRegistrationWidget_btnAction" tabindex="10" class="signbutton" href="javascript:__doPostBack('ucRegistrationWidget$btnAction','')">Sign Up</a> </span><span style="margin: 7px 0 0 5px"> Already a member? <a href="http://www.wiziq.com/Sign_In.aspx" class="ulink"> Sign In</a></span> </div> <div class="lighttxt11" style="border-top: dashed 1px #ccc; padding-top: 7px;"> I agree to WizIQ's <a href="http://www.wiziq.com/UserAgreement.aspx" target="_blank"> User Agreement</a> & <a href="http://www.wiziq.com/PrivacyPolicy.aspx" target="_blank"> Privacy Policy</a> </div> </div> </div> <script language="javascript" type="text/javascript"> var spnAlert = document.getElementById("ucRegistrationWidget_spnAlert"); var ddlCountry = document.getElementById("ucRegistrationWidget_ddlCountry"); var spnCountryCodeTxt = document.getElementById("ucRegistrationWidget_spnCountryCodeTxt"); var txtCountryCode = document.getElementById("ucRegistrationWidget_txtMobCountry"); var txtMobileNo = document.getElementById("ucRegistrationWidget_txtMobileNo"); var spnSubjectsInterested = document.getElementById('spnSubjectsInterested'); var spnTxtOtherSubjects = document.getElementById('spnTxtOtherSubjects'); var hdnSubjectType = document.getElementById("ucRegistrationWidget_hdnSubjectType"); var ddlSubject = document.getElementById("ucRegistrationWidget_ddlSubjectsInterested"); var countryCode = "1" var isMoileChecked = IsMobileSelected(); var alertMsg = ""; var classtxtbox = "laninput1"; if (countryCode == "") // get countrycode from hidden var in case of page post back countryCode = document.getElementById("ucRegistrationWidget_hdnCountryCode").value; function ValidateSignUpForm() { var isValidInfo = false; var isfocus = true; var isValidCaptcha = ValidateCaptchaCode(isfocus); var isValidMobile = ValidateMobileNumber(isfocus); var isValidMobileCountry = ValidateMobileCountry(isfocus); var isValidCountry = validateCountry(isfocus); var isValidPassword = ValidatePassword(isfocus); var isValidEmail = ValidateEmail(isfocus); var isValidName = ValidateName(isfocus); if (isValidCaptcha && isValidMobile && isValidMobileCountry && isValidCountry && isValidPassword && isValidEmail && isValidName) isValidInfo = true; return isValidInfo; } //Set Object //alert function SetObjectAlert(obj, alertMsg, isfocus) { if (isfocus) { obj.focus(); obj.blur(); obj.focus(); } spnAlert.style.display = "none"; obj.className = classtxtbox + " error_bdr"; if (trimString(alertMsg) != "") { spnAlert.style.display = "block"; spnAlert.innerHTML = alertMsg; } } //Validate User Name function ValidateName(isfocus) { var isValidName = true; alertMsg = "none"; var txtName = document.getElementById('ucRegistrationWidget_txtName'); txtName.className = classtxtbox; if (trimString(txtName.value) != "") { var iChars = "~#$%^&*()+=[]\';,/{}|\":<>?"; for (var i = 0; i < txtName.value.length; i++) { if (iChars.indexOf(txtName.value.charAt(i)) != -1) { isValidName = false; alertMsg = "Special characters not allowed." } } } else { alertMsg = "Please enter your name."; isValidName = false; } if (isValidName) { if (!isfocus) spnAlert.innerHTML = ""; } else SetObjectAlert(txtName, alertMsg, isfocus); return isValidName; } //Validate User Email function ValidateEmail(isfocus) { var isValidEmail = true; var txtEmail = document.getElementById('ucRegistrationWidget_txtEmail'); txtEmail.className = classtxtbox; if (trimString(txtEmail.value) != "") isValidEmail = IsValidEmail(trimString(txtEmail.value)); else isValidEmail = false; if (!isValidEmail) { alertMsg = "Please enter a valid email address."; SetObjectAlert(txtEmail, alertMsg, isfocus); } else { if(CheckEmailExists(txtEmail, isfocus)) isValidEmail = false; if (!isValidEmail && !isfocus) spnAlert.innerHTML = ""; } return isValidEmail; } //Check Regex for User Email function IsValidEmail(src) { var emailReg = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+$/; var regex = new RegExp(emailReg); return regex.test(src); } //Validate User Password function ValidatePassword(isfocus) { var isValidPass = true; var txtPass = document.getElementById("ucRegistrationWidget_txtPassword"); txtPass.className = classtxtbox; if (trimString(txtPass.value) != "") { if (txtPass.value.length < 6) { isValidPass = false; alertMsg = "Password should be 6 or more characters."; } } else { alertMsg = "Please enter your password."; isValidPass = false; } if (isValidPass == false) SetObjectAlert(txtPass, alertMsg, isfocus); else { if (!isfocus) spnAlert.innerHTML = ""; } return isValidPass; } //Validate User Mobile Number function ValidateMobileNumber(isfocus) { var isValidMob = true; var lengthLimit = 8; txtMobileNo.className = classtxtbox; isMoileChecked = IsMobileSelected(); if(!isMoileChecked) lengthLimit = 6; //Validate Mobile Number if Mobile Number filled or Area Code filled in case of Landline Selected if (trimString(txtMobileNo.value) != "" || (trimString(txtCountryCode.value) != "" && !isMoileChecked)) { if (IsPhoneValid(txtMobileNo.value) == false || (txtMobileNo.value.length < lengthLimit)) isValidMob = false; } if (!isValidMob) { if (isMoileChecked) alertMsg = "Please enter a valid mobile number."; else alertMsg = "Please enter a valid landline number."; SetObjectAlert(txtMobileNo, alertMsg, isfocus); } else if (!isfocus) spnAlert.innerHTML = ""; return isValidMob; } //Validate Country function validateCountry(isfocus) { var isValidCountry = true; ddlCountry.className = "landrop1"; if (ddlCountry.value == -1) { isValidCountry = false; alertMsg = "Please select your country."; SetObjectAlert(ddlCountry, alertMsg, isfocus); ddlCountry.className = "landrop1 error_bdr"; } else { if (!isfocus) spnAlert.innerHTML = ""; } return isValidCountry; } //Validate Mobile Country function ValidateMobileCountry(isfocus) { var isValidMobCountry = true; var className = "countrybx"; isMoileChecked = IsMobileSelected(); if(isMoileChecked) className = "txtbx-disable form-plus-disable"; txtCountryCode.className = className if (trimString(txtMobileNo.value) != "" || trimString(txtCountryCode.value) != "") { if (trimString(txtCountryCode.value) != "") isValidMobCountry = IsValidMobileCountry(trimString(txtCountryCode.value), isMoileChecked); else isValidMobCountry = false; if (!isValidMobCountry) { if (isMoileChecked) { alertMsg = "Please enter a valid mobile number."; className = "txtbx-disable form-plus-disable error_bdr"; } else { alertMsg = "Please enter a valid landline number."; className = "countrybx-errbdr"; } SetObjectAlertNew(txtCountryCode, alertMsg, isfocus,className); } else if (!isfocus) spnAlert.innerHTML = ""; } return isValidMobCountry; } //Check Regex for Mobile number function IsPhoneValid(Number) { var MobileReg = "^[-+.0-9 ][-+.0-9\-(\s?), ]+[ -+.0-9]$"; var regex = new RegExp(MobileReg); return regex.test(Number); } function IsValidMobileCountry(Code, isMobile) { var isValidCountryCode = true; if(isMobile) { var MobileCodeReg = "^[0-9]{1,4}\-?[0-9]{0,4}$"; var regex = new RegExp(MobileCodeReg); isValidCountryCode = regex.test(trimString(Code)); } else if(isNaN(Code)) isValidCountryCode = false; return isValidCountryCode; } function ShowSubjectsDropdown() { hdnSubjectType.value = "1"; spnSubjectsInterested.style.display = "block"; spnTxtOtherSubjects.style.display = "none"; ddlSubject.value = -1 ; ddlSubject.focus(); } function SelectSubject() { var ddlSubjectVal = ddlSubject.options[ddlSubject.selectedIndex].text; if (ddlSubjectVal.toLowerCase() == "others") { hdnSubjectType.value = "2"; spnSubjectsInterested.style.display = "none"; spnTxtOtherSubjects.style.display = "block"; document.getElementById('ucRegistrationWidget_txtSubjects').focus(); } } function ValidateCaptchaCode(isfocus) { var txtCaptcha = document.getElementById('ucRegistrationWidget_txtCaptcha'); txtCaptcha.className = classtxtbox; var isValidCaptcha = true; if (txtCaptcha && trimString(txtCaptcha.value) == "") isValidCaptcha = false if (!isValidCaptcha) { alertMsg = "Type the characters you see in the picture."; SetObjectAlert(txtCaptcha, alertMsg, isfocus); } else { if (!isfocus) spnAlert.innerHTML = ""; } return isValidCaptcha; } //have to remove this function bcoz this exists in jquery function trimString(str) { str = this != window ? this : str; return str.replace(/^\s+/g, '').replace(/\s+$/g, ''); } function CheckEmailExists(txtEmail, isfocus) { var isEmailExists = false; var j = jQuery.noConflict(); j.ajax({ url: 'http://www.wiziq.com' + '/Action/CheckEmail.aspx', type: 'GET', data: 'userid=' + txtEmail.value, success: function (msg) { var arrEmail = msg.split("~"); var status = arrEmail[0]; if (status == "False") { isEmailExists = true; } else SetObjectAlert(txtEmail, arrEmail[1], isfocus); } }); return isEmailExists; } function SetLandlineCountryCode() { txtMobileNo.value = ""; txtCountryCode.value = ""; txtCountryCode.className = "countrybx"; spnCountryCodeTxt.innerHTML = "Area code"; txtCountryCode.disabled = false; txtCountryCode.focus(); var isValid = ValidateMobileNumber(false); } function SetMobileCountryCode() { txtMobileNo.value = ""; txtCountryCode.className = "txtbx-disable form-plus-disable" ; spnCountryCodeTxt.innerHTML= "Country code"; txtCountryCode.value = countryCode; document.getElementById("ucRegistrationWidget_hdnCountryCode").value = countryCode; txtCountryCode.disabled = true; txtMobileNo.focus(); var isValid = ValidateMobileNumber(false); } function changeCountryCode() { if(validateCountry(false)) { isMobileChecked = IsMobileSelected(); GetAndSetCountryCode(ddlCountry.options[ddlCountry.selectedIndex].text,isMobileChecked); } else { txtCountryCode.value = ""; txtCountryCode.className = "countrybx"; } } function GetAndSetCountryCode(countryName,isMobileChecked) { var t = jQuery.noConflict(); t.ajax({ url: 'http://www.wiziq.com' + '/Action/country-code.aspx', type: 'POST', data: 'cname=' + countryName, success: function (response) { countryCode = response; if(countryCode != "" && isMobileChecked == true)//Set Mobile Country Code SetMobileCountryCode(); } }); } //Set Object //alert function SetObjectAlertNew(obj, alertMsg, isfocus, className) { if (isfocus) { obj.focus(); obj.blur(); obj.focus(); } spnAlert.style.display = "none"; obj.className = className; if (trimString(alertMsg) != "") { spnAlert.style.display = "block"; spnAlert.innerHTML = alertMsg; } } function IsMobileSelected() { return document.getElementById("ucRegistrationWidget_rdMobile").checked; } switch (parseInt(1)) { case 1://Focus Action Button document.getElementById('ucRegistrationWidget_btnAction').focus(); break; case 2://Focus captcha box document.getElementById('ucRegistrationWidget_txtCaptcha').focus(); break; case 3: //Focus Name box document.getElementById('ucRegistrationWidget_txtName').focus(); break; default: //Focus email box document.getElementById('ucRegistrationWidget_btnAction').focus(); break; } </script> </div> <div class="leftheadingboxextand"> <div class="usercontrol bluedv"> <div class="uploaderimg mimgdv"> <div class="fleft"style="width:185px;"> <strong><a id="MemberControl1_hlnkBy" href="http://www.wiziq.com/kunal">Kunal Sarin</a></strong><br /><span id="MemberControl1_spanSubject" style="padding-top: 3px;"></span> </div> <div class="fright" style="padding:3px 5px 5px 0px"> <img id="MemberControl1_imgUser" alt="User" src="http://wqimg.s3.amazonaws.com/ut/ust/org-logo.gif" border="0" /> </div> </div> <div id="MemberControl1_divRecFollow" class="mcontentdiv text11"> <div id="MemberControl1_divRecommendation" class="fleft" style="padding: 5px 0px 3px 0px;margin:0px;"> <div class="fleft" style="width: 16px;padding-left:10px;"><span class="recommend_icon" style="height:15px; float:left"></span></div> <div class="fleft" style="padding-left: 4px;" ><span id="MemberControl1_lblRecommendation">3 Members Recommend</span></div> </div> <div id="MemberControl1_divFollowers" class="fleft text11" style="width:250px;padding:3px 0px 5px 10px;margin:0px;"> <span class="icon_followteacher fleft" style="padding-left:15px;"><span class="fleft" style="padding-left:5px;"><span id="MemberControl1_lblFollowers">13 Followers</span></span></span> </div> </div> <div id="MemberControl1_dvStats" class="fleft mcontentdiv" style=" font-size:12px; padding:4px 0px;"> <div id="MemberControl1_dvContent" class="bluetxt11 fleft"> <span class="fleft" style="padding-right:5px; padding-left:10px;"><a href="http://www.wiziq.com/kunal/tutorials" id="MemberControl1_HrefContent" title="Public Tutorials by Kunal Sarin">Tutorials</a>:</span> <span class="fleft"><a href="http://www.wiziq.com/kunal/tutorials" id="MemberControl1_HrefContentCount" style="text-decoration:none" title="Public Tutorials by Kunal Sarin"><span id="MemberControl1_lblContent">7</span></a></span> </div> <div id="MemberControl1_dvSession" class="bluetxt11 fleft" style="padding-left:10px;height:20px"> <span class="fleft" style="padding-right:5px;padding-left:2px;"><a href="http://www.wiziq.com/kunal/classes" id="MemberControl1_HrefSession" title="Online Public Classes by Kunal Sarin">Classes</a>: </span> <span class="fleft"><a href="http://www.wiziq.com/kunal/classes" id="MemberControl1_HrefSessionCount" style="text-decoration:none" title="Online Public Classes by Kunal Sarin"><span id="MemberControl1_lblSession">2</span></a></span></div> <span></span> </div> </div> <div id="MemberControl1_divInvite" class="fnt12 contentdv" style="width:252px; padding:5px 4px;background-color:#DAEDFB; border-top: 1px solid #D2E4F2;"> <div class="fleft"> <div id="MemberControl1_divSend"> <div class="sendmessageicon fleft"> <a href="http://www.wiziq.com/Action/GenericSignUp.aspx?&SetDomain=true&redirecturl=/Content/view_content.aspx?ContentID=20314-Basic-HTML~sm=y&ModuleObjectId=20314&moduleid=2&keepThis=true&TB_iframe=true&height=410&width=640" id="MemberControl1_hrefSendMessage" rel="nofollow" class="thickbox" style="font-size:11px;">Send message</a> </div> <div class="fleft"> <span class="fleft padleft5"><div id="MemberControl1_ucFollow_dvmain" style="display:block; "> <span id="MemberControl1_ucFollow_spfollow" class="icon_followteacher fleft"> <a href="http://www.wiziq.com/Action/LCSignUp.aspx?method=FollowMemberAction&mval=false&sparams=sVcdujT6kMpeuD1OhvfURI2u6hY4l6SFrsdmtuDapEnszBASoSe59JG7GVt259N9aIu2mN41SZ3oFurdKAdGEsz99glQsWwcQLg1B%2fkZAH%2fjDKyvSwZpDPCQKoH1gVjE8x5HQ4wwNggh2YAIwUgEqipS4OQdd47KJG4CCcuv9%2bgJlVnpCZ0qm4FzVhoC3WhtyBrjHyKU6T65K9KX%2fh98ig%3d%3d&SetDomain=true&moduleid=54&tId=ioUrEwcdPaKitBgGKC4kE97B7DJZvUiBd2uVvK%2fJjV7peLx5vkdg9ySr5eMxUZYcQpmHt4HAu9qjb00FdZU%2bzg%3d%3d&keepThis=true&TB_iframe=true&height=420&width=410" id="MemberControl1_ucFollow_hrfFollow" class="thickbox " rel="nofollow" style="font-weight:bold;font-size:11px;">Follow this Member</a> </span> <span id="spFollowing" class="icon_followteacher fleft" style="display:none;"> <span id="spFollowingText" class="lighttxt11 fleft" style="font-weight:bold;font-size:11px;" >Following (</span> <span class="fleft"> <a href="javascript:void(0);" id="MemberControl1_ucFollow_hrfUnfollow" class="ulink" style="padding-left:0px; float:left;" rel="nofollow">Unfollow</a></span> <span id="Span3" class="lighttxt11 fleft" style="font-weight:bold;font-size:11px;padding-left: 0px;">)</span> </span> </div> <script type="text/javascript" > if ("false" == "true") { document.getElementById('MemberControl1_ucFollow_spfollow').style.display="none"; document.getElementById('spFollowing').style.display="inline"; } else { document.getElementById('MemberControl1_ucFollow_spfollow').style.display="block"; document.getElementById('spFollowing').style.display="none"; } function followMember(Qstring) { try { var spFollowing = document.getElementById('spFollowing'); document.getElementById('MemberControl1_ucFollow_spfollow').style.display="none"; spFollowing.style.display="inline"; if(parseInt("29147") > 0) { j.ajax ( { url:'http://www.wiziq.com/Contacts/Ajax/follow-member.aspx', type: 'POST', data: 'Qstring=' + Qstring, error: function(){ //alert('ACTIVITY ERROR'); }, success: function(msg) { // alert("ajax call succeess"); }} ); } }catch(ex){alert(ex);} } function callfw() { if ('' != "") { try { HTMLElement.prototype.click = function () { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } } catch (e) { } document.getElementById('MemberControl1_ucFollow_hrfFollow').click(); } } </script> </span> </div> </div> </div> </div> <script language="javascript" type="text/javascript"> function callsm() { if ('' != "") { try { HTMLElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt);} } catch(e) { } document.getElementById('MemberControl1_hrefSendMessage').click(); } } </script> </div> <div id="fbActivity"> <div class="leftheadingbox" style="margin-top: 20px;"> <h3> Your Facebook Friends on WizIQ</h3> </div> <div id="fbactivity"> <fb:activity header="false" width="260" height="275" font="arial"> </fb:activity> </div> </div> <div id="divRelatedContent" style="display:block;"> <div class="leftheadingbox" style="margin-top: 20px;"> <h3> Related Content</h3> </div> <div id="divRelatedContentListing" class="leftheadingboxextand"> <div class="rightfeaturedbox"> <div class="featuredclasss"> <div class="featuredleftimg" style="border:solid 1px #ddd; text-align:center"> <img id="rptRelatedContent_ctl00_imgThumbnail" title="Basic HTML" src="http://m.wqimg.com/20313_633711463641083750_slide1_120,90.jpg" alt="Basic HTML" border="0" /> </div> <div class="featuredtxtdiv" style="width: 160px"> <a id="rptRelatedContent_ctl00_HlnkTitle" href="http://www.wiziq.com/tutorial/20313-Basic-HTML"> <strong> <span id="rptRelatedContent_ctl00_lblTitle" title="Basic HTML" nowrap="nowrap">Basic HTML</span></strong></a> by <a id="rptRelatedContent_ctl00_hlnkFname" title="ksarin " href="http://www.wiziq.com/member-profile/240623-ksarin">ksarin</a> <br /> <div class='iconppt'> <span class="lighttext11"> 3134 Views</span> </div> </div> </div> <div class="featuredclasss"> <div class="featuredleftimg" style="border:solid 1px #ddd; text-align:center"> <img id="rptRelatedContent_ctl01_imgThumbnail" title="HTML/CSS Made Easy - The Basic Basics" src="http://m.wqimg.com/132510_634371245746113750-slide1_67,51.jpg" alt="HTML/CSS Made Easy - The Basic Basics" border="0" /> </div> <div class="featuredtxtdiv" style="width: 160px"> <a id="rptRelatedContent_ctl01_HlnkTitle" href="http://www.wiziq.com/tutorial/132510-HTML-CSS-Made-Easy-The-Basic-Basics"> <strong> <span id="rptRelatedContent_ctl01_lblTitle" title="HTML/CSS Made Easy - The Basic Basics" nowrap="nowrap">HTML/CSS Made Easy - The Basic Basics</span></strong></a> by <a id="rptRelatedContent_ctl01_hlnkFname" title="Tanja P" href="http://www.wiziq.com/tanjap">Tanja</a> <br /> <div class='iconppt'> <span class="lighttext11"> 515 Views</span> </div> </div> </div> <div class="featuredclasss"> <div class="featuredleftimg" style="border:solid 1px #ddd; text-align:center"> <img id="rptRelatedContent_ctl02_imgThumbnail" title="HTML/CSS Made Easy - The Basic Basics PDF" src="http://m.wqimg.com/132574_634371540013457500-slide1_67,87.jpg" alt="HTML/CSS Made Easy - The Basic Basics PDF" border="0" /> </div> <div class="featuredtxtdiv" style="width: 160px"> <a id="rptRelatedContent_ctl02_HlnkTitle" href="http://www.wiziq.com/tutorial/132574-HTML-CSS-Made-Easy-The-Basic-Basics-PDF"> <strong> <span id="rptRelatedContent_ctl02_lblTitle" title="HTML/CSS Made Easy - The Basic Basics PDF" nowrap="nowrap">HTML/CSS Made Easy - The Basic Basics PDF</span></strong></a> by <a id="rptRelatedContent_ctl02_hlnkFname" title="Tanja P" href="http://www.wiziq.com/tanjap">Tanja</a> <br /> <div class='iconpdfps'> <span class="lighttext11"> 868 Views</span> </div> </div> </div> <div class="featuredclasss"> <div class="featuredleftimg" style="border:solid 1px #ddd; text-align:center"> <img id="rptRelatedContent_ctl03_imgThumbnail" title="HTML - Some More Basic Tags" src="http://m.wqimg.com/58758_634032100171753750_slide1_67,51.jpg" alt="HTML - Some More Basic Tags" border="0" /> </div> <div class="featuredtxtdiv" style="width: 160px"> <a id="rptRelatedContent_ctl03_HlnkTitle" href="http://www.wiziq.com/tutorial/58758-HTML-Some-More-Basic-Tags"> <strong> <span id="rptRelatedContent_ctl03_lblTitle" title="HTML - Some More Basic Tags" nowrap="nowrap">HTML - Some More Basic Tags</span></strong></a> by <a id="rptRelatedContent_ctl03_hlnkFname" title="Supreet Saini" href="http://www.wiziq.com/monalsaini2008">Supreet</a> <br /> <div class='iconppt'> <span class="lighttext11"> 405 Views</span> </div> </div> </div> <div class="featuredclasss"> <div class="featuredleftimg" style="border:solid 1px #ddd; text-align:center"> <img id="rptRelatedContent_ctl04_imgThumbnail" title="HTML Basics" src="http://m.wqimg.com/8176_633519692600000000_slide1_120,90.jpg" alt="HTML Basics" border="0" /> </div> <div class="featuredtxtdiv" style="width: 160px"> <a id="rptRelatedContent_ctl04_HlnkTitle" href="http://www.wiziq.com/tutorial/8176-HTML-Basics"> <strong> <span id="rptRelatedContent_ctl04_lblTitle" title="HTML Basics" nowrap="nowrap">HTML Basics</span></strong></a> by <a id="rptRelatedContent_ctl04_hlnkFname" title="Biswadip Goswami" href="http://www.wiziq.com/biswadipg">Biswadip</a> <br /> <div class='iconppt'> <span class="lighttext11"> 601 Views</span> </div> </div> </div> </div> </div> </div> <div> <div> </div> </div> </div> <!-- --> </div> </div> <div id="footer"> <div id="footer980"> <div class="dv980"> <div class="footer_listing"> <ul> <li class="linktitle">WizIQ </li> <li><a href="http://www.wiziq.com/Virtual_Classroom.aspx">Virtual Classroom </a></li> <li><a href="http://www.wiziq.com/courses/create/">Create Courses </a></li> <li><a href="http://www.wiziq.com/tests/Create-free/">Create Tests</a></li> <li><a href="http://www.wiziq.com/content/upload-documents/">Upload Content </a></li> <li><a href="http://www.wiziq.com/resources/">Resources</a></li> <li><a href="http://www.wiziq.com/premium/">Plans and Pricing</a></li> </ul> </div> <div class="footer_listing"> <ul> <li class="linktitle">Learn</li> <li><a href="http://www.wiziq.com/courses/">Enroll in Online Courses<br /></a></li> <li><a href="http://www.wiziq.com/classes/">Learn in live, Online Classes</a></li> <li><a href="http://www.wiziq.com/content/">View Online Tutorials</a></li> <li><a href="http://www.wiziq.com/tests/">Practice Online Tests</a></li> <li><a href="http://www.wiziq.com/public/">Public Updates</a></li> </ul> </div> <div class="footer_listing"> <ul> <li class="linktitle">Help and Support</li> <li><a href="http://www.wiziq.com/help/">Help</a></li> <li><a href="http://e-teaching.wiziq.com/" target="_blank">e-Teaching Community</a></li> <li><a href="http://www.wiziq.com/forum/" target="_blank" >Support Forum</a></li> <li><a href="http://www.wiziq.com/contact/">Contact Support</a></li> <li><a href="http://www.wiziq.com/blog/" target="_blank">Blog</a></li> </ul> </div> <div class="footer_listing"> <ul> <li class="linktitle">WizIQ Outside </li> <li><a href="http://www.wiziq.com/api/">Virtual Classroom API</a></li> <li><a href="http://org.wiziq.com/moodle/">Virtual Classroom for Moodle</a></li> <li><a href="http://www.wiziq.com/vcplugin/">Blackboard Building Block</a></li> </ul> </div> <div class="footer_listing greybdr"> <ul> <li class="linktitle">For sales enquiry, call us at</li> </ul> <div class="graybg"> <div class="img phoneicon"> </div> <div class="txtdv"> <p id="Footer1_Footer_PreLogin1_pSupportPhone" style="font-size: 16px; font-weight: bold; line-height: 22px"> +1 919 647 4727</p> <p> <span class="lightxt11 fleft">or</span><span class="fleft" style="margin-left:3px;"><a rel="nofollow" class="thickbox link11" style="font-weight:normal;" href="http://www.wiziq.com/contact/Action/ContactFrame.aspx?mval=true&keepThis=true&TB_iframe=true&height=470&width=400">Have WizIQ contact me</a></span></p> </div> </div> </div> <div class="footer_listing" style="width: 90px; margin-right: 0px"> <ul> <li class="linktitle">Follow us on</li> </ul> <div class="graybg" style="padding:10px"> <div class="img"> <span class="fleft"><a href="http://www.facebook.com/wiziq" class="fbicon"></a></span><span class="marleft fleft"> <a href="http://twitter.com/wiziq" target="_blank" class="twiticon"></a></span> </div> </div> </div> </div> </div> </div> <div id="copyright"> <div class="inrdv"> <div style="width:400px; margin:0 auto"> <span class="fleft">© 2011 WizIQ Inc. All rights reserved.</span> <span><a href="http://www.wiziq.com/PrivacyPolicy.aspx" rel="nofollow">Privacy Policy</a></span> <span style="color:#ddd">|</span> <span><a href="http://www.wiziq.com/UserAgreement.aspx" rel="nofollow">Terms and conditions</a></span></div> </div> </div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-211915-3"); pageTracker._setDomainName(".wiziq.com"); pageTracker._trackPageview(); } catch(err) {}</script> <script type="text/javascript"> document.write(unescape('%3Cscript type="text/javascript" src="' + document.location.protocol + '//dnn506yrbagrg.cloudfront.net/pages/scripts/0005/7768.js"%3E%3C%2Fscript%3E'))</script> <script type="text/javascript" src="http://wqimg.com/wiziqcss/js/jquery_new8.js" language="javascript"></script> </form> <script type="text/javascript">function fbs_click(ele){u='http://www.wiziq.com/tutorial/20314-Basic-HTML';t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent('http://go.wiziq.com/6qb')+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');ele.href='#';ele.target='';return false}</script> <script language="javascript" type="text/javascript">var varContentID='IxCmcrL%252bjW%252fkVKNnU1zyiDMFWbwIPuwofDMVpZa3L9Pm0n3IgkXsu2q5JdoC%252fXRlr53MCHnC%252f0I%253d';var PostUrl='http://www.wiziq.com';</script> <script type="text/javascript">document.getElementById('divtopPlayerLink').style.display="block";</script> <script language="javascript" type="text/javascript">function toggleDiv(divToShow,imgID){var help=document.getElementById(divToShow);if(help.style.display!="block"){if(imgID)document.getElementById(imgID).setAttribute('src','http://www.wiziq.com/Images/close_minus.gif');document.getElementById(divToShow).style.display="block"}else{if(imgID)document.getElementById(imgID).setAttribute('src','http://www.wiziq.com/Images/icon_plus_presentation.gif');document.getElementById(divToShow).style.display="none"}}</script> <div id="fb-root"> </div> <script type="text/javascript"> function addtoFavourite(Qstring) { try{ var spInFavourate = document.getElementById("spInFav"); document.getElementById("spFav").style.display="none"; var spFavContent = document.getElementById("spFavContent") ; spInFavourate.style.display="inline"; spFavContent.className = "faviconright"; if(parseInt("20314") > 0) { j.ajax ( { url:'http://www.wiziq.com/Home/Action/AddtoFav.aspx', type: 'POST', data: 'Qstring=' + Qstring, error: function(){ //alert('ACTIVITY ERROR'); }, success: function(msg) { //alert("ajax call succeess"); }} ); } }catch(ex){alert(ex);} } function OpenUrl() { // location.href = 'http://s3.amazonaws.com/wcsourcepre/12299_633968898161263845.doc?AWSAccessKeyId=0WATX2TYP6SVTPNM1W82&Expires=1279020076&Signature=m9y9WOqmRS%2FgXyPuW5SmNGddRQw%3D'; // var UserUrl = 'http://www.wiziq.com/Content/DownloadContent.aspx?IxCmcrL%252bjW%252fkVKNnU1zyiDMFWbwIPuwofDMVpZa3L9Pm0n3IgkXsu2q5JdoC%252fXRlr53MCHnC%252f0I%253d'; // var scheight='50px'; // var scwidth='50px'; // var newWin=window.open(UserUrl, 'mywindow', "left=0,top=0,resize=0, height="+scheight+", width="+scwidth); } </script> <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({appId: '123813937646536', status: true, cookie: true,xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script> </body> </html>