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 Mike Lewis 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. ScottPrelewicz

    Javascript "Tooltip" positioning problem

    Ha, sometimes ;) Figured you'd know it, but like you said, with some poosters you cant assume anything :) But, thats what the site is here for. Scott Prelewicz Web Developer COMAND Solutions
  2. ScottPrelewicz

    Javascript "Tooltip" positioning problem

    BTW, the "this" in my last post means the <area> tag it's calling from. Scott Prelewicz Web Developer COMAND Solutions
  3. ScottPrelewicz

    Javascript &quot;Tooltip&quot; positioning problem

    it would set the top and left to be the top and left of whatever currElem is, I'm guessing you're passing this by onMouseOver(), with something like - <area onMouseOver="popUpDiv(this)"/> To be honest, I've never done this with image maps so I cant guarantee how it will work, but hopefully...
  4. ScottPrelewicz

    Javascript &quot;Tooltip&quot; positioning problem

    I'm not sure I exactly understand your requirement, but I think you want to get the location of the element that was clicked on (or hovered over, whatever) instead of the mouse position (where the event occurred)? if so, instead of popUpWin.top = parseInt(evt.y); popUpWin.left =...
  5. ScottPrelewicz

    Sizing my viewable content (vertical)

    You can get the height of the window with this: function wHeight() { var windowHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { windowHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth ||...
  6. ScottPrelewicz

    MySQL DB: Combo MyISAM and InnoDB is it doable, safe?

    From MySQL manual: You can combine transaction-safe and non-transaction-safe tables in the same statements to get the best of both worlds. However, although MySQL supports several transaction-safe storage engines, for best results, you should not mix different storage engines within a...
  7. ScottPrelewicz

    hash initialization

    I'm sure you'll figure it out, but theres some typos in my message. Remove the , after the first line, and the second line needs a semi-colon :) Scott Prelewicz Web Developer COMAND Solutions
  8. ScottPrelewicz

    hash initialization

    That exact way, I would guess not, as the Hash doesnt exist yet. If you did $article{'title'} = 'The Root Cause';, then $article{'headline'} = $article{'title'} Would work, but if you need to do it as you described, I would guess that would be impossible, as that hash doesn't exists...
  9. ScottPrelewicz

    copy text/value from one drop down to another

    You're very welcome, glad we funf a solution. Scott Prelewicz Web Developer COMAND Solutions
  10. ScottPrelewicz

    copy text/value from one drop down to another

    Oh yeah, forgot about that part :) I dont have time right now to look to deep into it, but at a quick glance I think that if in this: function sm2f(id) { var indexOfSelect = document.getElementById(id).selectedIndex; var other = (id == 'select02') ? 'select04' : 'select02'...
  11. ScottPrelewicz

    submit innerHTML of &lt;div&gt; with form?

    Those are all good points. I assumed he had good reason to do what he wants, and now he knows to do what he wants. But after reading your post he'll maybe find a better way to do it. Scott Prelewicz Web Developer COMAND Solutions
  12. ScottPrelewicz

    Setting up file server

    What is the url? You're link must not be correct. Scott Prelewicz Web Developer COMAND Solutions
  13. ScottPrelewicz

    submit innerHTML of &lt;div&gt; with form?

    Hey Mikey, We're generally on the same page. I didnt even see your reply before I made mine. I personally dont like having to manipulate the DOM either. It would be the OP preference, but now he should have enough info to go forward. Scott Prelewicz Web Developer COMAND Solutions
  14. ScottPrelewicz

    values is incrementing everytime page is refreshed

    You would have to get a bit creative. A user refreshing the page is the same action as a user adding the product to the cart in the first place. Off the top of my mind, I would try creating a unique value that is passed along with the product information and storing this in the session. If this...
  15. ScottPrelewicz

    submit innerHTML of &lt;div&gt; with form?

    You could ise Javascript to do this. You'd have to trap the onSubmit event, get the value of the div var output = document.getElementById('mydiv').innerHTML add it to the querystring/postbody and submit via javascript. One way to add it would be to create a hidden field on the fly with JS...
  16. ScottPrelewicz

    Keeping non-sensible info into a formulary

    You have this block in a single quote, which won't interpolate. print '<form action="otro.php" method="post"> <input type="submit" name="enviar"> <input type="text" name="texto" value="$temp"> <input type="text" name="texto2">'; Fix by doing: print '<form...
  17. ScottPrelewicz

    Updating User Problem

    This is getting way off the original topic, but driving me crazy. You programmers know how that is. :) Let me try again, because I'm still not seeing it. I'll assume you're right, because it must be working for you, I'm going by your original code posted. <?php require_once ('db.php')...
  18. ScottPrelewicz

    Updating User Problem

    That will fix that issue, but there still seems to be another. if ($currentPass["password"] != $cpass) { header("location: ../setup.php?code=5"); exit(); } //The problem starts here. This is an if/else block so one or the other will always...
  19. ScottPrelewicz

    Setting up file server

    Yes, that is one way to do it. You could have a link to the "File Boweser Application" from your index that points to /filefarm/filebrowser.php. Or, as suggested above, setup your webserver to look at /filefarm/filebrowser.php as your index. Scott Prelewicz Web Developer COMAND Solutions
  20. ScottPrelewicz

    copy text/value from one drop down to another

    Okay, here's hoping that we finally have it :) The following will take whatever is selected in one select, and select the corresponding value (by index) in the other. Have we finally found a solution? <html> <head> <script> function sm2f(id) { var indexOfSelect =...

Part and Inventory Search

Back
Top