Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2005, 03:33 AM   PM User | #1
qwertyuiop
Regular Coder

 
Join Date: Jan 2004
Location: USA
Posts: 364
Thanks: 12
Thanked 6 Times in 6 Posts
qwertyuiop is an unknown quantity at this point
starting 1st js - date tooltips

Hello,
I'm starting to write my 1st USEFUL javascript script. I kinda know what it's gonna look like and what it's gonna involve, but i'm not sure how to do it and how to start.

Here's what I want my script to do:
1) Search the document for a date, such as 1-10-05
2) Add a tooltip (title="") to the date, so when you mouseover 1-10-05, you see January 10, 2005

Some features i want to include:
1) Determine what type of date or an option to adjust date type
ex: 1-10-05 could mean october 1, 2005. so in the script, u can define the date type, like dd-mm-yy or yyyy-mm-dd etc...
2) Tooltip display options. January, or Jan etc....

I kinda know what I'm gonna need in the script. I just dont know how to start.
qwertyuiop is offline   Reply With Quote
Old 01-21-2005, 04:59 AM   PM User | #2
codegoboom
Regular Coder

 
Join Date: Aug 2004
Location: codegoboom@yahoo.com
Posts: 999
Thanks: 0
Thanked 0 Times in 0 Posts
codegoboom is an unknown quantity at this point
The String, Number, and Array objects, an argument, and an if else statement, methinks... maybe the Date object too.
__________________
*this message will self destruct in n-seconds*

Last edited by codegoboom; 01-21-2005 at 05:03 AM.. Reason: yeah, that's it
codegoboom is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 11:46 AM.


Advertisement
Log in to turn off these ads.