Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. time waster...not at all. I see what you mean about using C++ now .I just never thought of using C++ from stuff like that before...probably because I cringe at the thought of using ActiveX objects on a webpage because it is limited to IE.SO can you point me to some benchmarks. I already know PERL and am learning PHP because I thought it was faster....maybe if PERL is still better I will stick with it...maybe :)I don't see much demand for PERL programmers anymore...most of what I see (in Canada anyways) is JAVA, ASP.Net, and PHP programming jobs (for web jobs).
  2. aspnetguy

    CSS and Forms

    Just like all those wonderful pseudo tags (:before, :hover) that can't be used in IE...curses on IE, may it RIP...quickly.
  3. Fortunately it is a very simple fix...add a width to the codebox class.Unfortunately none of us mods have the access to do that and Kajim is very busy and usually doesn't have time to do stuff like that.But we'll just have to wait and see if it makes it to the top of his to-do list .
  4. aspnetguy

    CSS and Forms

    but does this work in IE???
  5. Are you using ASP.Net 2.0's built-in TreeView??? Are you using a 3rd party Treeview???What do you mean you failed??? What code did you try.We need a bit more info here.
  6. aspnetguy

    ASP

    A few things I will say about php that I really like is the easy functions for mysql. I like that all the database stuff is wrapped in easy functions ...I hated that about ASP.PHP doesn't seem to suffer from the unexplained Session timeouts like ASP and ASP.Net (although ASP.Net has Forms Authentication which is better than using Session in the first place)Also, I am not sure if it is a browser issue, but it only seems to happen when I use ASP, when a database driven page is updated it sometimes does not 'refresh' and the refresh button has to be manually pushed...I have never had that problem with ASP.Net or PHP.
  7. look at these search resultshttp://w3schools.invisionzone.com/index.ph...lite=email+formYou will see all the realted problems when trying to submit a form to an email address.You should use a server side language ot process the form, build the html output, then send the email with the html output as the message body.
  8. If the site doesa not allow <script> they don't want you using javascript.You could embed it in another tag <body onload="function(){javascript code here}">
  9. That is most likel the case. There are just so many browsers that it is not practical to show browsers with very little usage.
  10. aspnetguy

    Perl?

    try herehttp://www.tek-tips.com/threadminder.cfm?pid=219
  11. One example I can think of is my job. When I was hired my company was working with another design company to have their website hosted on a CMS the other company had written...it was in PERL.I can't say whether it was the programmers coding style that made it slow or what...but it was fairly basic so there wasn't too much processing going on....but it was super slow.I was hired and developed our own CMS in ASP.Net, ours is far more complex and processes 1000's of lines of code for each page that is displayed...and it is still much faster than the old PERL CMS.
  12. Fprgive me for my obvious lack of understanding in this next question I will ask but hwo do you use C and C++ for web applications??? That is like saying I use visual Basic 6 to create my webp[ages...you can't you can create ActiveX objects will VB6 and as far as I know/knew you could only create com components for a webpage but not create a webpage with c++.As for the bench marks...I have no proof other than what is stated in one of my ASP books. It said something about PERL not being multi threaded...but ASP was...
  13. AS of now, Kajim is the ONLY one writing the tutorials for w3schools....he doesn't have time to make extra versions of the pages or create a special registration and payment system.You will just have to live witht he ads. Besides the ads bring in a lot more than $5 year....it would take a whole lot of users willing to pay for that to make it worth producing the extra content and to make up for the ad revenue....and frankly there are not enough people willing to pay for this...they will just find another free site.
  14. win[] is an array of window objects!!!Is there a specific reason you are doing it like this???
  15. You need to have a session variable (ie $_SESSION['steps']) As a step in the order process is completed increment the steps variable. That way you can check before loading each form if the step is correct. This will prevent people from skipping ahead.
  16. I'll take that as sarcasm :)No problem
  17. aspnetguy

    ASP

    First of all he was talking about ASP when he mentioned 7 chars, not ASP.Net. And you are includeing the namespace decalrtions to exagrate your point.You would declar this at the top of the pageusing System.Web.Security.FormsAuthentication; Then use the function later on HashPasswordForStoringInConfigFile(); ASP.Net does have some long names but that does make it very obvious as to what the function is used for as opposed to md5() (I hadn't heard of md% until a few weeeks ago and would not have understood what to use that for.I program in ASP.Net, ASP, and PHP and that is also the order of my preference, but I never use ASP anymore because I have no client demand for it. I use .Net at work, and occasionally get asked to do some PHP work.
  18. try this <div id="header"> <img src="images/header.jpg" alt="corsio art en power of corporate performance management" width="887" height="120" /><br/> </div> I know it may sound dumb to put a line break to get rid of white space but it should work. IE, as we all know, is a bit odd.
  19. aspnetguy

    Page Footer

    but the IE one would only have a few lines.
  20. aspnetguy

    Page Footer

    That's a good idea...I never thought of that
  21. aspnetguy

    Page Footer

    You could use a CSS hack (it wouldn't validate tho ).when defining class do this.classname{ attributeName: value; /*set it for everything*/ -attributeName: value'; /*set it for only IE*/}
  22. you could do thisMS SQL SELECT TOP 3 * FROM Clients ORDER BY ID DESC MySql SELECT * FROM Clients ORDER BY ID DESC LIMIT 3 This only works if ID is unique and increments with each new entry.
  23. You would need a server side language to get the contents of a server-side file. So you would need to use AJAX
  24. aspnetguy

    Page Footer

    I tried it and couldn't get ti to work so this is the only solution I could come up with. It uses javascript so it is not the best solution but it works in FF and IE. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head> <title>Positioning Footer at the bottom of the page</title> <style type="text/css"> html, body { height: 100%; margin: 0px; } #container { margin: auto; width: 625px; height: 100%; border: 5px solid #b8b8b8; border-width: 0px 5px 0px 5px; } #header { background: red; position: relative; } #content { background: blue; position: relative; } #footer { background: green; position: relative; bottom: 0; left: 0px; } </style></head><body> <div id="container"> <div id="header"> This is the header. </div> <div id="content"> This is the content. super long content... <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> </div> <div id="footer"> This is the footer.<br/> Second line of the footer. </div> </div> <script type="text/javascript"> var totalHeight = document.body.offsetHeight; var objFooter = document.getElementById('footer'); var objHeader = document.getElementById('header'); var objContent = document.getElementById('content'); var objContainer = document.getElementById('container'); var calc = (totalHeight - objFooter.offsetHeight - objHeader.offsetHeight); if(objContent.offsetHeight < calc) objContent.style.height = calc + 'px'; else objContainer.style.height = objHeader.offsetHeight + objFooter.offsetHeight + objContent.offsetHeight + 'px'; </script></body></html> You can remove the <br/> tags and it still owrks regardless of the size of either of the 3 sections.
×
×
  • Create New...