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...
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...
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?
"Mistakes are the portals of discovery"
James Joyce
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...
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...
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...
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...
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?
"Mistakes are the portals of discovery"
James Joyce
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...
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...
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.
"Mistakes are the portals of discovery"
James Joyce
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 =...
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...
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 "missing comma" when there was no missing comma. I then cut the insert down to only the fields that...
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...
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. "Mistakes are the portals of discovery"
James Joyce
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...
ok, Sedj I tried the paragraph tag, but the compiler is still saying ) exspected after the second ". window.location = "/Welcome"<---this one.
Wushutwist: I tried the escape \ and it worked like a charm.
Sedj and Wushutwist, thank you both for you help.
Drew "Mistakes are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.