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

    Lrnmore, the table structure wasn't the problem, but I did fix it anyway. Thanks Dan, Sorry, I relized that when I implemented your code, I wasn't assigning anything to it. This works. document.getElementById('thumbscroll').innerHTML = ThumbCodeLines; Sorry about that, thank you for your...
  3. NJDrew

    Netscape/Mozilla - Writing to a <div> tag

    <html> <head> <script language="JavaScript"> <!-- function event(s, u, i) { var ThumbCodeLines = ""; while(i<=s) { ThumbCodeLines += "<a href='#' OnMouseOver='newMap("+i+")'><IMG SRC='"+u+i+"t.JPG'></img></a>"; document.getElementById('thumbscroll').innerHTML...
  4. NJDrew

    Netscape/Mozilla - Writing to a &lt;div&gt; tag

    Dan, thank you for the suggestions, however document.getElementById('thumbscroll').innerHTML dosn't seem to want to work in Netscape/Mozilla or IE. It dosn't throw back any errors, but it dosn't write to Thumbscroll either? &quot;Mistakes are the portals of discovery&quot; James Joyce
  5. NJDrew

    Basic Window.close question

    I believe the rule is you can close a window you opened without a prompt, but you cant close a window the user opened without a prompt. It might be easier if you try something like this instead: <html> <head> <title>Date_Check</title> <script> function start(){ var today=new Date(); var...
  6. NJDrew

    Netscape/Mozilla - Writing to a &lt;div&gt; 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...
  7. 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...
  8. NJDrew

    Scrolling &lt;TR&gt; ?

    Thank you, thats what I was looking for. Thanks again, Drew &quot;Mistakes are the portals of discovery&quot; James Joyce
  9. 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...
  10. 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
  11. 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...
  12. 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...
  13. NJDrew

    Endless For Loop?

    dwarfthrower, your 100% right. Your solution is so simple it's genius. I would still like to know why that && isn't working, however I will use your solution. Thank you very much. &quot;Mistakes are the portals of discovery&quot; James Joyce
  14. 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 =...
  15. 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...
  16. 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...
  17. 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...
  18. NJDrew

    Get and Post?

    Ok, I foundthe problem as to why the [<form>] tag wasn't working. Apparently one one of my late nights I deleted the return true; statement in the function that the submit was calling. Thank you all anyway. &quot;Mistakes are the portals of discovery&quot; James Joyce
  19. 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...
  20. NJDrew

    Useing double ticks in an out.println statement

    ok, Sedj I tried the paragraph tag, but the compiler is still saying ) exspected after the second &quot;. window.location = &quot;/Welcome&quot;<---this one. Wushutwist: I tried the escape \ and it worked like a charm. Sedj and Wushutwist, thank you both for you help. Drew &quot;Mistakes are...

Part and Inventory Search

Back
Top