HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 19th, 2004, 06:45 PM
TheLeviathan TheLeviathan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 3 TheLeviathan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Novice in need of basic help

I'm currently working with Frontpage for the first time extensively and I've managed to create an ASP form through Frontpage that I have connected to a database. Right now I'm working on two elements that require HTML coding or a kind of VB I'm unfamiliar with. The first involves the basic ActiveX calendar - I just need it to be invisible until someone clicks a box, then appear, click for a value, and than that value is placed in the box. In Access the VB looks like this:

Sub Calendar_Click()

Calender.value = dateregistered.value

DateRegistered.setfocus

Calendar.visible = false

End sub



Sub DateRegistered_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

Calendar.visible = True

Calendar.Setfocus

If Not IsNull(DateRegistered) Then

Calendar.Value = DateRegistered.Value

Else

Calender.Value = Date

End If

How would I do this in HTML? If anyone has the patience I have a question about coding the submit button as well. Thanks!

Reply With Quote
  #2  
Old April 25th, 2004, 12:42 AM
nschafer's Avatar
nschafer nschafer is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: Florida
Posts: 584 nschafer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 46 m 5 sec
Reputation Power: 5
I have not tried using the Active X calendar, so if you are married to that solution, please ignore this message. There are many freely available javascript / asp pop-up calendars available that will provide the functionality you are describing without having to use ActiveX controls.


If you do a google search for javascript calendar you will find several many at no charge.
__________________
Neal Schafer
The early worm gets eaten.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Novice in need of basic help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT