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 TouchToneTommy 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: *

  • Users: NJDrew
  • Content: Threads
  • Order by date
  1. NJDrew

    Url and JavaScript in adress bar?

    Hi everyone, my question is kind of simple. Can you goto a page and use javascript in the same url so to speak? For example: http://www.google.com javascript:alert("Hello"); I ask because I have a page that based off of user action gets populated via javascript functions. Alot of times I link...
  2. NJDrew

    Netscape/Mozilla - Writing to a <div> tag

    Yes, sorry this is a cross browser compatibility issue. I have a loop that is writing to a DIV tag in a table. In IE, this works fine, but in Mozilla and Netscape I get "thumbscroll is undefinied" (thumbscroll being the div tag) error. The loops are being called (and passed values) by a flash...
  3. NJDrew

    Useing document.write to dynamicly write to current page?

    I’m not sure if the title means what it does in my head :) ,but basically I have a loaded page, upon an action I am calling a function which I want to write thumbnail images, to a specific td. This piece of my code: <head> <style type="text/css"> #row { position:center; height:125px...
  4. NJDrew

    Scrolling &lt;TR&gt; ?

    Please Help, I’m writing a bunch of thumbnails to the bottom of a page using JavaScript. There can be as many as 100 thumbs and I do not want to <br> them onto separate lines. Is there a way to make a <tr> horizontally scrollable (aka panning)? Here is some code: <head> <script...
  5. NJDrew

    javax.servlet in 1.3 or 1.4?

    Ive been useing jdk 1.2 to compile my sevlets for my site. when upgradeing to 1.3 I found out there was no javax.servlet package, so were did the servlet class move to? &quot;Mistakes are the portals of discovery&quot; James Joyce
  6. NJDrew

    Hyperlink to save target as?

    Hi, Im creating a media site mostly comprised of pictures. I would like a way for some to save a jpg file on there hard drive by clicking a link, button or a thumbnail of the pic. Since the images that this would be for are like 11 x 8 inches big, its not apealing if the full size images were...
  7. NJDrew

    Changeing frame page location, from another frame?

    Hi, I have a page of 3 frames (title, toolbar and content). In my toolbar frame (bottom left) I have a link the loads an external page into the content frame (bottom right). When I click on a different link in my toolbar frame that loads a local page (happy.html) in the content frame nothing...
  8. NJDrew

    Endless For Loop?

    Hi, Im trying toi convert the 0-23 resut given back from the getHours method into 1-12. I used a for loop, but it seems to my && operater is not working, because seems to Dead cycle when i run it. What am I doing wrong? Is there a simpler way to do thins? Thanks, Drew My code: var curdate =...
  9. NJDrew

    DOS JavaWebServer Question

    Ok, Im running JavaWebserver1.1 threw my DOS Command prompt in a vurtual server enviroment. In my Servlets Im useing System.out.println statements, so I can follow the progress of the servlet. Well at this point my servlet is so big and has so many out.println statements, the first bunch go out...
  10. NJDrew

    I dont know if this the right forum

    I dont know if this the right forum to ask this question, so if its not, please let me know. Im trying to run an insert statement and I getting all types of errors. The first one was &quot;missing comma&quot; when there was no missing comma. I then cut the insert down to only the fields that...
  11. NJDrew

    Calling a cookie by its name

    Ok, I have a servlet generated HTMl page that writes a cookie containing values pulled from an Oracle SQL database.And i'm trying to read the cookie with another HTML page wich is my home page to display the users information to let them know who they are logged in as. Now the problem is that...
  12. NJDrew

    Get and Post?

    Ok, I have a servlet that is generateing a html page that has values stored in hidden form fields. On that generated page is a button that is calling another servlet, which will request those values via request.getParameter. The problem is that on the first servlet the call for the second...
  13. NJDrew

    Useing double ticks in an out.println statement

    Ok, I hava a Servlet thats createing an html page. The Java compiler won't let me compile w/ Double ticks (&quot;) in my out.println statements. Normaly this isn't a problem, I just replace the (&quot;) with single ticks ('), but now one of my out.printlns is a button with the action property...
  14. NJDrew

    Alternitive to Println Statment in Servlet

    Ok, I have a servlet that is being called by one html page and after it does its processes, I want it to desplay another page. I am new to Java and the only way I know of is to use a out.Println statement to create a new page. What I want it to do after the processes is to open/load a...
  15. NJDrew

    Window.location for a local file

    Ok, I wanted to use a window.locaton to open a html file on my hard drive. I have setup a simple way to try and do this, but I am getting the error: &quot;Can not find 'file:///C:happy.html'. Make sure the path or internet address is correct.&quot; The file name and path are correct. What am...
  16. NJDrew

    Comments question

    Ok, I searched every book I have and for some reason I cant find the syntax to comment in XML,XSL and DTD. What is the syntax to comment in these languages? Thanks, Drew &quot;Mistakes are the portals of discovery&quot; James Joyce
  17. NJDrew

    Writeing info to file or to another page

    I need something like a function, that when fired will take user input from two text boxes,the system date that is in a document.write statement and one other piece of information that is in a document.write statement and write them to file. At this point another window will open that will...
  18. NJDrew

    Disableing a button after being clicked

    ok, I have a button on a form. The form is a test. The button at the botton is calling a gradeing fuction declared in the header which then displays the grade to the document. What I need to do is after the test taker clicks the grade button and the grade is written to the document, the gradeing...
  19. NJDrew

    Help with document.write

    Ok, I need help with a line of code which is: document.writeln(&quot;Your score is &quot; + total + &quot;%&quot;); Assuming that total is defined correctly, my problem is that when the line of code is executed it clears the document then writes the result. I need it to write the line but not...

Part and Inventory Search

Back
Top