User Profile

Collapse

Profile Sidebar

Collapse
tomaz
tomaz
Last Activity: Sep 9 '09, 03:02 PM
Joined: Oct 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Subscript out of range while checking on Array.

    i have an array for each mailbox. if i ask the array of mailbox 1,2,3,4... it returns a "1" if there are unread messages.
    If there are no unread messages i receive "". (empty)


    Yet, the moment I check it returns an error: "subscript out of range"

    How can I check if a value of an array is empty?



    If ArrUnreadMsg(AD ORstMailbox("Id tMailbox"))...
    See more | Go to post

  • tomaz
    replied to security alert: display nonsecure items?
    tnx, coldhearted censored :)

    I checked out the mixed content with a useful tool 'debugbar'.
    There I can see every include and évery file in my site.

    everything is https. Before it wasn't and i bugfixed it, so i really looked into the whole page.
    also, the problem doesn't show up when you wait till the page is fully loaded. if there were any http: includes it would give a message too.

    i...
    See more | Go to post

    Leave a comment:


  • tomaz
    started a topic security alert: display nonsecure items?

    security alert: display nonsecure items?

    Hi

    I created an intranet over https.
    some clients still use Internet Explorer 5.01, this can't be changed :(

    Now I have following problem:

    When I click on a navigation button BEFORE the page is fully loaded, I get following message:

    This page contains both secure and nonsecure items.
    Do you want to display the nonsecure items?


    When I click on a navigation...
    See more | Go to post

  • tomaz
    started a topic both secure and nonsecure items

    both secure and nonsecure items

    Hi

    I have a website with multiple included js-files, included css-files...
    There is a virtual keyboard programmed (for touchscreen use)
    the moment I click on the keyboard icon to open the javascript keyboard, I get following error:

    This page contains both secure and nonsecure items.
    Do you want to display the nonsecure items.

    I get this message only when connecting through https (ssl)....
    See more | Go to post

  • tomaz
    replied to creating a word doc using javascript
    I checked into this possibility, but it didn't seem the right thing to do because I can't know how many items can be printed on one page.
    Only word formats them in pages and has a correct index table.

    This explanation was quite interesting:
    Paged media

    But it's CSS21, and I will be only using Internet Explorer.
    Some might still use ie 5.0... :(
    See more | Go to post

    Leave a comment:


  • tomaz
    started a topic creating a word doc using javascript

    creating a word doc using javascript

    Hi y'all

    I've been trying to print a book with articles straight from the database.
    Each page has 2 articles with a picture, more info and it's subarticles.
    I want to have an index table and the pages should be numbered.

    When they click on a button on the website, this document should be printed.
    If i use for example a PDF, or send it straight to the printer, well, then I don't have the markup (page...
    See more | Go to post

  • tomaz
    replied to align checkbox/radio with label
    yes, that's true.
    FF don't show a big checkbox/radio, but enlarge the clickable area.

    The assumption of the project is:
    strictly IE6.

    so, in that case, i'm free to use this style.


    the text next to the checkbox/radio is also clickable with a 'label for='
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to align checkbox/radio with label
    I follow your opinion, but in this case I have to make these elements larger through width and height so the web application is touchscreen compliant....
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to align checkbox/radio with label
    guess what?!

    Code:
    input.largerelement {      
        width: 30px;  
        height: 30px;
        vertical-align: middle;  
    }
    "vertical-align: middle" on the input element will do the trick!
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to align checkbox/radio with label
    there's no difference with the lowercase css.

    Also, in my project I use the correct doctype:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    when I added it to this testpage, the problem persists.
    The alignment of the text is too low.
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to align checkbox/radio with label
    hi, thanks for the reply.

    I did try vertical alignment, but it doesnt change a thing.

    the complete html:
    Code:
    <HTML>
    <HEAD>
    <TITLE></TITLE>
    <STYLE TYPE="text/css">
    input.largerElement {     
        width: 30px; 
        height: 30px; 
    } 
    
    p
    {
       VERTICAL-ALIGN: top;
    }
    </STYLE>
    </HEAD>
    ...
    See more | Go to post

    Leave a comment:


  • tomaz
    started a topic align checkbox/radio with label

    align checkbox/radio with label

    hi

    I've been searching the net for a solution, but did not find it.

    I use following css code:

    checkbox:

    Code:
    input.largerElement {	
    	width: 25px;
    	height: 25px;
    }

    now i have the problem that my text label next to the checkbox is not in the straight middle but floats a little bit higher than my checkbox.

    i tried a lot of possibilities...
    See more | Go to post

  • tomaz
    replied to body onload when page is not loaded
    i didn't replied on this topic.
    but to inform people who search this forum and have similar problems,
    this is the solution:




    thanks again...
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to onblur not working in firefox
    yes yes Yezternz

    you like unfinished loops? :)
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to onblur not working in firefox
    i opened your site and my pc crashed :)

    I only clicked the link 'click here to open'
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to very long if statement
    in fact, i have 2 functions with such a loop:

    one for the text input elements and one for the textarea fields.
    So If I could create a function with common conditions for both functions, that would be clean. Or at least it seems clean ;)
    in the loop itself I can add more specific conditions for each function, next to the CheckCondition function.


    I'll try it this way...
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to very long if statement
    thanks for the tips.

    my case looks as follows:

    i create an array with all input elements.
    a for loop runs untill all input elements are checked.
    in that loop I have conditions that looks like this:
    - is the type 'text' or 'password': ok
    - i don't have the attribute 'no_vkb'
    - i don't have the 'fs_enabled' and 'df_enabled' attribute
    - the element is not disabled...
    See more | Go to post

    Leave a comment:


  • tomaz
    started a topic very long if statement

    very long if statement

    hi everybody

    i've been searching a clean and correct way to use very long if statements.

    multiple options:

    Code:
    if (cond1 && cond2 && (cond3 && cond4) && (cond5 || cond6) {
    // do this
    }
    Code:
    if (cond1) {
      if (cond2) {
         if (cond3 && cond4) {
             if (cond5 || cond6) {
             // do this
    ...
    See more | Go to post

  • tomaz
    replied to send onclick event to another element
    thanks acoder!! thank you very much.
    I've noticed that ArrLinks[0].onclick() doesn't work, but!
    ArrLinks[0].click() works fine!
    See more | Go to post

    Leave a comment:


  • tomaz
    replied to send onclick event to another element
    thanks acoder, I always receive nice tips from your side.

    still, it does not work.

    "object doesn't support this property or method"
    on following line:
    ArrLinks[0].onclick();

    Yet the ArrLinks.length > 0
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...