Log In · Register

 
Customize Time?, Any HTML to do so?
wicked_bitch
post Aug 7 2006, 07:20 PM
Post #1


The name says it all.
***

Group: Member
Posts: 53
Joined: Feb 2005
Member No: 101,923



I've never seen a code that does such a thing, but it only seems logical that there is one.

I was wondering if anyone would happen to know any HTML that changes the appearance of the time at the end of a xanga blog. Next to comments and eprops, there's always the time you submitted the blog. Is there a way to customize this?

i.e. "I complained @ 7:32" or "(Name) blogged @ 4:12"

ermm.gif
 
 
Start new topic
Replies
wicked_bitch
post Aug 7 2006, 09:00 PM
Post #2


The name says it all.
***

Group: Member
Posts: 53
Joined: Feb 2005
Member No: 101,923



Ah, I see.

QUOTE
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
if (str.match (/\d+:\d+ (am|pm)/i)) links[l].innerHTML = str.replace (/\d+:\d+ (am|pm)/i, "");


I'll have to see what I can come up with. Obviously the replacement text goes in the quotes, but as far as including the automatic time along with it is going to take some messing around with.

Okay, Thanks. happy.gif
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: