Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. these 2 are greathttp://www.kevinroth.com/rtehttp://www.fckeditor.com
  2. You will need to create a sort function to accept the array to be sorted and whether it is asc or desc. Sub DoSort(arr, order) If order = "asc" Then 'sort asc Else 'sort desc End If DoSort = arrEnd Sub Then you would call the function like this dim sortedArray = DoSort(arrayToSort, Request.QueryString("order")) assuming the querystring you are passing is called order and you use the values asc or desc.
  3. var ip = '<!--#echo var="REMOTE_ADDR"-->'; alert("Your IP address is "+ip);</script> you'll need to use a .shtml extension instead of the regular .html
  4. use this name = trim(name);//.....else if(name.length < 1){ document.write("Hello " + name + "! How are you today?")}//function to trim spaces from the beginnning//and end of a stringfunction trim(str) { str.replace(/^\s*/, '').replace(/\s*$/, ''); return str;}
  5. you can access the meta tags with JS like this var meta = document.getElementsByTagName('meta'); Or you could just control the refreshing with a JS timer in the first place. That would make it easy to change the refresh times.
  6. wow I just happen to have 7 pencils sitting on my desk with 3 erasers....NOT!my house has 14 rooms including the basement....if you say it I will smack you. :)Other numbers are just as common! This is silly
  7. it is javascript that creates the box on mouseover View->Page SourceIf they have the JS in extrenal files you will be able to see the path in the <script src="">...just type the path into the browser and you will be able to download the JS.
  8. if you are using ASP.Net you can load the dropdowns on the first load and have then not reload with each refresh by placing them in this if statement. if(!IsPostBack){ //load dropdowns}
  9. aspnetguy

    webservers

    Apache is good.Are you going to use it to host live websites or just for home use?If you are going to use it just in your home then you can use PWS (builtin win98) or IIS5(winXP) but if you need live access then you will have ot go with apache becuase unless you buy winserver then you are limited to only 10 cuncurrent users with winxp and win98, plus win98 is not secure enought o use as a live webserverYou could always install Linux to run as a webserver...Ubuntu 6 looks good.
  10. This should work fine. <%@ Page language="C#" %><html><head><link rel="stylesheet" type="text/css" href="style.css"/><script src="scripts.js"></script></head><body><form runat="server"> <div class="container"> <div class="left"> <img src="./img/sentrylogo.jpg"/> <script type="text/javascript"> showGreeting(); </script> <br/><br/> <img src="./img/sentrylogo.jpg"/> <img src="./img/sentrylogo.jpg"/> <img src="./img/sentrylogo.jpg"/> <img src="./img/sentrylogo.jpg"/> <img src="./img/sentrylogo.jpg"/> <img src="./img/sentrylogo.jpg"/> <input type="text" id="clock" value="Teste" size="16" maxlength="16" readonly style="color: white; background-color: black; text-align: center;"> <script type="text/javascript"> showTime(); document.write("<br>"); showDate(); </script> </div> <div class="right"> <h2 class="header">Sentry Customer Interface </h2> <div id="menu"> <dl> <dt onmouseover="java script:show();"><a href="" title="Return to home">Home</a></dt> </dl> <dl> <dt id="menuItem1" onmouseover="java script:show('smenu1','menuItem1'); onmouseout="java script:show('');">Availability</dt> <dd id="smenu1" onmouseover="java script:show('smenu1','menuItem1');" onmouseout="java script:show('');"> <ul> <li><a href="#">sub-menu 1.1</a></li> <li><a href="#">sub-menu 1.2</a></li> <li><a href="#">sub-menu 1.3</a></li> <li><a href="#">sub-menu 1.4</a></li> <li><a href="#">sub-menu 1.5</a></li> <li><a href="#">sub-menu 1.6</a></li> </ul> </dd> </dl> <dl> <dt id="menuItem2" onmouseover="java script:show('smenu2','menuItem2'); onmouseout="java script:show('');">Subscription</dt> <dd id="smenu2" onmouseover="java script:show('smenu2','menuItem2');" onmouseout="java script:show('');"> <ul> <li><a href="#">sub-menu 2.1</a></li> <li><a href="#">sub-menu 2.2</a></li> <li><a href="#">sub-menu 2.3</a></li> </ul> </dd> </dl> <dl> <dt id="menuItem3" onmouseover="java script:show('smenu3','menuItem3');" onmouseout="java script:show('');">Reports</dt> <dd id="smenu3" onmouseover="java script:show('smenu3','menuItem3');" onmouseout="java script:show('');"> <ul> <li><a href="#">sub-menu 3.1</a></li> <li><a href="#">sub-menu 3.2</a></li> <li><a href="#">sub-menu 3.3</a></li> <li><a href="#">sub-menu 3.4</a></li> <li><a href="#">sub-menu 3.5</a></li> </ul> </dd> </dl> <dl> <dt id="menuItem4" onmouseover="java script:show('smenu4','menuItem4');" onmouseout="java script:show('');">Solutions</dt> <dd id="smenu4" onmouseover="java script:show('smenu4','menuItem4');" onmouseout="java script:show('');"> <ul> <li><a href="#">sub-menu 4.1</a></li> <li><a href="#">sub-menu 4.2</a></li> <li><a href="#">sub-menu 4.3</a></li> </ul> </dd> </dl> <dl> <dt id="menuItem5" onmouseover="java script:show('smenu5','menuItem5');" onmouseout="java script:show('');">SLA</dt> <dd id="smenu5" onmouseover="java script:show('smenu5','menuItem5');" onmouseout="java script:show('');"> <ul> <li><a href="#">sub-menu 5.1</a></li> <li><a href="#">sub-menu 5.2</a></li> <li><a href="#">sub-menu 5.3</a></li> </ul> </dd> </dl> <dl> <dt id="menuItem6" onmouseover="java script:show('smenu6','menuItem6');" onmouseout="java script:show('');">Contacts</dt> <dd id="smenu6" onmouseover="java script:show('smenu6','menuItem6');" onmouseout="java script:show('');"> <ul> <li><a href="#">sub-menu 6.1</a></li> <li><a href="#">sub-menu 6.2</a></li> <li><a href="#">sub-menu 6.3</a></li> </ul> </dd> </dl> </div> <!- MENU /> <div class="content"> <img src="./img/sentrylogo.jpg"/><br/> <img src="./img/sentrylogo.jpg"/><br/> </div> <div class="footer"> Footer: site path </div> </div> <!- Right column /> </div> <!- Container /> </form></body></html> in the first line you can use C# or VB depending on which you chose to code with.
  11. Just to sum up what has been said...simply...don't bother.Because every method you can try and use is client side code that means the user can read the code and figure out how to get by it or just simply disable javascript.Not only is it annoying it most often "challenges" the users you really need to protect from to push ahrder and get past your code.I know there are times you really want to prevent people from taking your work but there is no way to 100% secure it and it ends up annoying your users who just want to easily navigate your site.
  12. They do...Verdana and Arial are sans-serif and Times and Georgia are serif..for example.
  13. just to point out you need to put it between the <head></head> not <header></header> and that is javascript not activeX.ActiveX is (usually) VB6 code.EDIT: Fair enough...but why did you PM me just to tell me that (cpugeek).
  14. Consider this. W3schools is a great tutorial site. However, do employers recognize the HTML certificate? What job can you get if you are only certified in HTML?A great portfolio goes a lot further with an employer than a piece of paper saying you can write HTML. Let's face it lots of people can write HTML but that doesn't mean they can make good websites.If you really want some credentials then look to a local trade college or look for some night or online classes with a recognized institution. If you are going to spend your money, get the most you can for it.To build up a portoflio you can offer free websites to friends, family, and local businesses. That will give you good references when you apply for a job and it will give you experience and something to put in your portfolio.
  15. lol good to hear...you really had me wondering what was going on
  16. use this ALTER TABLE tablename RENAME COLUMN currentColumnName TO newColumnName This will change hte name of the column without effecting contraints or type
  17. Have you tried to see if adding a font-size witht eh style attribute allows you to change the size?I cannot reproduce this error. Try flushing your cache. Doe sit behave like this in IE and Opera?Can you post your code for the full page.
  18. aspnetguy

    ASP hosting.

    so they will give free hosting to anyone that you refer??? Can oyu refer me?
  19. aspnetguy

    veiw problem

    you have no page declartion for starters...Does you host support ASP.Net...it sounds like they don't.Check the page source in your browser and post it. I'll be able to tell from that.
  20. Personally I think there are too many stick topics already.If you would like to put a link in your sig go ahead. I do have a resource thread on my forum that I could post in my sig if anybody wants it.
  21. Haha I find this question amusing becasue of my recent experince. I downloaded Ubuntu (Linux for Human Beings...hmmm) Desktop and Server editions. I installed Server edition on my test server and booted up to....command line....what...wait a minute...how is this easier. Fedora Core has a nice GUI.Anyways I am hoping the desktop edition will have an easy GUI and still be sufficient to run a server.
  22. No...that is a hardware certification :)Again, I did not say COBOL was bad or useless I made a statement on why "I" dismiss COBOL because of its age along with OTHER languages that I have chosen to disgard in favor of newer languages.Once again this is only my opinion and I am not trying to convince anyone else.
  23. This is unacceptable content. You may continue discussing this topic but the links to this blog must be removed. If the poster does not remove them I will and close this topic.Please read the guidelines before posting thats what they are there for...so we can avoid situations like this.Thanks for cooperating.
×
×
  • Create New...