|
Hi
When you include a src="javascript.js" in your html code, am I correct in assuming that only the actual html file are downloaded by the user, and you will save download time because the code in the .js file are only downloaded when used? Or are both the html file and the .js file downloaded when the page is opened?
tx
|
|
|
|
|
Both files are downloaded.
Regards,
Brian Dela
|
|
|
|
|
Check out the cache on IE and you will see the .js file
He who laughs last thinks slowest.
|
|
|
|
|
hi,
i have a java applet being used in my application. but when someone right clicks on one of the menu items it pops up a new window and tries to connect to a web page on internet.
Since my web application is on a Local Area Network it tries and fails...
How can i kill that window using JavaScript?
is that possible to kill that window although source of it is a Java Applet?
thanks for ur help
atilla.selem
just listening to you...
|
|
|
|
|
Hi.
I'm a beginner, so may be you'll find this question easy to answer.
I'm trying to upload a file from a web page with an tag, and I want to submit it without refreshing the actual page. I'm working with two frames: the visible one and a hidden one (not visible) with which I've been trying to send the form included in the visible one with javascript/DOM, but when I get the name of the file to upload I can't clone the input object to the not visible frame and send the form from the hidden frame (I think this is due to the impossibility to copy the path of the input tag to the hidden frame).
Could any one help me, please? I've been searching the web, but I found no example (may be because it's too obvious for someone with a minimum experience).
Thanks in advance.
|
|
|
|
|
There is one possibility I can think of to stop the page refreshing.
When a request is made to a server a status code is returned whether it be 200 (OK) or 404 (Not Found) by default, otherwise the Internet would not work. There is however a status code which does not return which is 204.
On the client side submit a page as normal. On the server side page do what you have to do with the the request and finally return a staus code of 204. The page will not move.
He who laughs last thinks slowest.
|
|
|
|
|
Thanks for such an easy way to do things work!
|
|
|
|
|
I was wondering,
I am writing some CGI script in Perl to use on my website. Since perl script is interpreted, does that mean that if you heavily comment your code,let's say in a loop, and this loop is exectuted many times, could it significantly slow your program down?
Kevin Shaffer
Student of Computer Science
University of Kansas
kshaff03@msn.com
|
|
|
|
|
No, the script gets compiled into an intermediate language when it's started. Comments don't have any effect on speed after that step.
|
|
|
|
|
Hi All
Does anyone know a good tutorial on the net to help me with macromedia Flash 5
Reguards
Stephen
->->->->->->->->->->->->->->->->->->->->->
"Police arrested two kids yesterday, one was drinking battery acid, the other was eating fireworks. They charged one and let the other one off."
Tommy Cooper
|
|
|
|
|
www.flashkit.com[^] has stacks of stuff although more tutorials are coming out for Flash MX now.
Regardz
Colin J Davies
* WARNING * Save your work This link is to reboot your PC
It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox
|
|
|
|
|
Any particular part of Flash 5? Or just ... everything?
One tip ... use Flash MX, if possible, cuz the components addition is great.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
my lecture is using ASP vr5.0 and i'm using vr5.1
is this the reason that cause some of my scripts couldn't work on his server?
for example:
1. rsRecordset.Open strSQL, adoCon, 3, 3
--> works on my server but not his
so i change to...
2. rsRecordset=adoCon.execute(strSQl)
--> it works!!!
Can you guys please tell me what is really happening there? thanks
|
|
|
|
|
|
Hi
How do you view the last line of a textarea without having to scroll down to it?
tx
|
|
|
|
|
Change (or add) the rows= attribute to vertically size the box to show all the lines. The parent container may also need to be manipulated to accomodate it.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
you could dynamically set the content of the TEXTAREA to a javascript variable and then show it on a popup DIV or anywhere you want...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Does anybody have experience with this?
Here's the scenario:
I have a Classic ASP web application that ran just fine on the same machine with an instance of an Oracle 8i database. So, in more specific terms ... one machine running both an Oracle DB and IIS to display information in web pages. This worked.
Then I upgraded the DB to 9i and it does not work. IIS still works, but when the ASP pages get to the point of trying to create the ADODB.Connection to Oracle ... error.
Two different errors occur because I have tried to connect to the DB two different ways.
Using OLE DB:
Oracle error occurred, but error message could not be retrieved from Oracle.
Using a DSN from ODBC:
Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
Both instances point to driver related errors and the second hints to permission problems. I have tried allowing full permissions to everyone for just about everything possible on a test machine and can see no reason for drivers to be fouled up. Installing the most recent version of the MDAC has been attempted to no avail ... reinstalling the Oracle Client tools ... no go. Even a full reinstallation of Windows 2000 Server, the Oracle DB and the web app still results in the same errors.
If you can help shed any light on this or give suggestions of things to try I am more than willing to try them. TIA.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
If this spiked anybody's curiosity I'd just like to let folks know that OO4O turned out to be a diamond in the rough.
Still haven't figured out what the deal was with ADO but, hey, it works now.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
D2F3U wrote:
OO4O turned out to be a diamond in the r
can u just explain and tell me... how u got things working!
I was born intelligent Education ruined me!.
|
|
|
|
|
In one case we had a server that had both an 8i instance and a 9i instance and when we switched the ASP code to use OO4O everything magically worked again.
The other case was the same machine scenario (8i and 9i both installed) but the OO4O still gave us some funky permissions error. We wiped the machine of Oracle (both instances removed) and even cleared the registry of all the Oracle info. Then 9i was put back on and we had to give the IUSR and the IWAM users read and execute on permissions on the Bin directory. After all that things were running smoothly again. Crazy huh?
If you are using ASP with OO4O this link should help things get rolling:
http://www.15seconds.com/issue/000131.htm
To my knowledge, OO4O now comes with a normal installation of 9i but did not come with 8i.
I hope this is helpful information.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
Hi
can you point me to some sites that provide free graphics libraries to use in my site?
thank you
|
|
|
|
|
http://www.pambytes.com
http://www.gemsgallery.org/
http://www.ibiblio.org/gio/iconbrowser/
http://www.allfreeclipart.com/
Best regards,
J. Paul Schmidt - Freelance ASP Web Developer
http://www.Bullschmidt.com - Creating "dynamic" Web pages that read and write from databases...
|
|
|
|
|
Is there a quick way to retrieve the current Windows user's logon name (assume a corp. intranet using Win2000 servers) using ASP? I have tried using <% = Request.ServerVariables("LOGON_USER") %> (as well as REMOTE_USER, UNMAPPED_REMOTE_USER, and AUTH_USER) - all of which return nothing.
|
|
|
|
|
Anonymous wrote:
I have tried using <% = Request.ServerVariables("LOGON_USER") %>
This is the correct way to retrieve the logon name. Ensure that you are using Windows Integrated Authentication on the directory you are using through IIS. An example of how to to do this would be:
Open Internet Information Services (IIS)
Expand the Default Web Site
Right click a Directory (virtual or not)
Select Proporties
Go to the Directory Security tab
Click the Edit ... button for Anonymous Access and Authentication Control
Ensure that Windows Integrated Authentication is the ONLY checkbox that is checked
The default is that both Anonymous Access and Windows Integrated Authentication are checked. This will not work. You must turn off Anonymous Access.
Wally Atkins Newport News, VA, USA
|
|
|
|