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 derfloh 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. richard061458

    Resolution dependant image popup

    BTW, Firefox-Win also scales the image rather than adding scroll bars.
  2. richard061458

    Resolution dependant image popup

    Thanks again niteowl. Camino shouldn't be a problem because it does a pretty good job scaling the images. IE6 on the other hand really butchers the image when it scales. I ran your test and it indicated the correct screen resolution (800x600, not LCD BTW). For some reason it seems to be...
  3. richard061458

    Resolution dependant image popup

    Doh! After making the correction, the script works perfectly with some browsers (Firefox-Mac, Opera-Mac, Safari-Mac) but doesn't work on others. On Camino-Mac with a low res display, the window is sized properly but instead of scrollbars the image is scaled down in size. Most importantly, on...
  4. richard061458

    Resolution dependant image popup

    Sorry to be so dense niteowl but I can't get it to work. I placed the OpenWindow function in the HEAD section of the page in question and then call it from a thumbnail image as follows... <img src="images/CW01thumb.jpg" name="CW01" width="91" height="106" border="0" id="CW01"...
  5. richard061458

    Resolution dependant image popup

    Anyone? How can the above code be converted into a function that accepts picHeight, picWidth and url as passed parameters?
  6. richard061458

    Resolution dependant image popup

    I'd like to provide the image size when calling the function. For example onClick=OpenWindow(images/CW-01.jpg, width=447,height=770) If you'd like you can take a look at the page I'm working with. http://e-gallery.ca/plain/browse.html
  7. richard061458

    Resolution dependant image popup

    Thanks for your comment theniteowl. Explicitely setting the window dimensions won't work in some situations. What I'd like to do is something like the following... IF ImageHeight > ScreenHeight OR ImageWidth > ScreenWidth THEN NewWindow(Scrollbars, ScreenHeight, ScreenWidth) ELSE...
  8. richard061458

    Resolution dependant image popup

    I'm using a simple JavaScript to pop up an image window when a thumbnail image is clicked on. Some of the full-size images are fairly large (e.g. 650x900 pixels) which isn't a problem as long as the monitor resolution is high enough. The problem occurs when using a low res monitor setting (I'd...

Part and Inventory Search

Back
Top