ഒരു പുതിയ വിൻഡോയിലോ പുതിയ ടാബിലോ ഒരു ലിങ്ക് എങ്ങനെ തുറക്കാം.
ഒരു പുതിയ വിൻഡോ / ടാബിൽ ഒരു ലിങ്ക് തുറക്കുന്നതിന് , <a> ടാഗിനുള്ളിൽ target="_blank" ചേർക്കുക:
<a href="../html-link.htm" target="_blank">Open page in new window</a>
കോഡ് ഈ ലിങ്ക് സൃഷ്ടിക്കും:
ലിങ്ക് പുതിയ വിൻഡോയിലോ പുതിയ ടാബിലോ തുറക്കണോ എന്ന് നിങ്ങൾക്ക് സജ്ജീകരിക്കാൻ കഴിയില്ല.ഇത് ബ്രൗസറിന്റെ ക്രമീകരണങ്ങളെ ആശ്രയിച്ചിരിക്കുന്നു.
ഒരു പുതിയ വിൻഡോയിൽ ഒരു ലിങ്ക് തുറക്കുന്നതിന്, <a> ടാഗിനുള്ളിൽ Javascript കമാൻഡ് onclick="window.open('text-link.htm', 'name','width=600,height=400') ചേർക്കുക :
<a href="../html-link.htm" target="popup" onclick="window.open('../html-link.htm','name','width=600,height=400')">Open page in new window</a>
കോഡ് ഈ ലിങ്ക് സൃഷ്ടിക്കും:
Advertising