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 Chriss 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: josel
  • Order by date
  1. josel

    AJAX - Can I trigger an XMLHTTPREQUEST using onClick() ???

    Today has been very good. I have successfully completed writing a data grid table and some very nice trickery. I must say, I am very proud of myself. :) and very appreciative of this forum ... Now, I knew I was going to end-up needing to employ AJAX for the things I have in mind. I have a...
  2. josel

    Hide and Show content using <div> or <span> - Need help!!!

    I did try that but when I click the minus image to hide the row again, the content was hidden but page did not roll-up. In addition, when I showed the row, every row in the table looked funny (like 2.5 higher than normal). I put the behavior back in the DIV tag and it works flawlessly except...
  3. josel

    onClick="Swap Image + Show hidden layer"

    I have managed to figure it out. Perhaps, not the most attractive solution but a functional one. Here is the new code function ExpandSwap(i,j) { var div = "custDetail" + i; var td = "expand" + i; var img = "img" + i; //alert("Values are \n div: " + div + "\n td: " + td + "\n img: " +...
  4. josel

    onClick="Swap Image + Show hidden layer"

    OK, I solved one of problems. I changed <a> tag to <a class="white" href="javascript: hideall(328); ExpandSwap(1)"><img src="images/add.png" border="0" width="15" height="15" id="image1" name="img1"></a> and I am no longer kicked up to top of page. Regards, Jose Lerebours KNOWLEDGE...
  5. josel

    onClick=&quot;Swap Image + Show hidden layer&quot;

    I am working on a very nice data grid table. I am writing this dynamically using PHP. So far I have managed to get the table just the way I want it and added some very nice effect. I am hiding a layer under the row. The left most column has an image (a plus sign); when clicked, three things...
  6. josel

    Hide and Show content using &lt;div&gt; or &lt;span&gt; - Need help!!!

    Just because ... :) Thanks for the follow-up. I will play around with the <tr> tag properties. Regards, Jose Lerebours KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
  7. josel

    Hide and Show content using &lt;div&gt; or &lt;span&gt; - Need help!!!

    I put the <div> tabs inside the <td> tags and content does not show but I can see that marginal border. Can I get rid of it? Thanks, Jose Lerebours KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
  8. josel

    Hide and Show content using &lt;div&gt; or &lt;span&gt; - Need help!!!

    No luck. Here is the code <style type="text/css"> .smartTable { border-collapse:collapse; margin:20px auto; font-family: "times new roman", serif; font-size: small; } .smartTable th, .smartTable td {border:1px solid #000000; padding:1px;} .smartTable th {background-color:#666666...
  9. josel

    Hide and Show content using &lt;div&gt; or &lt;span&gt; - Need help!!!

    I just completed writing a script to show a data grid of my customer list. I do not want to show too much information horizontally so, I figure I use hidden layers and show them upon request. That said, I have a table with 9 columns and one row per record set. I want to set a hidden second...
  10. josel

    A simple AJAX project - My very first ajax project - Need help!!!

    It looks like ActiveX is my problem ... I found this article http://blog.thinkphp.de/archives/43-AJAX-redesign-your-PHP-applications.html and it mentions this as a problem with IE and AJAX. That said, I do have it disabled in my W2003 server for security reasons :) which is the very server...
  11. josel

    A simple AJAX project - My very first ajax project - Need help!!!

    It does not work in IE, same error as originally reported. In all these years I had never thought of MS family of products as @#@**$@$@ - Now that I am playing around with WWW development, the constant beating I get from IE (on top of PHP, JS, mySQL, Apache ... :) ... ) is just enough to make...
  12. josel

    A simple AJAX project - My very first ajax project - Need help!!!

    solepixel, I spent a long time looking at the JavaScript. I even ran the PHP script by itself by passing the argument on the address bar and got what I thought was the proper results. It goes to show that one must have a special gift to be a true integrated application developer. As far as...
  13. josel

    A simple AJAX project - My very first ajax project - Need help!!!

    Hello! I am reading off a book and came across the very first project. I typed all three programs (.htm, .js and .php) but I am not getting the expected results. I decided to merge .htm and .js document to help trouble-shooting ... Here is the code I have <!DOCTYPE HTML PUBLIC "-//W3C//DTD...
  14. josel

    How can I configure Apache to render .htm through PHP Server?

    feherke, It is a beautiful thing !!! I wish everything was this simple. Thanks a BILLION! Jose Lerebours KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
  15. josel

    How can I configure Apache to render .htm through PHP Server?

    It has come to my attention that one should be able to configure Apache Server to render .htm and .html pages through PHP Server thus resolving PHP code just as it does with .php pages. Is that clear? :) What I am looking for is hide the type of server behind the page. So, if I were able to...
  16. josel

    onFocust=&quot;DoFunction('rowname');&quot; to highlight a row - Need help!

    It works now !!! I really need to pay more attention to these little details that make a big difference. I am now getting the exact behavior I was looking for. I have even taken it to the next level and set the row to yellow if onBlur field is not blank. Thank so very much ... Jose...
  17. josel

    onFocust=&quot;DoFunction('rowname');&quot; to highlight a row - Need help!

    I will revise my code following your suggestions. The code is dynamically generated using PHP and it is based on a mySQL table content. Thank you both! Jose Lerebours KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
  18. josel

    onFocust=&quot;DoFunction('rowname');&quot; to highlight a row - Need help!

    Howdy! I have scripts <script type="text/javascript" language="JavaScript"> function HighLight(xRow) { document.getElementByName(val).background=#CCCCCC; } function noHighLight(xRow) { document.getElementByName(xRow).background=#FFFFFF; } </script> </code] and form fields with...
  19. josel

    How to query multiple tables using PHP script

    vacunita, I think your sample will query each instance or each table but the end result will be that which was returned by the last query. Don't you think? learningpearl, As vacunita suggests, if you run an for/each loop, you should be able to dynamically run a query through each of your...
  20. josel

    Multi-dimensional arrays - How would you explain them?

    Excellent! It does not appear too complicated. I see that the element name is defined by the dataset loaded to the array. It looks like if I wanted to use a single array for the entire grid, I would have to add 'dummy' fields to my table so that these are automatically defined on the array as...

Part and Inventory Search

Back
Top