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

    Change a variable based on form submission

    I should mention that I am using ASP classic.
  2. Bamarama

    Change a variable based on form submission

    Hello gang, here I am with another, difficult to explain question. I have a page called vars.asp this contains a ling list of variables that are used on various pages through the site. What I want to do is to be able to change the value of a variable on that page by a form submission on...
  3. Bamarama

    exponent with variables

    thanks for the reply this helped me so I do appreciate it :)
  4. Bamarama

    exponent with variables

    while I am happy to have figured this out myself, I need help on one more thing. I need the number rounded down to the 10's only rounded down. for example, if this forumla yields 1234566 i want it to display 1234560 how would I accomplish this?
  5. Bamarama

    exponent with variables

    Ok, i think I answered my own question with this. I used value = Math.floor(120000 * Math.pow(1.4,qty.value - 1)); and it appears to be working just fine.
  6. Bamarama

    exponent with variables

    I have tried this value = (120000(Math.pow((1.4,(qty.value-1))))) but It doesn't return anything. By anything I mean it returns blank field. I know the qty.value returns the value from the form, so that part is working. anything look wrong here?
  7. Bamarama

    exponent with variables

    I know the basic exponent formula using javascript: (Math.pow(x,y)} What I do not know, nor can I find is how to have x and y be variables. x needs to be the variable of qty.value the formula I am using is 3000 * resfactor * 1.4(qty.value-1) the x-1 is the exponent. so resfactor is a set...
  8. Bamarama

    tracking users

    yea, that was a good idea. Can get a lot of stats with the ratings and things of that nature the way I have it set up now. You guys rock
  9. Bamarama

    tracking users

    I know about changing IP's an that part. Have to give up something I guess. I like the idea of tracking the ratings they gave there as well. thanks for the idea on that
  10. Bamarama

    tracking users

    I think the way I am going to do it until I find a better solution, is make a table that tracks the IP and the joke id, and do a lookup to see that ip shows up with the joke id in that table, and not show the rating system if it does. That sound sensible?
  11. Bamarama

    tracking users

    What have you guys found, to be the easiest way to track when users do things like vote on something or rate something? As I said before, I have a large Joke site, and users can rate the jokes, but I only want them to rate a joke one time. Right now, since the site is young, I only have about...
  12. Bamarama

    asp/html/db question

    thanks for the advice. I will have to look into the rewrite. I am thinking of working on this as a project myself, since I have the time. I don't think I have enough control over my server to install that. I am tlking to them now. thanks again
  13. Bamarama

    asp/html/db question

    I think, after looking at source code, that sites are using wordpress. Could that be how they are doing it?
  14. Bamarama

    asp/html/db question

    This may or may not be the right place to ask this, but direct me if it isn't I have a site that contains jokes, 1000's of them. they are all stored in a db and all are categorized and have a unique id. you know the drill, you click on the title, and it passes the id and obtains the joke. Here...
  15. Bamarama

    Showing partial return

    WOrks well thanks a bunch. Do you think in doing what I am doing, it would be better to count words instead? And is this possible? I just think it would be better, so it doesn't break up a word.
  16. Bamarama

    Showing partial return

    Ok, thx for that link. Just I just have to find about creating the link and the ... thanks again
  17. Bamarama

    Showing partial return

    I have tried to search for help, but since I am unsure as to what it is called, I am unable to get the right answer. I am creating my own blog. I have everything working the way I want it to with posts and responses. The only thing I am unable to do is this. When the thread is returned from...
  18. Bamarama

    Fit to page printing

    I am not sure if this is the proper forum to ask this. If not, please direct me to the right place. I have made a printer friendly page for music that I write. It shows the song name, key, and the body of the music that contains chords and stuff. I have added a print button, that brings up a...
  19. Bamarama

    Text area question

    Here is the actual code <textarea name="s_song" style="width: 569px; height: 690px" cols="20"><%=var1%> <% if var3 = var4 then %> Words and music by: <%=var4%> <% else %> Words By: <%=var3%> Music By: <%=var4%> <%end if%> <%=var4a%></textarea> variables aside, where...
  20. Bamarama

    Text area question

    I searched and saw that, wasn't sure if it fit my application. But I do not understand where I would place that. Everywhere I put it, it shows up as "\r\n

Part and Inventory Search

Back
Top