Jump to content

niche

Members
  • Posts

    3,671
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by niche

  1. Why do you want to use an id? <a> will take you anywhere you want to go in or outside a page without an id.
  2. That's one of our most frequently asked questions. We simply follow the classic underdog strategy. We hit 'em where they're not. That's how something small beats something huge. Incumbency has never been worth less. All you have to do is find a big question and answer it. All of a sudden you're a potential giant killer. We think we've found a couple dozen big questions that we can answer. A few of those big questions have to do with what's the true price of something, how much does that info cost, and what's it worth? I've been a consultant for thirty years and I can tell you, that until recently, nobody really knew those answers on a neighborhood basis. Turns out that the true price of something isn't a single price, but a range of prices that are situation specific. That info can be determined inexpensively, it apparently is worth a lot, and it's toxic to competition when used with focus. That should give you a sense of how we're pulling it off. It's interesting that giant extinctions are way more common than you might think. of the original Fortune 100 companies in the early 1900s, only two of those companies made it to this century and one of those giants is dying right now (Kodak). That will leave a sole survivor from that original list. That makes the Facebooks, Wal-marts, Targets, and Apples of the world way more vulnerable than you might've thought.
  3. More proof, that in the absence of settled law, the definition of ethical behavior has largely to do with who thought of it first.
  4. I don't think 3 or 4 secs for great content is a deal killer.
  5. I've been wondering about that too given the inability to do in-site searches. I always though we were being encouraged to use google instead to search w3schools, but I found the google route wanting. Though, it's obvious stackoverflow has some kind of edge. EDIT: Then we need to do something about our popularity. I've been telling as many people as possible about w3shools as often as possible for years. I usually give my name and a way to contact me also.
  6. Great question. Ask for at relevant references (incredibly important that you get what fits else you'll get what's forced), avoid contracts, and get the price as low as possible. Having said that, I'm still not sure about how to deal with future bandwidth costs. I'm real open to suggestions in that area.
  7. Very cool birbal. Way better than my suggestion. One more for the scrapbook. Thanks.
  8. Per the tutorial and Ingolme's post, this is how you do that: if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } If you're doing that, no problem.
  9. In the tutorial in post #2 This sends the data to php: xmlhttp.open("GET","gethint.php?q="+str,true);xmlhttp.send(); This receives the data from the ajax call in php: $q=$_GET["q"]; This sends the data back to the javascript function: echo $response; and this receives and translates the data into something you can use in your script: if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } If the problem is special characters, you could send them as ascii equivalents, but I'd check for the critical parts I outlined first (ie I don't see a proper send in your script).
  10. Have you ever written a successful ajax call? If not, I suggest you need to understand the ajax call in this script and how it works http://www.w3schools...hp_ajax_php.asp You need to understand how the php interact and everything else about it. In that way all your questions will be answered in the most useful way. As the tutorial says, it's easy. EDIT: Feel free to ask as many questions about that tutorial as you need to. You'll get all the help you need to understand it.
  11. Please see tutorial at http://www.w3schools.com/php/php_ajax_php.asp
  12. Please confirm that the test code in the OP displays correctly without the z-index. If so, the problem may be the positioning. There's no float.
  13. What's wrong with the test code? I thought it's what you want.
  14. There's a lot of nested divs above the notepad class. There's probably something that being inherited from one of the higher level divs. Remove the css for the divs above the notepad class then re-insert them sequentially and you'll probably find the problem. Then check back if you need to.
  15. All you posted was the css. Without the relevant html or knowledge of the relevant ids or classes http://www.w3schools.com/css/css_id_class.asp, we can't help you. Having said that, you should know that this is a forum for people that code or want to learn. If you can direct us to the part of the code that's not performing , you probably can get some help. If you want us to "take it from here" and fix it for you, you probably won't get what you need. You're practically guaranteed help, at this forum, if you want to learn how to code. It's easy and free!
  16. Do you code? If so, please post the code you have so far. EDIT: Please don't forget to follow your own topic. Click the "follow this topic" button.
  17. Thanks Ingolme for your help on this. It was close to bedtime and you helped me finish the day with no regrets.
  18. I've seen several members with their emails posted. The just put there email in one of the slots. Though, you're right. There should be a specific place for emails.
  19. Thanks again for your advice. I reworked my code so it does what I need it to do. I created a div for the transparency and one for the solid. Reworked code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Untitled Document</title><script type="text/javascript">function popup() { popup_elem=document.getElementById('outer'); popup_elem.style.display == 'block' ? popup_elem.style.display = 'none' : popup_elem.style.display = 'block';popup_elem=document.getElementById('outer2'); popup_elem.style.display == 'block' ? popup_elem.style.display = 'none' : popup_elem.style.display = 'block';}</script><style type="text/css">#outer {position:fixed; top:0; left:0; width:100%; height:100%; display:none; background-color:#000; opacity: .75; }#outer2 {position:fixed; top:0; left:0; width:100%; height:100%; display:none; }.middle {height:100%; display:table; margin:0 auto;}.inner {vertical-align:middle; display:table-cell;}#firstPopupDiv {width:200px;height:200px;background-color:white;}</style></head><body><!--<h1 style="float:left;"><a href="javascript:void(0);" onclick="popup('outer')">Click Here To Open The Pop Up</a></h1>--><div style="width:730px;margin:0 auto;"> <button onclick="popup()" style="width:730px;height:60px;font-size:30px;margin:200px 0px 0px 0px;">Send to Printer</button></div><div id="outer" onclick="popup()"></div><div id="outer2" onclick="popup()"> <div class="middle"> <div class="inner"> <div id="firstPopupDiv"> <p>You are here.</p> </div> </div> </div></div></body></html>
  20. Then how would you approach making the #firstPopupDiv solid white (0% transparency)?
  21. I can't get opacity of #firstPopupDiv to over ride the opacity of #outer. What am I missing? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Untitled Document</title><script type="text/javascript">function popup(popup_name) { popup_elem=document.getElementById(popup_name); popup_elem.style.display == 'block' ? popup_elem.style.display = 'none' : popup_elem.style.display = 'block';}</script><style type="text/css">#outer {position:fixed; top:0; left:0; width:100%; height:100%; display:none; background-color:#000; opacity: .75; }.middle {height:100%; display:table; margin:0 auto;}.inner {vertical-align:middle; display:table-cell;}#firstPopupDiv {width:200px;height:200px;background-color:white;margin:0px 0px 0px 0px;opacity:1.0; }</style></head><body><div style="width:730px;margin:0 auto;"> <button onclick="popup('outer')" style="width:730px;height:60px;font-size:30px;margin:200px 0px 0px 0px;">Send to Printer</button></div><div id="outer" onclick="popup('outer')"> <div class="middle"> <div class="inner"> <div id="firstPopupDiv"> <p>You are here.</p> </div> </div> </div></div></body></html>
  22. Sorry creative1977. That pm isn't part of my profile any more.
  23. If you want to do that, all you need is the latitude and longitude for two locations and VIOLA! You can get that from google and it's free below a certain activity level.
  24. Please post the example you'd like to see included at http://www.w3schools.com/jsref/met_win_open.asp
×
×
  • Create New...