|
One question: Can you use ASP.NET?
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
DavidW wrote:
You are totally mad. Nice.
|
|
|
|
|
You have to add this in the email header:
Content-Type: text/html; charset=us-ascii
You probably send with
Content-Type: text/plain; charset=us-ascii
-----
We are what we repeatedly do. Excellence, then, is not an act, but a habit.
|
|
|
|
|
|
maybe this can help....
http://www.asp101.com/samples/email_html.asp
luck,
Jon
X-ZD Designs
|
|
|
|
|
Hi
I have a massive pic that loads on one of my pages. The rest of the page loads quickly. I would like to show a different smaller picture with a message 'Please wait' while the other pic is loading, and then automatically update the new pic when it is finished loading.
Is there a onFinishLoadingSwap method to use, or how should I go about.
thank you
|
|
|
|
|
Try using the lowsrc attribute to specify a low-res version of the image. The low-res version should be displayed until the real image has finished downloading.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
|
|
|
|
|
Richards way is best, the lowsrc attribute is made exactly for that.
However you can also make use of the onload event of the BODY element. It is only fired once everything is downloaded and sorted out.
So you could have:
<body onload="document.getElementById('imgPicture').src='largepicture.jpg';">
<img id="imgPicture" src="smallpicture.jpg"
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
DavidW wrote:
You are totally mad. Nice.
|
|
|
|
|
Hi
I want my html page to have a fixed background (bgproperties="fixed"), but I don't want to tile the background, i.e. only one instance of the picture on top of the page.
I've seen a backround-repeat : no-repeat command, but that does not seem to work.
tx for any help
|
|
|
|
|
background-repeat is the correct way (not bgproperties="fixed".)
Remember it has to go either in an external CSS file on the BODY tag or using an inline style in the BODY tag. e.g. <body ... style="background-image: url(yourbackgroundpicture.jpg); background-repeat: no-repeat;">
It is not an attribute of BODY like bgproperties is.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
DavidW wrote:
You are totally mad. Nice.
|
|
|
|
|
just kidding...
somehow i don't get it to work. the pic loads fine, but it still tiles. anyhow, to get the background fixed (that's what I meant) works fine.
Should i add any /css tags somewhere?
|
|
|
|
|
Hi
I got it to work, didn't understand exactly what you said
tx
|
|
|
|
|
Hi All.
I need a little progress bar to view the status (in the body of page) of some process
like database connection process,
reading and parsing files process,
loading files process...
When this things are being done in the server I want to give info to user that how many percentage of process done. But I could not found an effective way. I need to show this progress bar both in ie and netscape. Could you give me any oppinion?
karanba
|
|
|
|
|
|
Please, code for replace bad words and images.
Thank you.
Complete please
|
|
|
|
|
HISPANO wrote:
Please, code for replace bad words and images.
Thank you.
Could you be more specific? Language you are working with? ..... look into regular expressions. This shouldn't be too difficult, read a little.
-Nick Parker
The true measure of a man is how he treats someone who can do him absolutely no good. - Samuel Johnson
|
|
|
|
|
I'm spanish and not write inglish very well.
My code for programing is Asp.
Thank you
|
|
|
|
|
|
Thank you.
Please code complete because i'm not very experience in ASP.
|
|
|
|
|
HISPANO wrote:
Please code complete because i'm not very experience in ASP.
Dim str
str = "This is a bad word"
str = Replace(str, "bad", "good") <font color=green>'replaces all occurances of "bad" with "good"</font>
Response.Write (str)
-Nick Parker
The true measure of a man is how he treats someone who can do him absolutely no good. - Samuel Johnson
|
|
|
|
|
Thank you!
Oleeeee!
Other question, for include // str = "my information for Data Base" //
<%
Dim str
str = "information to database"
str = Replace(str, "bad", "good")
str = Replace(str, "word", "hijo prhase")
Response.Write (str)
%>
Code complete please.
Thank you!
|
|
|
|
|
HISPANO wrote:
Code complete please
I don't see a question. There are many good sources out there as this is only VBScript, I would suggest that you start reading. MSDN[^] is a great source as well.
-Nick Parker
The true measure of a man is how he treats someone who can do him absolutely no good. - Samuel Johnson
|
|
|
|
|
Que1. There is a website that display results when you enter a roll number. My client wants me to make an application customised to his requirements but fetching data from that website. The trouble is I do not know the DSN of the database the result site is using nor do I have any access to the site. The only way I can think is of sending a get or post query from my page but then I cannot have any control over the recordset . Can you suggest any way of doing this in ASP or in any other language.
Que2. I cannot use global.asa on my local machine. Do you have to make any settings changes before the IIS finds the global.asa file. It is there in the root of my application but I cannot access the variables in it.
Will be thankful for your replies.
regards,
Deepak Appu
|
|
|
|
|
Deepak Appu wrote:
There is a website that display results when you enter a roll number
Does this site not expose an XML format or better yet, a webservice?
If not, then using GET/POST and searching through the resultant HTML is the alternative.
Deepak Appu wrote:
I cannot use global.asa on my local machine
You could also try include files on the server side.
Cheers,
Simon
"I ask candidates to create an object model of a chicken.", Bruce Eckel on interviewing programmers.
animation mechanics in SVG (latest pic 1) (latest pic 2)
|
|
|
|
|
I'm trying to read from a text file, and I used the code provided on this website. Where I'm having the problem is that when I test the page it seems to stay in limbo, and locks up my IIS server. I think my problem is in my naming of the file to be read. The file is stored in C:\Inetpub\wwwroot\testread.txt. When I go to enter in the "Const Filename = "What should be here???", and do I need to create an ODBC connection like when I connect a database. Your help would be greatly appreciated.
M.T.
|
|
|
|
|
Please can you post a code snipett.
Are you using the FileSystemObject?
mdesign wrote:
do I need to create an ODBC connection like when I connect a database
No you don't.
Cheers,
Simon
"I ask candidates to create an object model of a chicken.", Bruce Eckel on interviewing programmers.
animation mechanics in SVG (latest pic 1) (latest pic 2)
|
|
|
|