This article will show you how you perform multiple title
for a single page. In this article I have shown how you can create blink title
or multiple browser title using jquery in asp.net mvc, asp.net, html.
Some of my previous article are as follows:
Social
Share Buttons of Facebook, Twitter, Google Plus and Pinterest Using jQuery in
Asp.Net MVC, Bootstrap
3 and jQuery Form Validation Plugin in Asp.Net MVC, MultiSelect
DropdownList Using jQuery in Asp.Net MVC and C#.Net, Three
Level Menus With Disable Menu Item Using jQuery In Asp.Net, jQuery
Dialog Box Open with Blind and Close With Explode Effect in Asp.Net.
So for this article first we will create a new asp.net or mvc application and add the below jQuery library reference into the page.
So for this article first we will create a new asp.net or mvc application and add the below jQuery library reference into the page.
<script src="../../Content/blinking-title.js" type="text/javascript"></script>
|
Here is the jQuery code.
<script type="text/javascript">
window.onload = function
() { blinkTitle('First title 1', 'Second title 2', 2000); }
</script>
|
Now I have shown how to start and stop the delay of blink
title.
@{
ViewBag.Title = "Blink
Title or Multiple Browser Title Using jQuery in Asp.Net MVC";
}
<script src="../../Content/blinking-title.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function
() { blinkTitle('First title 1', 'Second title 2', 2000); }
</script>
<h3>Blinking Title or Multiple
Browser Title </h3><br />
<input onclick
= "blinkTitleStop()"
type="button"
value="Stop
Blink"></input>
<input onclick
= "blinkTitle('First
title 1', 'Second title 2',1000)" type="button" value="1 second delay"></input>
|
Now we have done run the application to check the output.
DOWNLOAD
0 comments:
Please let me know your view