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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Aron2

  1. Aron2

    validation to deny spaces in usernames and passwords?

    learning regex is fun, or at least knowing it is. I'm relatively new to it, but I can tell you it's the best there is for form validation. That said, matching a white space doesn't require regex. if (strpos($username_check, " ") && strpos($passwd, " ") && strpos($email_check, " ")){ // have...
  2. Aron2

    When we press the back button the form values are lost

    Ya, store the data is session variables, and have your form populate from those variables automatically if they are set. as in: <?php $_SESSION["example"] = isset($_POST["example"]) ? $_POST["example"] : ""; ?> <form method="post"> <input type="text" name="example" value="<?php echo...
  3. Aron2

    How to Dynamically Find My Link Number

    See response in JS forum. [link]</a> Check out my blog: [url=http://defrex.com]defrex.com
  4. Aron2

    How to Find the Index of Specific Form Link in JS?

    Since the question ought to be in this forum anyway, I use this thread instead on the CSS forum one. document.getElementById("clrest").innerHTML Will only get you the word "Restrict", which is not the index of the link. However, I don't see why you need the index. function disableLink(){...
  5. Aron2

    review, defrex.com

    Your probably right about the link text. I'll add an underline. I'm aware of the other xhtml rules, but most of them I'm not breaking. I have one span with a div nested in it, which I will have to change to in inline div to validate, but other then that there shoudlen't be to much. Maybe I'll...
  6. Aron2

    Passing a re-direct from an Okay Cancel Button

    He used my code, though they were nearly identical save the botched if. But I figured, since he seemed to want to use it, that he might want the value for somewhere else.
  7. Aron2

    review, defrex.com

    Ok, it validates now. I think I'm going to switch to xhtml when I get a moment, all I have to do to switch is add a few />s. I see what you mean about the horisontal shift. I didn't notice it at first because it's rather slight. What could be causing that? The most of the html is identical, and...
  8. Aron2

    review, defrex.com

    Damn. Ok, I put a temp fix on register, and I fixed the page problem. I'm not able to duplicate the contact issue you mentioned. Which browser are you using? I'm getting on the validation right now. Thanks for your help.
  9. Aron2

    Music on site - &quot;Now Playing&quot; and Video Player help

    Guide here. The code is: <object NAME="Player" WIDTH="320" HEIGHT="240" align="left" hspace="10" type="application/x-oleobject" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> <param NAME="URL" VALUE="yourfile.wmv><param> <param NAME="AUTOSTART" VALUE="false"></param> <param...
  10. Aron2

    Passing a re-direct from an Okay Cancel Button

    Case sensitive if. It's my fault for copying your code without looking. function GP_popupConfirmMsg(msg) { //v1.0 document.MM_returnValue = confirm(msg); if (document.MM_returnValue) { window.location = 'altsurvey.cfm'; } }
  11. Aron2

    review, defrex.com

    Hello all, defrex.com is the URL. It's my newly created blog. Known issues: - The RSS feeder isn't done yet... - I still don't have a filter to take malicious script out of comments (trying to learn regex for that) Concerns: - The opacity. I have it working in IE and FF, and I really like...
  12. Aron2

    Music on site - &quot;Now Playing&quot; and Video Player help

    In order to use different videos you would want to change the object tags completely. Depending on the file type of the video, the code will be different. Try googling for the file type and the word embed. Alternately, let me know what the file type is and I'll see if I can find the code to...
  13. Aron2

    Passing a re-direct from an Okay Cancel Button

    Try like this: function GP_popupConfirmMsg(msg) { //v1.0 If (confirm(msg)){ window.location = 'altsurvey.cfm'; } }
  14. Aron2

    Music on site - &quot;Now Playing&quot; and Video Player help

    I'll make a mock-up for you with youtube videos... example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <script type="text/javascript"> function newVideo(vid){ if (vid=='smp'){...

Part and Inventory Search

Back
Top