Recent content by HeThatKnows

  1. H

    Javascript & Firefox

    Have the variables brandSelect and modelSelect been defined? Or are you tyring to directly access form controls by name? Try document.getElementById('brandSelect').value or document.formname.brandSelect.value
  2. H

    [HTML/JS] the joys of breaking stuff... endless loop

    Yeah, a too-short timeout could do that -- it spends all its effort checking if things are loaded, and no effort goes toward actual loading. The one-millisecond timeout I used is a bit extreme, 5 or 10 milliseconds is more reasonable.
  3. H

    [HTML/JS] the joys of breaking stuff... endless loop

    If, in your detection, you included the parentheses after top.content.clear(), then you'd still just be trying to call the function. Gots to look at only the function-object. Jam this in as main_f (and adjust the frameset so you can see it's output):<html> <body> <script...
  4. H

    [HTML/JS] the joys of breaking stuff... endless loop

    You seem to be assuming that index2_f will be fully loaded and parsed by the time main_f calls top.content.clear()... an assumption now proved false. Make use of onload handlers (in either or both frames), or object detection ( if ( typeof(top.content.clear) == 'undefined')...
  5. H

    [HTML/JS] the joys of breaking stuff... endless loop

    document.write is meant for adding HTML to a document as it is loading, or for creating an entirely new doc from scratch. When you call it on an existing document, it simply clears that document and begins a new one. So, when you call echo from your iframe, it clears your parent document. The...
  6. H

    Javascript Popups

    Tried it on different box, and got the evil results you described. It would seem that this is a XPsp2 thing. I know of no work-around -- and since this is an intentional 'enhancentment' to IE, I doubt there is a solution.
  7. H

    Javascript Popups

    I couldn't replicate the problem. Using (large parts of) your code gave reliable popups when closing the browser. For the heck of it, you might try running your popup using onbeforeunload instead of onunload. Beyond that, need a link to see how your real page differs from my test.
  8. H

    Javascript Popups

    From looking at your code, it's obvious that the problem is...
  9. H

    Need temperature and unique id from motherboard

    Extra monitoring stuff usually lives in an extra chip on the SMBus, but the basic voltage/temps stuff is often in the chipset itself and accessed via the ISA bus. You do know how to access the ISA bus and SMBus in your language of choice...right? Fire up MMB and check its system-info output...
  10. H

    Javascript - passing values to function

    Where/how do you initially define count and delay? First thing you need to know is that the statements in a setTimeout are executed in the global scope. setTimeout acts as if the statements were wrapped in a <script> tag and appended to the end of the document at the appropriate time...
  11. H

    javascript: Creating and accessing new window DOM

    You are tyring to set the value of the lname input before it exists -- you aren't allowing any time for your pop-up to open and for newRequestor.php to load. Instead of pushing the value to the pop-up, try using onload/onfocus events in newRequestor.php to grab your value from the opener...
  12. H

    The fun of referrer-browsing

    You may be seeing some of mine... I taught my web-proxy to make referrers more fun. Most look like search-engine queries - any one of a score of engines and using a word or three from a list of a couple hundred (biased towards the weird and the pornographic, with enough bland pop-culture terms...
  13. H

    Need some help (website)

    Let's see if I've got this right...you want your webpage to be able to snoop on the interactions of a user with some other site. No fucking' way. I'm sure your intentions are honorable <cough>, but if such a thing was possible don't you think the the phishers and faudsters would be using it...
Back
Top