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 MikeeOK 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. dontpunchme

    Grab Value from URL

    Hi, I am trying grab a value that appears in a URL string. I am trying to get the "add" that appears after the "Submit=". The script I have below works when there are no extra parameters. output: add but once you add in the extras "&taco&pizza" it spits out this. output: add&taco Also...
  2. dontpunchme

    Drop Parameters when writing URL to page

    I would like to write the URL of the page that the user is on, but I don't want to include the extra parameters that are in the URL. <script> document.write(document.URL) </script> Example URLs: http://www.sample.com/department.jsp;sessionid=888999...
  3. dontpunchme

    Scrolling Text

    Hi, I have a current scroller script shown here: http://www.thefelix.com/list/script_sample.html The script contains has items in an array that it cycles through and scrolls up the page (within a box): singletext[0]='<div align="left" STYLE="color:green"><a href="#">30 yr</a> fixed</div>'...
  4. dontpunchme

    Scroller Help

    Hi, I have a current scroller script shown here: http://www.thefelix.com/list/script_sample.html The script contains has items in an array that it cycles through and scrolls up the page (within a box): singletext[0]='<div align="left" STYLE="color:green"><a href="#">30 yr</a> fixed</div>'...
  5. dontpunchme

    Grab Paramater from URL

    Hi, I have a new website that I am launching. I want to redirect users who came to my old site via a 3rd party search box to my new site with the same parameter. BTW the 3rd party box is out of my control. Current URL that comes in when a user searches via the 3rd party search box...
  6. dontpunchme

    Cut off paragraph after a certain number of characters

    Hi, I have a field that is displayed on my website. It currently has a few hundred characters in it. Is there a script I can wrap around it, to limit the number of characters to show the first 150? Also.. is there a way to not have it cut off in the middle of a word? Sample: (Before) Peja...
  7. dontpunchme

    dropdown box selection choice checks a box

    I have a form that has a dropdown box in it and a checkbox. When a certain item in the dropdown is selected I want the checkbox to change to &quot;checked&quot;. Any ideas? Thanks.
  8. dontpunchme

    Reviewing input form field.

    I am trying to block certain zipcodes from submitting a form on my website. So.. I basically want to validate the form... if the first three characters of the zip are 220 then I want to pop an alert box telling them that that the zip code isn't allowed. Any ideas?
  9. dontpunchme

    Expanding Menu -- on click

    I would like to have a set of text links like this: Books Music Clothes When a link is clicked (Books)... I would like the menu to expand with a set of sub links like this. Books - Fiction - Non Fiction Music Clothes I am looking for something that works in NS4+, IE4+. Thanks.
  10. dontpunchme

    form validation with

    I am trying to validate a form.... if the form isn't valid... rather than popping an alert box.... I would like to write a line of text (document.write) an error message in the form where the error showed up. current script: <SCRIPT LANGUAGE=&quot;JavaScript&quot;> <!-- // function...
  11. dontpunchme

    Validate form data

    Hi. I have a site where I am collecting information from users. One of the fields is a street address. I would like to block users from entering in P.O. Boxes. I have an idea of how to do but don't know the code part. Basically... I would like the script to search the field.. if it...
  12. dontpunchme

    Trying to redirect to a specific URL based on current url location

    Hi... I have two different domain names that point to the same IP address. Example http://www.siteone.com http://www.sitetwo.com I am trying to set it up so that if a user types in siteone.com the code on the index page can tell that the location object is siteone.com and redirect them to...

Part and Inventory Search

Back
Top