Hi,

I am using masterPage wherein i want to blink the text . But i also want to put one logo beside that text. Here i only want to blink the text. I have combined both the logo and text using paint and given the path in masterpage. Please let anyone tell how to blink only the text?

thanks........

Recommended Answers

Use javascript, and put it into a span element:

<script type="text/javascript">
<!--//
function blinkme()
{
  var elm = document.getElementById("blinker");

  if (elm.value.length > 0)
  {
    elm.value = "";
  }
  else
  {
    elm.value = "Blink!! Blink!!";
  }

  setTimout("blinkme()", 2000);
}
-->
</script>

<body onLoad="blinkme()">
  <div>
    <!--  img logo  --> …
Jump to Post

All 2 Replies

Use javascript, and put it into a span element:

<script type="text/javascript">
<!--//
function blinkme()
{
  var elm = document.getElementById("blinker");

  if (elm.value.length > 0)
  {
    elm.value = "";
  }
  else
  {
    elm.value = "Blink!! Blink!!";
  }

  setTimout("blinkme()", 2000);
}
-->
</script>

<body onLoad="blinkme()">
  <div>
    <!--  img logo  -->
    <span id="blinker"></span>
  </div>
</body>

Hi,

Thanks a lot its working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.