Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

1,915 profile views

CNT's Achievements


Member (2/7)



  1. CNT

    Shifting elements

    Maybe you need to use FRAME instead?
  2. CNT

    side nav sliding

    Not a "drop DOWN menu". More like "drop SIDE menu". Also notice there are TWO submenus.
  3. CNT

    side nav sliding

    https://www.w3schools.com/css/css_navbar.asp On the fifth Example, I like to add more menus. I tried few things and couldn't get it through yet. See below: div id="sidebar"> <ul> <li><a href="index.php">Home</a></li> <li><a href="#">Something</a> <ul> <li><a href="#">Something More</a> <ul> <li><a href="#">More of this #1</a></li> <li><a href="#">More of this #2</a></li> <li><a href="#">More of that #3</a></li> </ul> </li> <li><a href="#">Something Even More</a> <ul> <li><a href="#">More of this #4</a></li> <li><a href="#">More of this #5</a></li> <li><a href="#">More of that #6</a></li> </ul> </li> </ul> </li> <li> <a href="#">Contact me</a> </li> </ul> </div> As of this, there's only three main menu: Home, Something, Contact me. Then upon hover the Something, two more submenu pop out on the side of Something, just Something More and Something Even More. Then upon mouse hover over the two submenu, another 3 more submenu pops out on the side of the 2nd submenu...
  4. CNT


    So, I need to set a date in the code, like: January 1, 2000 is Saturday.Febuary 29, 2000 is the first leap year. Then I do the math. Would that make the webpage a drag? It would be adding up all those days to come up with the present date. I just thought there's a settings buildin the programming lauguages or computer/server that can be easily called. Time zone or daylight saving time shouldn't be any concern? If there's a code to pull the date, it will also be possible that the server having the wrong date/time (from virus or hacking)? I am just asking how do most people do calendar for a webpage, isn't there a common or "standard" way of doing this? www.time.gov ?
  5. CNT


    My guess is to use tables to do the month calendar boxes. Do I need to do a day counts for every month and then code to make tables according to the number of days in the month, plus need to figure out the number of weeks. Usually two months of a year has 5 weeks, so those months would have 5 rows. Is there a way to do the programming? I wish there was a website that guide how to create the calendar. On top of that, I need to somehow link the calendar to a MySQL database. The DB would have the events (some one-day, some few days together, and some weeks). Chuck
  6. CNT


    http://members.toast...nt/calendar.jpg This (link above) is my plan and layout for my website calendar (one whole page, 1280x1024?). There may be some day(s) with events, so square(s) would be colored. Suppose two or more events at same day, different color. Something like that. Then if someone wants to see the schedule for the day, a chick (or double-click. or mouse-hover) will list the day's schedule. If I did it in PHP, the browser would create long history records. If I did it in Javascript, the target people that would go to my website would have their Javascript turn off (disabled) in their browser. How about HTML calendar? How/where to pull the date/time (from server or hardcode the date?). Any suggestions or how do I do about this? I can start with year 2010 and forward. What I am really asking is how should this calendar be programmed. I just don't want to code it one way and then doesn't work with MySQL or something. I did a lot of Internet search and couldn't find much help (and somewhat more confused). I don't want to buy a calendar, I want to learn it! If you know of a link that could help me to start with the calendar (format as in above link), let me know. Thank you. Chuck
  7. So... upon install Win7 Pro (64 bit), it will default IIS7 to run as a webserver? Correct me... the default IIS7 will be in fully functional? I am asking because some time ago, I had to adjust the IIS7 to make something work (I think it was the SQL Server related) and I forgot what was that procedure. Yes, I like to use IIS7 (since it's already buildin Win7). So, with IIS, I will have to download the: http://windows.php.net/download/ (and choose the "VC9 x86 Non Thread Safe")and follow this:http://www.php.net/manual/en/install.windows.iis7.phpThis is where I spend a lot of time trying to understand and modifiy those steps.Correct me... I stop right after Example #3. Now, do I still have to install MySQL (http://dev.mysql.com/downloads/installer/) ? Correct me... by installing MySQL on my laptop would enable me to run my web pages from my laptop (test). If and after I install MySQL on my laptop, would I be able to transfer my DB table(s) to the hosting server? Lastly, to read my results, I open MySQL from my laptop and using MySQL to login to the web host and read/download the data? Thank you. Chuck
  8. HTTP Error 404.3 - Not FoundThe page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. Detailed Error InformationModuleStaticFileModule NotificationExecuteRequestHandlerHandlerStaticFile Error Code0x80070032 Requested URLhttp://localhost:80/what.phpPhysical PathC:\inetpub\wwwroot\what.php Logon MethodAnonymousLogon UserAnonymous I just tried the what.php to read some more (you mention to locate the mysql diretive), now I am getting this error message. I can go on the internet though. You know what... why don't I clean install my laptop with Win7 Pro. Then install only what's needed (meaning won't be installing VS2008 nor SQL Server 2005). I think the problem is I am installing a mix of servers (EasyPHP, SQL Server, WAMP, etc... and the IIS7 is still running). So, for a clean install, what do I install (and in the order thereof)? Win7 ProALL Windows Updates (including latest IE broswer)MS Office 2007 (and more Windows Updates too)a PDF readerProgrammer's Notepadthen what... ? adjust IIS7? Install what? Thank you. Chuck
  9. what.html <?phpphpinfo();?> I did this: http://localhost/what.html and it comes up total blank page (no error or statement). I am now wondering if I screwed it up a little?
  10. I am confused? I was just checking out the host's MySQL (called phpMyAdmin). It appears that the way it works is to create the DB on their website, instead of I create one at home with MySQL installed? Or is that how this one particular website (and others allow one to upload home-created DB to a host?)? Did I wasted my time with download/install MySQL on my laptop? I am just trying to understand... Chuck ADDED : As I was creating the DB (on their hosting site), the "Collation" is "latin1_swedish_ci" by default. There is a dropdown list of that, what do I pick for standard American English? Or it does not matter (what is it anyway?)?
  11. I download the MySQL, installed everything (including SQL Server 5.5). I created a DB (self-create unique ID, name, address, etc). I like to start the webpage utilize the DB. I started with Workbench 5.2CE (Survey.mwb). What's next? I did search and appears that most use MySQL to DISPLAY data from DB to the Webpage. I want to COLLECT data from Webpage TO DB. So, I like to create a Webpage (PHP, right?) and ask for name, address, favorite color, etc. Then have a submit button, then maybe a "confirmation" page so the people see what they did and what will be submitted, then upon submit, it will APPEND to the DB (on the host server, which I don't know how that works either... yet). This is for a survey, not to order anything (no shopping cart). Chuck
  • Create New...