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. Targol

    Time limit and site restrictions on browser

    As the behavior is the same whatever the browser, it seems to me that you're experiencing firewall or proxy blockage... Some firewall can block connections depending on the protocol. Did you try with ftp or pop3 protocols ? By the way, I can't figure why it only appears after 8mn... Water is...
  2. Targol

    Blank page when 'Edit with Microsoft Office Word' selected in IE7

    When installing word, you can choose to install or not different types of files formaters. Maybe the HTML format has not been installed on the machines on which the "edit with ms word" doesn't work ? Water is not bad as long as it remains outside human body ;-)
  3. Targol

    Time limit and site restrictions on browser

    What you called "secure sites" are https sites ? Water is not bad as long as it remains outside human body ;-)
  4. Targol

    show/hide tables

    By setting the same "Name" attribute to all your tables, you can get them in javascript by the following code : var allTables = document.getElementsByName("myTablesName"); Using this and setting a specific id to every table, you can automatically hide all the tables except the one whose id...
  5. Targol

    J2ME Preverify

    I'm not a java mobile specialist, but ain't you supposed to use the mobile JDK to compile your code ? Water is not bad as long as it remains outside human body ;-)
  6. Targol

    Request object in class

    The code you posted is missing initialization for "request" object. Is it initialized elsewhere in the class ? Water is not bad as long as it remains outside human body ;-)
  7. Targol

    mapping between in memory beans and Swing GUI.

    Hi all, I was wondering if someone here knows about a framework that can automatically map some Swing components in my GUI to the beans I created that are stored in memory. Let me explain : I made an app to generate strategies for ET-QW game. I created beans to store the data this way ...
  8. Targol

    J2ME Bluetooth UUID Help

    Well, not sure I can help with your question that is TMHO more Bluetooth question than a Java One. What I can, however, say is that : - In java, by convention, a class identifier begins with an upperCase. Your class name should be : "CreateBluetoothService" - I downloaded the UUID generator you...
  9. Targol

    Using layer/skin to block page

    To complete vacunita's answer, I'll say that this kind of mask works very well except for IE6 where select boxes don't care the Z-order and appear over the div whatever their relatives z-order. To override this IE6 bug, you can replace the div with an Iframe (with no src provided). Water is not...
  10. Targol

    Interface

    ->how can i use it in my programs? You can use it the way obadare shown except for the following points : - In Java, a source file can only contain one public class or interface. - The field to store the car price has been forgotten. Corrected, odabare code gives : File "Sellable.java" public...
  11. Targol

    Join form field string values using array and looping

    I think your error could come from these 2 lines : var names = new Array(); var arraysize = names.length; When you initialize the "arraysize" variable, your array is empty. So the value of your variable is 0. As is, the "for" loop will exit before the first iteration. Move the line "var...
  12. Targol

    IFrames not displaying in Internet Explorer 7

    May be the site she's visiting has a javascript function that is in charge to detect the browser used that is a little bit to old to know IE7. As the function doesn't recognize the browser, an error is send... Hope that help. Water is not bad as long as it remains outside human body ;-)
  13. Targol

    Using function to set variable?

    You're right kaht, your solution is much better than mine. thanks for this correction. Water is not bad as long as it remains outside human body ;-)
  14. Targol

    Using function to set variable?

    1-> To retrieve the selected option in a select tag, just put an id attribute on it (let's say "myChoice") and test the select DOMobject value. 2-> Another point : defining your "other_var" variable inside a function reduces its scope to the only function. As variables declarations are not...
  15. Targol

    Loading two javascript libraries on one page

    So, after a look at the code you provided and downloaded the menu framework, I think I found your problem : at lines 46 and 47 of the menu_com.js, you've got the following code : if(Trigger.onload)Dummy=Trigger.onload; Trigger.onload=Go; I think that these lines remove the previously...
  16. Targol

    multiple validation

    Sorry, it's my fault, I missed a "!" on each test. FYI, a "!" in javascript is a logical negation. The good one : function EW_checkMyFormcontactus(EW_this) { if (EW_this.x_name && !EW_hasValue(EW_this.x_name, "TEXT" )) { return EW_onError(EW_this, EW_this.x_name, "TEXT", "Please enter a...
  17. Targol

    multiple validation

    -> thompon : what do you mean by "doesnt see that the other fields are empty" ? The code is intended to check if the 3 fields are empty. - If so, the first one is selected (can select the 3 ones as the same time) - If one of them is filled, the function returns true and no one is selected...
  18. Targol

    multiple validation

    You have an unuseful opening bracket without corresponding closing one. As is, your corrected function should look like (I also simplified the first test and add a focus setting on the phone field if none of the 3 fields is filled) : function EW_checkMyFormcontactus(EW_this) { if...
  19. Targol

    Loading two javascript libraries on one page

    Hi tewari. The JS code you provided is how an object is defined in javascript. In an object context, keyword "this" refers to the instance of the object currently running the code. As is, there is no risk of conflict between the different "this.xxx" instructions. Error should come from...
  20. Targol

    multiple validation

    This should do what you need : function EW_checkMyFormcontactus(EW_this) { if (EW_this.x_phone && !EW_hasValue(EW_this.x_phone, "TEXT" )) { return true; } if (EW_this.x_email && !EW_hasValue(EW_this.x_email, "TEXT" )) { return true; } if (EW_this.x_address &&...

Part and Inventory Search

Back
Top