Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jaschulz

    scrollIntoView

    No, it's not that easy. I want to scroll some selected text (in an autoscroll div) so that it is visible. I can select it without difficulty, but I can not get the selected portion to scroll into view. All the code is visible in the demo I mentioned, but here is the important mehod: function...
  2. jaschulz

    scrollIntoView

    I am trying to make scrollIntoView() work (with selected text in a div), but I am having no luck. I have put up a little demo that shows the problem. It's at: http://www.wiseware.com/selectTest FF is my main concern. Of course, I would be happy to find a solution that works in IE, too...
  3. jaschulz

    http request buffer size limit

    I am working on an app that uses http requests (to local files) to fill a div. The files are large, but not huge (the largest is a little less than 1000KB) but even though there is no error during the request, I find that files larger than ~100kb do not fully load. When I load one of the...
  4. jaschulz

    Local vs. Remote

    I get the idea. I'll give it a try. Thanks, JAS
  5. jaschulz

    Local vs. Remote

    I am not sure this is a cache problem. Unless I am mistaken, what is at issue is the way that FF responds to a failed image load (i.e. when myImage.src is set to a non-existent file name). All four browsers seem to cope with this error properly on the remote server, but locally, FF seems to do...
  6. jaschulz

    Local vs. Remote

    I found a little image preload utility that works correctly only when the page is accessed remotely. The problem is with its error handling function. If one of the images to be preloaded is missing (and in the example I have posted, the image rockwell.jpg is not on the server), it should show...
  7. jaschulz

    pass by value

    You're entirely right. I had never paid any attention to the "star" system. Too busy, I guess, to pay attention to how the site works. Or so I thought (if I thought at all). Thanks for waking me up. JAS
  8. jaschulz

    pass by value

    That makes sense. Thanks. JAS
  9. jaschulz

    pass by value

    The images in my original array were preloaded. If I make a copy as you suggest, wouldn't that force the image to be reloaded (thus losing the advantage of preloading)? JAS
  10. jaschulz

    pass by value

    How can I pass a copy of an image stored in an array to a scaling function? I have the scaling function, and it works fine, but if I pass the image to it like this: scaleThis(imageArray[x]) the original image (stored in the array) gets scaled. This is not what I want, I only want to scale a...
  11. jaschulz

    Two Questions

    1. How do I include a line feed in a string passed to document.createTextNode()? I have tried \n and <br />, but the former is simply swallowed with no effect, and the latter shows literally in the parent div. 2. I have borrowed and implemented a preload image routine that works fine online...
  12. jaschulz

    text-size change event???

    Ignore this request, please. I just found the A List Apart article on this subject. JAS
  13. jaschulz

    text-size change event???

    What event occurs when the user changes the text size on a page via the Browser's Ctrl++ key combination? How would I listen for this event and respond to it? Thanks, JAS
  14. jaschulz

    window.onload vs. &lt;body onload =

    I am unable to reproduce what I was (or thought I was) seeing earlier. Sorry to have bothered you with this. JAS
  15. jaschulz

    window.onload vs. &lt;body onload =

    What is the difference between window.onload and the onload event in the body tag? IE7 seems to treat them differently than FF2, Safari 3 and Opera 9 (Win XP PRO SP2). Is there a reason to prefer one over the other? Does it make a difference if window.onload appears in an imported script...
  16. jaschulz

    I don't understand this error

    Thanks, Lee. I don't know how I missed that. JAS
  17. jaschulz

    I don't understand this error

    I have been trying to study some code I found at: http://www.webreference.com/programming/javascript/gr/column3/ for preloading images. The demo site described on the page above no longer exists, so I had to build my own from the article. I did that, and you can see it at...
  18. jaschulz

    how to style dynamically created elements in IE

    Not quite "putting it another way" because the second way works whereas the first one doesn't. Thanks very much, JAS
  19. jaschulz

    how to style dynamically created elements in IE

    OK, that fixed the problem in Div1. (And I have updated the example file at: http://www.wisewasre.com/test to show that.) Thank you very much. However, (and I am sorry to seem greedy) I need the dom technique (in Div2) to work as well if that is possible. The problem there seems to be only...
  20. jaschulz

    how to style dynamically created elements in IE

    I have posted an example page at: http://www.wiseware.com/test that shows a problem with the way IE7 handles (or rather, refuses to handle) styles applied to dynamically created elements. The page loads perfectly in FF2, Safari 3 and Opera 9, but I cannot find anyway to get IE7 to do it right...

Part and Inventory Search

Back
Top