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

    New Window not opening in IE

    I made sure that pop-ups weren't blocked. I did look at the error message generated by IEv6 and it says "Invalid Argument" for the line window.open(url,'details', 'width=750,height=700,scrollbars=yes'); I don't understand...I really don't see anything wrong with it. Any help is appreciated.
  2. bill1one

    New Window not opening in IE

    I have been trying everything to make the following code work in IE. It works fine in Firefox. Any suggestions? This is in the head tags: <script language="JavaScript" type="text/javascript"> function newwindow(url) { window.open(url,'details', 'width=750,height=700,scrollbars=yes'); }...
  3. bill1one

    Display line of text from text field

    That works too, but I'm getting the same results. Thanks for the suggestions. You've pointed me in the right direction.
  4. bill1one

    Display line of text from text field

    Interesting. substr($row['item_text'],-100,256) AND substr($row['item_text'],(strpos($row['item_text'],$term)-100),256); produce the same results.
  5. bill1one

    Display line of text from text field

    I am using the following code to display a few lines of text from a text field in my database. echo substr($row['item_text'],0,256) This works fine, cause at least it only shows only the first few lines of text, but really what I'd like to accomplish is only showing the lines surrounding the...
  6. bill1one

    Limiting pages in pagination links

    I'm trying to make navigation easier for users. I would like to limit the page numbers shown to +/- 5 pages from current page, whereas currently it lists them all. I've been trying to mess with the following section of my code, but to no luck, but it seems the answer is in this area of code...
  7. bill1one

    Changing variable values

    Both worked fine. Thanks a million. In response to I have a javascript to handle that. Thanks for pointing it out.
  8. bill1one

    Changing variable values

    I have text boxes on my form for users to enter a range of numbers that they would like to see in the database. I would like to query to ignore the range if the user does not enter anything in the box. To do this, I basically said if the variables are empty to reassign them with the minimum...
  9. bill1one

    Passing variable to MySQL query

    ORDER BY $sort" worked. Thanks.
  10. bill1one

    Passing variable to MySQL query

    In my form, I'm trying to pass the following values to a MySQL query. Sort by: <select name="sort" type="text"> <option value="Title, Author">Title</option> <option value="Lexile, Title">Lexile</option> </select> For some reason the MySQL totally ignores the values posted and does not...
  11. bill1one

    Event occurs when clicking on menu item

    Thanks to everyone who responded. The easiest solution was to execute the code with the OnLoad event, so I didn't even use the menu in the end. I'm sorry if I caused any headaches.
  12. bill1one

    Event occurs when clicking on menu item

    It is a dreamweaver menu, but anyhow, what I was trying to do was use an OnClick event that when a user clicked "purchase request" on the drop down menu, the following code would execute: function requestItem() { var is_sure=window.confirm("Click \"OK\" to confirm that you have searched the \n...
  13. bill1one

    Event occurs when clicking on menu item

    I would like a certain event to occur when a user clicks on "Purchase Request" in the menu. Following is the script that generates the menu. "Purchase Request" is the second item in the menu. window.menu_0 = new Menu("root",130,16,"Arial, Helvetica...
  14. bill1one

    Confirm with Yes/No

    I am trying to make a simple confirm box that would display "Yes" and "No" on the buttons. All I get is the Ok/Cancel combination. How can this be done or can it be done? Thanks.
  15. bill1one

    Firefox and Javascript

    I have the following code that Firefox does not recognize: l.style.cursor = "hand"; In iExplorer, it works fine, but Firefox doesn't like the hand. I've tried switching "hand" to "pointer" and it still doesn't like it. Any suggestions. I've noticed that Firefox doesn't like a lot of my...
  16. bill1one

    Combining Conditional Statements

    I'm trying to validate a form. I want the value entered into the textbox, Patron ID, to be greater than 20000000 and less than 21999999. I also want it to contain only numbers. Following is the code I'm working with. function validate() { if...
  17. bill1one

    Problem executing script

    I'm using Perl v5.8.6. I'm not getting any error messages, simply when I click the "submit" button to execute the code, it displays the actual code instead of executing it. That's why I thought it was a problem with the way in which I configured the server.
  18. bill1one

    Problem executing script

    I have a script that I am trying to execute from my cgi-bin. I believe it isn't working because the server isn't recognizing the cgi-bin as executable files. I'm using Apache 2 for Windows. Here is the excerpt from my config file: ScriptAlias /cgi-bin/ "C:/Program Files/Apache...
  19. bill1one

    Syntax Error w/ Link in RSS Feed

    Nevermind. Figured it out. the "=" should be "&amp;" . Sorry if I wasted anyone's time.
  20. bill1one

    Syntax Error w/ Link in RSS Feed

    I am trying to use the following url in one of my items and I keep getting a feed error. http://www.opac.lib.us/TLCScripts/interpac.dll?NewestSearch&Config=PAC&SearchData=Videorecording-DVD&SearchField=17&PeriodLimit=30&SearchType=1&SortField=2&ItemsPerPage=100 The error is occuring at the...

Part and Inventory Search

Back
Top