Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. here is a snippet of how to create a file in IE var fso = new ActiveXObject("Scripting.FileSystemObject");var myfile = fso.CreateTextFile("c:\\myfile.txt", true);myfile.WriteLine("Some test.");myfile.Close();
  2. you could only update files on your own PC with javascript. JavaScript is Clientside, menaing it can only affect things on your computer.You would probably have to change your file permissions to give javascript access but it is probably possible.
  3. aspnetguy

    iFrame

    you could do this with a button <input type="button" onlcick="top.location='enter your url here'" value="Click Me"/>
  4. You can make a form and do stuff with it with javascript but unless you update a database or text files then the data you enter won't go anywhere and will be losat when you close the browser.You cannot save the data without some server side code.
  5. here is some JS to check the size and resize if necessary var scr_w = screen.availWidth;var scr_h = screen.availHeight;var browseWidth, browseHeight;if (document.all){ browseWidth=document.body.clientWidth; browseHeight=document.body.clientHeight;}else{ browseWidth=window.outerWidth; browseHeight=window.outerHeight;}if (scr_w != browseWidth|| scr_h != browseHeight) { window.resizeTo(scr_w, scr_h); window.moveTo(0, 0);}
  6. yes I would love to see an off-topic forum.Anyways I believe COD2 will be the last I buy in the series since Activision announced they are only making COD3 for consoles. Guess they don't like hearing complaints from customers and demands for patches (took along time to get one for COD2).I can't wait to get Red Orchestra, looks awesome.
  7. it may be denying access because javascript isn't allowed to access frames that are not of the same domain.
  8. aspnetguy

    iFrame

    I tested it and the onclick event doesn't seem to work on an iframe. Sorry
  9. are any of the frames in the frameset from other domains?
  10. in order to 'update' the scorebaord you have to store the data somewhere.
  11. I have completed the whole series but play mostly online.
  12. aspnetguy

    iFrame

    do both links do that?try this <a href="http://www.google.com" onclick="top.location = this.href">standards click</a>
  13. Do you play Call of Duty 2???
  14. does it need to update a database? Javascript can't do that on its own. You will need some server side scripting for that
  15. I looked around and apparently IPB has a change display name feature under My Controls but it appears to be turned off here. Perhaps there was a cliche that allowed blue ot change his name or something.
  16. aspnetguy

    iFrame

    main.html <html><head> <title>...</title> <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /></head><body> This is the main page <br/> <iframe src="framedpage.html" style="width:100%;height:400px"></iframe></body></html> framedpage.html <html><head> <title>...</title> <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /></head><body> This is the framed page page <br/> <a href="http://www.google.com" target="_parent">click</a> <br/> <a href="http://www.google.com" onclick="parent.location = this.href">standards click</a></body></html> Both links on framedpage.html will work but only the second one will validate to strict xhtml because in xhtml the target attribute is depreciated.
  17. I feel better knowing I don't live in Norway (I hope I remembered right, you do live in Norway, right?)
  18. yes...how did you do that?
  19. The include function is used to include other php pages form the same server.use str_replace to parse the $URL and replace what you need.
  20. if you copy the code and paste and rename all the variables it will work, not the most efficient way but hte quickest and easiest.
  21. try reading hte ASP tutorials at www.w3schools.com
  22. aspnetguy

    i need quick help

    you must have IIS setup (XP Pro not included with XP Home) you also need a Database.MySql is free you can find the link in my sig.
  23. read thishttp://www.4guysfromrolla.com/webtech/012000-1.shtml
  24. aspnetguy

    sql

    I answered your question in the .Net forum. Please don't double post!
  25. how about posting your query so we can see it.
×
×
  • Create New...