Skip to content
View in the app

A better way to browse. Learn more.

Thailand News and Discussion Forum | ASEANNOW

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need Help With Getting A Html Tag To Work In Internet Explorer

Featured Replies

I got this working with firefox but it won't work with internet explorer, i'm still quite a newbie with html learning. any ideas on how to get this javascript working on internet explorer

<tr>

<td width="21%"><strong><big><script type="text/javascript">

var txt="Lunch Specials";

document.write("<p> " + txt.blink() + " </p>");

</script></big></strong></td>

</tr>

Blinking text is kinda obnoxious - but if you gotta have it, here is a cross-browser solution:

Put this code in the head of your page:

   <script>
function doBlink() {
  // Blink, Blink, Blink...
  var blink = document.all.tags("BLINK")
  for (var i=0; i < blink.length; i++)
	blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 
}

function startBlink() {
  // Make sure it is IE
  if (document.all)
	setInterval("doBlink()",1000)
}
window.onload = startBlink;
</SCRIPT>

Put this code in the body where you want the blinking text to appear.

   <BLINK SPEED=1000>
  Lunch Specials
</BLINK>

Blink speed - 1000 is one second. you can adjust this to your desire - 2000 would be 2 seconds, 500 would be a half second. Be sure to change both instances in the script and the body tag.

Choke dee.

I consult w3schools when I try to do something in html and found this about blinking text:

www.w3schools.com/jsref/jsref_blink.asp

However, I understand that Microsoft Internet Explorer has been designed not to comply with the international standard and therefore a workaround is needed for certain things, and I guess this is what the code posted by bino is about.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.