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 Chris Miller 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: *

  • Users: jb13
  • Order by date
  1. jb13

    Image redimension and optimization

    Hi, I have to limit the size and weight of the image selected by the user. Instead of just showing a message box saying "Error, file must be maximum 100kb and maximum 500x500 pixels.", i would like to automatically resize the image to 500x500pixels and optimize it to 100kb. Is this possible ...
  2. jb13

    IE max-height hack

    Hi everyone, There is a well known hack to use in stylesheet to replace max-height in internet explorer. height:expression(this.scrollHeight > 100 ? "100px" : "auto"); When I use it on a DIV, there is no problem, but when I try to apply it to an IMG, internet explorer freezes in an infinite...
  3. jb13

    Inet ftp control problem with DIR command

    Because if i don't sleep the loop is too fast and the processor goes at 100%
  4. jb13

    Inet ftp control problem with DIR command

    Just in case it could interest someone who have the same case, i resolved the problem by reducing the Sleep to 1.
  5. jb13

    Inet ftp control problem with DIR command

    Hi everyone, I got a strange bug with my program while trying to get the file list of an ftp directory. Just look at the code first: FTP.Execute , "CD /images/" Do DoEvents Sleep 150 Loop Until Not FTP.StillExecuting FTP.Execute , "DIR" Do DoEvents Sleep 150 Loop Until Not...
  6. jb13

    Loading an image with IE7

    Well, i'm not sure its the same problem but i think it's just security settings, i guess i can't show an image preview from the client computer in IE7 whitout adding the page to Trusted Sites, it works fine when i do it.
  7. jb13

    Loading an image with IE7

    Hi, I have coded a little image preview before upload. The script show the picture the user selected on his computer before uploading it to the server. The script used to work fine with IE6, but doesn't work anymore with IE7. This instruction is suppose to load the image in my variable...
  8. jb13

    Displaying DIV like a table

    Of course this was just a sample, because in my real page the style attribute will be replaced by a class and i would like to have the information sometimes displayed in a row, sometime displayed in a column, depending on which css sheet is loaded with the page. Anyway i know now why it was not...
  9. jb13

    Displaying DIV like a table

    Hi everyone, I readed some articles on the web on how to display DIV elements in a table format. All these articles said the same thing, that this code should display a table with a single line and 3 columns because display:table = <table>, display:table-row = <tr>, and display:table-cell =...
  10. jb13

    Cookies lost problem

    Yea it's probably 20, but shouldn't i get the same problem if i write my cookies using vbscript on server-side ? Because i don't. If I only write one cookie that contains all the values like "var1=val1&var2=val2&var3=val3..." that will work ? As long as I don't store 4k of data, which is more...
  11. jb13

    Cookies lost problem

    Hi, at first sight, writing cookies with javascript seem easy, but in practice i got a weird bug. In fact, cookies are correctly saved on client computer, but for some reason, when the number of cookies i wrote reach 18 (why 18 i really don't know, it is not always the same number), the next...

Part and Inventory Search

Back
Top