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 Mike Lewis 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. CycloneChris

    Need help accessing a variable - returns undefined

    Becuase the onload event requires the image to download 100% which can be really slow depending on the file size of the image.
  2. CycloneChris

    Need help accessing a variable - returns undefined

    I agree that is not the proper way to do it as download times very, and the time is takes to access the image properties may also very between different browsers. I was just trouble shooting, trying to see when the width/height properties of an image object become available (when image is fully...
  3. CycloneChris

    Need help accessing a variable - returns undefined

    Dan thanks for your suggestion. I think using the image object method will solve my problem but it's not working properly in firefox. If I don't use the timeout function in javascript then firefox gives me the wrong width of 99... How can I use some sort of callback to check when the image...
  4. CycloneChris

    Need help accessing a variable - returns undefined

    Hey, I am trying to access the width variable from my main page. Within the imageinfo.js script functions I can alert() the width value which returns 1024. But I can't seem to pass this variable to my main page or access it directly so that I can use document.write() to write the variable on...

Part and Inventory Search

Back
Top