Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XHTML time based content(and text emphasis)

Status
Not open for further replies.

SycChris

IS-IT--Management
May 3, 2007
2
I need to have an XHTML document display certain information from only 4pm-5pm (all same time zone and what not) daily. I'm not sure how to implement it because it is being displayed on an IP phone and it has to be written purely in XHTML (no javascript). If it is possible to just have a timer(not based on time of day) but every set amount of time display certain info, and otherwise just display nothing, that might work as well.

As a side request. I need to emphasize text (blinking would be the best) in this XHTML document, and apparently the IP phone doesn't recognize the blink tag, any suggestions?
 
if you need time-sensitive information displayed on a user's screen, without using javascript, then you will need some sort of server-side coding: asp, php, coldfusion, perl, etc.



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Ditto on time sense, ask that part in JS or other board.

As for blinking text. You say the devise does not understand:

Code:
This <blink>word</blink> is Blinking

I do not believe that <blink> is even a part of the standard?

Although it is part of CSS2
blink Defines a blinking text (does not work in IE and Opera)


-Pete
 
That is correct, the <blink> tag is not recognized. I imagine that the phone only recognizes a reduced subset of XHTML tags, I wanted to know of other suggestions to emphasize (beyond just bold), or if there was possibly another tag or combination of tags that would make the text blink.

On the topic of the time based info; their is absolutly no way to use pure XHTML to change content based on time? I imagined this but was not sure.

Thank you both for your comments!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top