Jump to content

scott100

Members
  • Posts

    1,819
  • Joined

  • Last visited

Everything posted by scott100

  1. To hide the toolbars requires window.open()
  2. No not in a alert box, just plain text is allowed.What about a window.open() with no address bar etc?
  3. Unless you let them login to the site and update the html then your going to need a database and manipulate it through a server language.
  4. Yes breaks are possible, use \n<head><script>alert("hello\nreportingsjr")</script></head>
  5. Halo for me 2 was a real shocker though (i enjoyed max payne too back in the day )
  6. Boen was faster but here's an example i put together <html><head><style type="text/css">body{ background-image: url('http://www.pha.jhu.edu/~bingz/background.gif');}div{ background-image: url('http://www.vam.ac.uk/vastatic/microsites/1312_artsandcrafts/design_a_tile/images/index_r2_c1.gif');background-repeat: repeat-x;height:150px;width:100%;}</style></head><body><div>.</div></body></html>
  7. Is that blue What happened to your name? how did you change it
  8. This is how it should look.a:link applies to all anchor tagsa.one:hover applies to anchors with class one but also inherits a:link style <html><head><style type="text/css">a:link {color: #ff0000; text-decoration: none}a:visited {color: #0000ff; text-decoration: none}a:hover {text-decoration: underline}a.one:hover {background: #66ff66}a.two:hover {font-size: 150%}</style></head><body><a class="one" href="#">This link changes bgcolor</a><br /><a class="two" href="#">This link changes size</a>
  9. yesa.classname:hover (classname = then name of the class)See various examples here: http://www.w3schools.com/css/tryit.asp?filename=trycss_link2
  10. Any type of form element should work.http://www.w3schools.com/js/tryit.asp?file..._option_settext
  11. create the textbox then access it contents and put it in the dropdownval = document.getElementById('txtbox').value;document.getElementById('cars').options[0].text=val;txtbox = the id of the textbox
  12. Hit the nail on the head there boen People help out when they can, usally through the week while at work. Weekends are for going out/having fun so not as many helpers then
  13. Yes your code is the problem here You cannot use double/single quotes within each other without escaping them or used in the correct nesting order if you know what i meanalert("My name is "Scott"") this is incorrect - double within doublealert("My name is \"Scott\"") this is correct - backslash means literally print the double quotealert("My name is 'Scott'")this is correct - single used within doublealert('My name is "Scott"')this is correct - double used within singlealert('You are using Internet Explorer! <br />For the best optimization(preformance) of our website please use <a href="http://mozilla.org">Firefox</a> or Opera, both of which you can get free!');I tend to start my alert with single quotes then use double inside themIt can get trickier if the quotes go a step further, then you need to use the backslashalert('My name is "Scott\'y"');
  14. I have no idea what that means In the frameset you specify a *That means use the remaining browser space<frameset cols="120,*">Example: http://www.w3schools.com/html/tryit.asp?fi...rame_navigation
  15. You could use <noframes> to tell the user that their browser doesn't support frames, that's what it's for! Then give them a sitemap or something
  16. oh ok I didn't look like that too me
  17. List of editors: http://w3schools.invisionzone.com/index.php?showtopic=760
  18. scott100

    showing online members

    I'm guessing that when you create an account for the forum there is a "logged-in" field stored in the database, when you log in it becomes true, when you log out it becomes false.Then when you view the page the code checks for everyone whose status is true and prints their name to the page.
  19. Yes 1 keep the current background 2 create a div with 100% width, set the tile img as it's backround.Easy, no?
  20. That's correct, Opera can identify itself as Mozilla or Internet Explorer.This can trick some scripts but this one works fine, if you find the browser through the userAgent then it correctly identifys Opera as itself when disguised as another browser (i use opera and tried it, it works fine)<head><script>var agt=navigator.userAgent.toLowerCase();if (agt.indexOf("opera") != -1){alert("using Opera")}</script></head>
  21. We are here to help and give advice, not complete homework/coursework for anyone.Go through the tutorials and take the time to understand how javascript works: http://www.w3schools.com/js/default.aspAttempt each question first, then when you get stuck come ask for help and post your code.
  22. You forgot to add the + sign after the line break.alert("Your browser will not execute the slideshow script" + '\n' + "It must be viewed in either Internet Explorer or Firefox")
  23. It works fine in Firefox for me Does this work for you? http://www.w3schools.com/css/tryit.asp?fil...ist-style-image
  24. Do you mean an anchor tag?<a href="http://www.mysitename.com">put text here</a>Example link to google:<a href="http://www.google.com">visit google</a>visit google
  25. If you search the forum you will see that it's been asked many times before.<body oncontextmenu="return false">None of the solutions offered work in Opera
×
×
  • Create New...