Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Has anybody ever tried to add blinking text?
Old 07-17-2006, 02:20 PM   #1
polarisky
Calendar User
 
polarisky is offline
Join Date: Jul 2006
Posts: 8
Default Has anybody ever tried to add blinking text?

A search of the entire forum for the word "blinking" finds no matches, so I can guess this is a very undesirable feature, but a client is looking for just that: the ability to highlight items in the calendar which may have changed since original posting with blinking text.

I have experimented with the following script which works quite well with all browsers:

<SCRIPT>
// Before you reuse this script you may want to have your head examined
//
// Copyright 1999 InsideDHTML.com, LLC.

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 IE4
if (document.all)
setInterval("doBlink()",1000)
}
window.onload = startBlink;
</SCRIPT>


This script uses the standard "<blink></blink>" tags, and is fine for HTML and ASP pages, but I'm very green on PHP and have been unable to find the right place to insert it for function in the calendar, if it is even possible.

Any thoughts, or should I just tell the client forget it?
 

Old 07-17-2006, 04:14 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Can't you use HTML in the description and wrap the changes with the blink tags?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 07-18-2006, 01:17 AM   #3
polarisky
Calendar User
 
polarisky is offline
Join Date: Jul 2006
Posts: 8
Default

NG, tried that first. I have "HTML in Description" enabled but still no blinking. I/E doesn't support the blink tag directly, hence the script.
 

Old 07-18-2006, 08:08 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

There shouldn't be any reason why this wouldn't work. Can you post a link to your page where you're wanting to use this?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 07-18-2006, 08:15 AM   #5
polarisky
Calendar User
 
polarisky is offline
Join Date: Jul 2006
Posts: 8
Default

My son's scout troop: www.t221.com, select "Calendar of Events". You will see an entry for July 18 which I was experimenting with.
 

Old 07-18-2006, 08:22 AM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

The <SCRIPT> code should be in the header of your page, NOT in the description of the event.


Also, if I view that page in FireFox, it is completely broken. (Nothing to do with the calendar.)
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Event Date Text Color patrickb General 2 05-29-2006 06:22 PM
Event Manager and Text on Calendar Mode together? palatinate11 General 3 03-22-2006 03:53 PM
Question Concerning Details Box on the Add Events Page sanswarden Customizations (Themes / Templates) 4 12-23-2005 03:32 PM
Can't add events anymore ;( sagarsanghani General Support 3 06-21-2005 01:45 PM



All times are GMT -4. The time now is 02:24 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |