Thank you anyways for your help. What i am trying
to do is get rid of a frame that a webserver
automaticlly puts on a webpage. I had already tried using
location.href but that caused the page to reload, which caused
it to reload, which caused it to reload, etc. As you
said, you can't resize a frame below 100,100 and
some..... interesting side effects do occur with that as
well.<br><br>If you have any ideas how to remove a frame like
this help would be appreciated.
The reason it is necessary for web development is
the need for flexibility, which is related to
scalability and security.<br><br>If you have a small setup
and scalability and security are not that important
than you can stick with a pure MS solution(IIs,
VBScript, ASP, COM). <br><br>But what if your needs (scale,
security, and performance) require that you move to a
bigger server, like UNIX, LINUX, or IBM
mainframe.<br><br>For example at my job they decided to do a lot of
server consolidation. There were tons of NT servers all
requiring constant maintenance, etc. They replaced dozens
of them with one SUN sever that gave us greater
performance, storage, and uptime. However it runs UNIX. Our
pages were done in Java (JSP) so it was not a problem
to migrate over. Had they been in VB and ASP, it
would have been a problem.<br><br>To a user ASP or JSP,
JAVA, C++, etc are meaningless, they just know they are
getting data from a web server. For a developer, though
its very important to be able to write one page in
JAVA and know that it can run on NT, UNIX, etc
<script language="javascript"><br>var
myvariable<br></script><br><br><form name = "myForm"><br><select
name="choice1"
onChange="myvariable=this.options[this.options.selectedIndex].value"><br><\
option value = "plus">Plus<br><option value =
"minus">Minus<br></select><br></form><br><br>(using
myform.choice1.value will only work on IE, you
should reference the selected items value
using<br>myform.choice1.options[myform.choice1.selectedIndex].value)
<form name = "myForm"><br><select name =
"choice1"><br><option value = "plus">Plus<br><option value =
"minus">Minus<br></select><br></form><br><br>My wish is to make a
' variable ' = the option
selected, but I don't know how to write it. Would somebody
mind giving me the line I need.<br><br>Thanks
Java's biggest claim to fame is portability.
Which is does very well, except for performance
portability. It is very object oriented, almost as much as
C++.<br><br>right now the biggest benefit is server-side use. Which
always goes hand-in-hand with a client(duh). whether it
is JSP's or a Java applet.<br><br>There is a market
out there for Java developers.
Hi all, I just got a question here, which i hope any of you could help me, that
is why java is good to use and learn?<br><br>Hope you all can help
me?<br><br>Thank you<br>Your gratefully
i am making a program that has a database. it
reads one file and writes the info to some layers which
are hidden. i want the user to select from a menu and
see the layers seperately in another layer. my
question is that how can i copy one layer's content to
another one? i mean lets say we have a layer named
"small" and another one named "big". i want to see the
content of "small" in the layer "big"... i hope this is
clear...
Does anyone know about the javascript ordernow
function? I want to know what it does and how to use it, I
already have huge javascript and html and dhtml books and
I don't want to pay for a whole course to learn
about one function.
and the click throughs? do they click through to
the appropriate image? i do not always get the
product detail of the image when i click through. i get
the product detail for a table when clicking on a
table.<br><br>has anyone ever had problems with javascripts working
on a macintosh?<br><br>i have a javascript thing
that makes images rotate and clicking on an image
takes you to that detail page. <br><br>i just
discovered that when using a MAC the images do not rotate
and clicking on the image takes you to an incorrect
image. <br><br>is there anything i need to do to make
javascript work correctly with the mac?<br><br>to look at
the javascript the easiest thing is to go to this
page and check out the source.
<br><br>www.altobellihouse.com<br><br>many thanks for your assistance.
has anyone ever had problems with javascripts
working on a macintosh?<br><br>i have a javascript thing
that makes images rotate and clicking on an image
takes you to that detail page. <br><br>i just
discovered that when using a MAC the images do not rotate
and clicking on the image takes you to an incorrect
image. <br><br>is there anything i need to do to make
javascript work correctly with the mac?<br><br>to look at
the javascript the easiest thing is to go to this
page and check out the source.
<br><br>www.altobellihouse.com<br><br>many thanks for your assistance.
Just because you can delete a file doesn't mean
it's read/write. The permissions have to do with
altering the file's contents (ie, writing to a Word
document, or in your case, adding, deleting, editing
records in your database). <br><br>Your file system
obviously is not capable of changing the permissions on the
database, so download the db to a machine that can, make it
read/write, then upload it to your web server.
Hi,<br><br>i'm writing stuff in ASP, and when i
try to update or add a record to a database i get an
error message stating that the database is read
only.<br><br>but it's not cos i can delete the database using ftp,
although through the properties of the file (right mouse
button, explorer ftp) i get "this server does not support
permissions", so what the heck is going on?<br><br>is it the
directory that the database is in that needs to be changed?
cos that apparently doesn't have any permissions on
it either what with the no support mentioned
above.<br><br>please help me
Yeah, that and a few other things. The line I
wrote was based on the originally posted line of
"window.FRAMENAME.close()"... I assumed the same context... which would have to
have been in the "top" window, but the code that was
posted appears to be running in one of the lower
frames.<br>Also, I used the word "width" assuming that variable
would be set to something.<br>So... given what was
posted,
try:<br>top.frames.jkl.resizeTo(100,0);<br><br>This might not work, by the way
since you can't resize
a regular window smaller than 100x100, but it might
be acceptable for a frame... and the 100 for width
may have unexpected results.<br><br>David.
you can close the frame (page) by opening another
page in the same frame or by just changing the whole
page's location.<br><br>to change the page in the frame:
window.jkl.location.href="newPage.html"<br><br>to change the whole page:
window.parent.location.href="newPage.html"
I tested the code with the following
code:<br><html><br><head><br><title>Frame
Page</title><br></head><br><frameset cols="50%,50%"
name=blah><br><frame
src=page_a.html name=asdf><br><frame src=page_b.html
name=jkl;><br></frameset><br></html><br><br>In page A i put the
following code
<br><br><html><br><head><br><title>Frame
Page</title><br></head><br><br><script
language=javascript><br>window.jkl;.resizeTo(width,0)<br></script><br><\
br><body>A</body><br><br></html><br><br>(*Note* Page B just
has random nonsence text in it)
<br><br>It is saying window.jkl; is not an object, is this
just me or is something else wrong. Thanks for trying
though. I also tried the code in a clickable link.
That's the "correct" syntax... except it
explicitly doesn't work for frames, only windows. You have
to either reload a different frameset, or resize
your frame (I'm pretty sure that works in most
browsers)... the "resizeTo" function should work find... like
"window.FRAMENAME.resizeTo(width,0)" to make it shrink to
itsy-bitsy.<br><br>David.
Is there a way that i can use Javascript to close
just a frame of a window. I just want to close one
frame while leaving the other open. I thought the code
was window.FRAMENAME.close() but it doesn't work.
Could anyone help me out?
The difference in the tables (besides the
nonuniform use/nonuse of quotes) was that the bgcolor that
didn't work in n6 was put in the table tag. The tables
with the bgcolor in the td tag appeared correct in n6.
So I made that change to the tables, since that was
basically the only thing wrong with n6.<br><br>It was
interesting to see that the dropdown box was also less
interesting in n6 than in the other browsers under the mac
platform. The menu box at the top appears like the n6 in
pcs rather than the rounded-corner version in the
other browser versions.<br><br>Off to work on my
conformity.<br><br>New Daddy Bob, on the baby-care day shift, working at
home between diaper changes, loving every minute of
it.<br><a href=http://www.bobfarley.com target=new>http://www.bobfarley.com</a>
This tag works in IE, but in Netscape I get an
error message saying: "go is not defined".<br><br>TAG:
<a href="javascript:go()"><img
src="home/gobutton.gif" border="0" name="test"
align="absmiddle"></a> <br><br>Script reference for double combo
box:<br>www.simplythebest.net/info/javascript15.html<br><br>How can I get this
to work in
Netscape?<br><br>Thanks. Mucho Apreciado
Yeah NS 6 what a sad story Origionally i was
really <br>looking forward to it but when i downloaded
the <br>beta it kinda blew up after a week so i
waited <br>about a half a yr till just reciently. The
only <br>good part about NS6 is it scrictly conforms
to all <br>the new DOM's but unfortunately all
theses browsers <br>with their greed to be the best have
previously <br>created all these both html and javascript
addons <br>that arent in any specification or DOM and
now that <br>they finally decide to conform all of us
web <br>programmers have to eat a crap sandwich. Well
best <br>of luck with your strive for a uniform site
amongst <br>the crazy world of web browsers. One thing
that i <br>noticed with the tables in your html is
that the <br>attrubite's tend to have an ununiform
syntax ex:<br><table width=100 height=200
bgcolor="FF33d2"><br>this may be the issue that NS6 has with your table
<br>formatting. Netscape in general has always been <br>fussy
with their table syntax try to either make <br>all
your attributes are either inclosed in quotes <br>or
all non-quoted i recomend using the quotes just
<br>to be safe.
one problem i see is that you have embedded form
elements. having a form within a form will consistently
give you difficulty. if there are really two distinct
forms be sure to close one before starting the next.