473,473 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Set Img1 = Img2

sid
How can I load an image and then assign it to a picture ?

Example:
<Script>

ImgPre = New Image();
ImgPre.Src = "SomeImage.jpg"

// Wait till its loaded ...

imgDisplay.image = imgPre.image

</Script>

<img id="imgDisplay" >

Thanks

Sid.

Jan 18 '07 #1
13 1286
Pi
Not exactly sure if this is what you want, but -

<img id="imgDisplay"/ <!--please note the ending '/' tag.
Also, best that the img tag exist before the script is called. -->
<script type="text/javascript">

//"script is all small letters, and you need the "type" attribute
ImgPre = new Image(); //'new' is small caps as well.
ImgPre.Src = "SomeImage.jpg"
ImgPre.onload=function(){
document.getElementById('imgDisplay').setAttribute ('src', ImgPre.src);
}
</script>

Yeah?
sid wrote:
How can I load an image and then assign it to a picture ?

Example:
<Script>

ImgPre = New Image();
ImgPre.Src = "SomeImage.jpg"

// Wait till its loaded ...

imgDisplay.image = imgPre.image

</Script>

<img id="imgDisplay" >

Thanks

Sid.
Jan 18 '07 #2
sid
Yes, but why the '.src' property and not the ".image" property ?
It seems to me that you are assigning the source path of the first
image as the path of the second. I am trying to get the image to load
in the background and then when its loaded, move its image to the
second.

Thanks

Sid.
Pi wrote:
Not exactly sure if this is what you want, but -

<img id="imgDisplay"/ <!--please note the ending '/' tag.
Also, best that the img tag exist before the script is called. -->
<script type="text/javascript">

//"script is all small letters, and you need the "type" attribute
ImgPre = new Image(); //'new' is small caps as well.
ImgPre.Src = "SomeImage.jpg"
ImgPre.onload=function(){
document.getElementById('imgDisplay').setAttribute ('src', ImgPre.src);
}
</script>

Yeah?
sid wrote:
How can I load an image and then assign it to a picture ?

Example:
<Script>

ImgPre = New Image();
ImgPre.Src = "SomeImage.jpg"

// Wait till its loaded ...

imgDisplay.image = imgPre.image

</Script>

<img id="imgDisplay" >

Thanks

Sid.
Jan 18 '07 #3
Pi
Hrmm. I dont think the Image object has an ".image" property. The way I
understand my own script is this -

First assign some space to a variable ImgPre with the 'new' statement.
Then assign where to grab the image from by assigning the source to
pull it from, ie - 'src'. Mind you, as soon as the src is given, the
browser starts to load the image "in the background" so to speak, into
the memory allocated for it.
Now, onload of the image, perform the following - take the element with
id = 'imgDisplay', and assign its src to the same as ImgPre. Now since
the image space that ImgPre.src points to is already loaded, it simply
takes it out of that memory and loads it onto the document from your
browser memory, hence doing what you asked for, ie - "get the image to
load in the background and then when its loaded, move its image to the
second."

I'm not 100% sure myself, but I think I'm right. Does the script work
as I gave it?

sid wrote:
Yes, but why the '.src' property and not the ".image" property ?
It seems to me that you are assigning the source path of the first
image as the path of the second. I am trying to get the image to load
in the background and then when its loaded, move its image to the
second.

Thanks

Sid.
Pi wrote:
Not exactly sure if this is what you want, but -

<img id="imgDisplay"/ <!--please note the ending '/' tag.
Also, best that the img tag exist before the script is called. -->
<script type="text/javascript">

//"script is all small letters, and you need the "type" attribute
ImgPre = new Image(); //'new' is small caps as well.
ImgPre.Src = "SomeImage.jpg"
ImgPre.onload=function(){
document.getElementById('imgDisplay').setAttribute ('src', ImgPre.src);
}
</script>

Yeah?
sid wrote:
How can I load an image and then assign it to a picture ?
>
Example:
<Script>
>
ImgPre = New Image();
ImgPre.Src = "SomeImage.jpg"
>
// Wait till its loaded ...
>
imgDisplay.image = imgPre.image
>
</Script>
>
<img id="imgDisplay" >
>
Thanks
>
Sid.
Jan 18 '07 #4
sid
I got the script to work, but now I have the problem that all it wants
to do is load the same jpg from cache.
Tried: imgPreLoad.src="";, but no effect.

I have seen people append a time-stamp:
src=".../image.jpg?[yymmddhhnnss]

But I am not sure how to do that in JS. What function would you use ?

Thanks

Sid.
Pi wrote:
Hrmm. I dont think the Image object has an ".image" property. The way I
understand my own script is this -

First assign some space to a variable ImgPre with the 'new' statement.
Then assign where to grab the image from by assigning the source to
pull it from, ie - 'src'. Mind you, as soon as the src is given, the
browser starts to load the image "in the background" so to speak, into
the memory allocated for it.
Now, onload of the image, perform the following - take the element with
id = 'imgDisplay', and assign its src to the same as ImgPre. Now since
the image space that ImgPre.src points to is already loaded, it simply
takes it out of that memory and loads it onto the document from your
browser memory, hence doing what you asked for, ie - "get the image to
load in the background and then when its loaded, move its image to the
second."

I'm not 100% sure myself, but I think I'm right. Does the script work
as I gave it?

sid wrote:
Yes, but why the '.src' property and not the ".image" property ?
It seems to me that you are assigning the source path of the first
image as the path of the second. I am trying to get the image to load
in the background and then when its loaded, move its image to the
second.

Thanks

Sid.
Pi wrote:
Not exactly sure if this is what you want, but -
>
<img id="imgDisplay"/ <!--please note the ending '/' tag.
Also, best that the img tag exist before the script is called. -->
<script type="text/javascript">
>
//"script is all small letters, and you need the "type" attribute
ImgPre = new Image(); //'new' is small caps as well.
ImgPre.Src = "SomeImage.jpg"
ImgPre.onload=function(){
document.getElementById('imgDisplay').setAttribute ('src', ImgPre.src);
}
</script>
>
Yeah?
sid wrote:
How can I load an image and then assign it to a picture ?

Example:
<Script>

ImgPre = New Image();
ImgPre.Src = "SomeImage.jpg"

// Wait till its loaded ...

imgDisplay.image = imgPre.image

</Script>

<img id="imgDisplay" >

Thanks

Sid.
Jan 18 '07 #5
Pi
A simple rand could do that? Making a date suffix is too much for too
little, imho.

src=".../image.jpg?" + parseInt(Math.rand()*1000);

I ask you, are you trying to load an image which has just changed but
still retains the same filename? Then the above should work, with the
browser thinking it's a different call.
sid wrote:
I got the script to work, but now I have the problem that all it wants
to do is load the same jpg from cache.
Tried: imgPreLoad.src="";, but no effect.

I have seen people append a time-stamp:
src=".../image.jpg?[yymmddhhnnss]

But I am not sure how to do that in JS. What function would you use ?

Thanks

Sid.
Pi wrote:
Hrmm. I dont think the Image object has an ".image" property. The way I
understand my own script is this -

First assign some space to a variable ImgPre with the 'new' statement.
Then assign where to grab the image from by assigning the source to
pull it from, ie - 'src'. Mind you, as soon as the src is given, the
browser starts to load the image "in the background" so to speak, into
the memory allocated for it.
Now, onload of the image, perform the following - take the element with
id = 'imgDisplay', and assign its src to the same as ImgPre. Now since
the image space that ImgPre.src points to is already loaded, it simply
takes it out of that memory and loads it onto the document from your
browser memory, hence doing what you asked for, ie - "get the image to
load in the background and then when its loaded, move its image to the
second."

I'm not 100% sure myself, but I think I'm right. Does the script work
as I gave it?

sid wrote:
Yes, but why the '.src' property and not the ".image" property ?
It seems to me that you are assigning the source path of the first
image as the path of the second. I am trying to get the image to load
in the background and then when its loaded, move its image to the
second.
>
Thanks
>
Sid.
>
>
Pi wrote:
Not exactly sure if this is what you want, but -

<img id="imgDisplay"/ <!--please note the ending '/' tag.
Also, best that the img tag exist before the script is called. -->
<script type="text/javascript">

//"script is all small letters, and you need the "type" attribute
ImgPre = new Image(); //'new' is small caps as well.
ImgPre.Src = "SomeImage.jpg"
ImgPre.onload=function(){
document.getElementById('imgDisplay').setAttribute ('src', ImgPre.src);
}
</script>

Yeah?
sid wrote:
How can I load an image and then assign it to a picture ?
>
Example:
<Script>
>
ImgPre = New Image();
ImgPre.Src = "SomeImage.jpg"
>
// Wait till its loaded ...
>
imgDisplay.image = imgPre.image
>
</Script>
>
<img id="imgDisplay" >
>
Thanks
>
Sid.
Jan 19 '07 #6

Pi wrote:
A simple rand could do that? Making a date suffix is too much for too
Do what? Please don't top-post here, reply below trimmed quotes.
little, imho.

src=".../image.jpg?" + parseInt(Math.rand()*1000);
There is no Math.rand method, but there is Math.random.

The above method means there is a 1:1,000 chance that the suffix will
be the same twice in a row every time you call it. Using a date means
that for the suffix to be the same, the function must be called within
one millisecond. Even if two in a row were the same, a millisecond
later (probably less) it will change - a user is unlikely to notice
that.

As to whether new Date() uses more resources than
parseInt(Math.random()*1000, a simple test shows that it is 3 times
faster in Firefox and twice as fast in IE. It is also much less to
type - however, time to execute is utterly irrelevant anyway since
10,000 loops of the slower Math.random option takes about 100ms on a
moderately fast box. Perceived performance will be affected by other
factors to a much greater extent.
Simple test:

function t (){
var x, i=0, n=10000;
var s = new Date();
while (i++<n){
x = new Date();
}
var f = new Date() - s;
s = new Date();
i=0;
while (i++<n){
x = parseInt(Math.random()*1000);
}
alert(
'new Date: ' + f + '\n' +
'Math.random: ' + (new Date() - s)
);
}

--
Rob

Jan 19 '07 #7
sid
This is what I came up with: Do you think this is too much ?

src=".../image.jpg?" + TimeStamp();

function TimeStamp(){
var today=new Date();
var yy=today.getYear();
var m=today.getMonth()+1;
var d=today.getDate();
var h=today.getHours();
var n=today.getMinutes();
var s=today.getSeconds();
// add a zero in front of numbers<10
m=checkTime(m);
d=checkTime(d);
h=checkTime(h);
n=checkTime(n);
s=checkTime(s);
//alert(yy+""+m+""+d+""+h+""+n+""+s);
return yy+""+m+""+d+""+h+""+n+""+s;
}

function checkTime(i){
if (i<10)
{i="0" + i;}
return i;
}
RobG wrote:
Pi wrote:
A simple rand could do that? Making a date suffix is too much for too

Do what? Please don't top-post here, reply below trimmed quotes.
little, imho.

src=".../image.jpg?" + parseInt(Math.rand()*1000);

There is no Math.rand method, but there is Math.random.

The above method means there is a 1:1,000 chance that the suffix will
be the same twice in a row every time you call it. Using a date means
that for the suffix to be the same, the function must be called within
one millisecond. Even if two in a row were the same, a millisecond
later (probably less) it will change - a user is unlikely to notice
that.

As to whether new Date() uses more resources than
parseInt(Math.random()*1000, a simple test shows that it is 3 times
faster in Firefox and twice as fast in IE. It is also much less to
type - however, time to execute is utterly irrelevant anyway since
10,000 loops of the slower Math.random option takes about 100ms on a
moderately fast box. Perceived performance will be affected by other
factors to a much greater extent.
Simple test:

function t (){
var x, i=0, n=10000;
var s = new Date();
while (i++<n){
x = new Date();
}
var f = new Date() - s;
s = new Date();
i=0;
while (i++<n){
x = parseInt(Math.random()*1000);
}
alert(
'new Date: ' + f + '\n' +
'Math.random: ' + (new Date() - s)
);
}

--
Rob
Jan 19 '07 #8
In comp.lang.javascript message <11*********************@a75g2000cwd.goo
glegroups.com>, Thu, 18 Jan 2007 22:40:09, RobG <rg***@iinet.net.au>
posted:
>
Pi wrote:
>A simple rand could do that? Making a date suffix is too much for too

Do what? Please don't top-post here, reply below trimmed quotes.
Agreed.
>little, imho.

src=".../image.jpg?" + parseInt(Math.rand()*1000);

There is no Math.rand method, but there is Math.random.

The above method means there is a 1:1,000 chance that the suffix will
be the same twice in a row every time you call it. Using a date means
that for the suffix to be the same, the function must be called within
one millisecond. Even if two in a row were the same, a millisecond
later (probably less) it will change - a user is unlikely to notice
that.
The resolution of a Date object is 1 ms. But the resolution of new
Date() depends on the system; the update interval can be considerably
greater.
>As to whether new Date() uses more resources than
parseInt(Math.random()*1000, a simple test shows that it is 3 times
faster in Firefox and twice as fast in IE.
But he should not be using parseInt(), which requires a string argument
unless the engine is over-clever. Math.floor() is right for the job,
and |0 is probably faster still.

Both are faster than new Date(), for me.

But if Math.random() is used, it is silly to use 1000; that reduces
randomness. Use 1e15 if an integer is required, or even
Math.floor(Math.random()*Math.pow(2, 53)).

Note : if the random generator effectively uses a 53-bit seed, which I
doubt, some such arithmetic might capture *all* its bits, guaranteeing a
2^53 cycle.

Test Math.random()*Math.pow(2, 53)
Math.random()*Math.pow(2, 54)

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Jan 19 '07 #9
sid
On Jan 19, 4:50 pm, Dr J R Stockton <reply0...@merlyn.demon.co.uk>
wrote:
In comp.lang.javascript message <1169188809.529569.15...@a75g2000cwd.goo
glegroups.com>, Thu, 18 Jan 2007 22:40:09, RobG <r...@iinet.net.au>
posted:
Pi wrote:
A simple rand could do that? Making a date suffix is too much for too
Do what? Please don't top-post here, reply below trimmed quotes.

Agreed.
little, imho.
src=".../image.jpg?" + parseInt(Math.rand()*1000);
There is no Math.rand method, but there is Math.random.
The above method means there is a 1:1,000 chance that the suffix will
be the same twice in a row every time you call it. Using a date means
that for the suffix to be the same, the function must be called within
one millisecond. Even if two in a row were the same, a millisecond
later (probably less) it will change - a user is unlikely to notice
that.

The resolution of a Date object is 1 ms. But the resolution of new
Date() depends on the system; the update interval can be considerably
greater.
As to whether new Date() uses more resources than
parseInt(Math.random()*1000, a simple test shows that it is 3 times
faster in Firefox and twice as fast in IE.

But he should not be using parseInt(), which requires a string argument
unless the engine is over-clever. Math.floor() is right for the job,
and |0 is probably faster still.

Both are faster than new Date(), for me.

But if Math.random() is used, it is silly to use 1000; that reduces
randomness. Use 1e15 if an integer is required, or even
Math.floor(Math.random()*Math.pow(2, 53)).

Note : if the random generator effectively uses a 53-bit seed, which I
doubt, some such arithmetic might capture *all* its bits, guaranteeing a
2^53 cycle.

Test Math.random()*Math.pow(2, 53)
Math.random()*Math.pow(2, 54)

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
This seems to work well, but I noticed that all files are kept with
'?...' in the browser cache.
I didn't think this was going to happen. Any way to prevent this ?

Sid.
Feb 3 '07 #10
In comp.lang.javascript message <11**********************@s48g2000cws.go
oglegroups.com>, Sat, 3 Feb 2007 09:18:50, sid <si******@alexian.net>
posted:
>It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.

This seems to work well, but I noticed that all files are kept with
'?...' in the browser cache.
I didn't think this was going to happen. Any way to prevent this ?

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Feb 3 '07 #11
sid
On Feb 3, 4:50 pm, Dr J R Stockton <reply0...@merlyn.demon.co.uk>
wrote:
In comp.lang.javascript message <1170523130.783653.286...@s48g2000cws.go
oglegroups.com>, Sat, 3 Feb 2007 09:18:50, sid <sidwe...@alexian.net>
posted:
It's a good idea to read the newsgroup and its FAQ. See below.
--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
This seems to work well, but I noticed that all files are kept with
'?...' in the browser cache.
I didn't think this was going to happen. Any way to prevent this ?

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Thank You for the link, but I do not see an answer to my issue. FAQ
4.17 does address the issue, but does not speak about how prevent the
files from cashing.
Now, not only am I seeing the cashed files filling up the cache, but
it appears that the browser is only reading the last 5 digits of the
URL and brings up previous pages from about 12 hours ago.

Sid.


Feb 6 '07 #12
In comp.lang.javascript message <11**********************@k78g2000cwa.go
oglegroups.com>, Tue, 6 Feb 2007 12:26:44, sid <si******@alexian.net>
posted:
>On Feb 3, 4:50 pm, Dr J R Stockton <reply0...@merlyn.demon.co.uk>
wrote:
>In comp.lang.javascript message <1170523130.783653.286...@s48g2000cws.go
oglegroups.com>, Sat, 3 Feb 2007 09:18:50, sid <sidwe...@alexian.net>
posted:
>It's a good idea to read the newsgroup and its FAQ. See below.
>--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk
Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/i
ndex.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths,
dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ
items, links.
>This seems to work well, but I noticed that all files are kept with
'?...' in the browser cache.
I didn't think this was going to happen. Any way to prevent this ?

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike
v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.

Thank You for the link, but I do not see an answer to my issue. FAQ
4.17 does address the issue, but does not speak about how prevent the
files from cashing.
Now, not only am I seeing the cashed files filling up the cache, but
it appears that the browser is only reading the last 5 digits of the
URL and brings up previous pages from about 12 hours ago.
Once you show signs of having understood FAQ section 2.3 in full,
including its links, you will be eligible for further consideration.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
I find MiniTrue useful for viewing/searching/altering files, at a DOS prompt;
free, DOS/Win/UNIX, <URL:http://www.idiotsdelight.net/minitrue/>
Feb 7 '07 #13
sid
On Feb 7, 6:47 am, Dr J R Stockton <reply0...@merlyn.demon.co.uk>
wrote:
In comp.lang.javascript message <1170793604.788068.315...@k78g2000cwa.go
oglegroups.com>, Tue, 6 Feb 2007 12:26:44, sid <sidwe...@alexian.net>
posted:


On Feb 3, 4:50 pm, Dr J R Stockton <reply0...@merlyn.demon.co.uk>
wrote:
In comp.lang.javascript message <1170523130.783653.286...@s48g2000cws.go
oglegroups.com>, Sat, 3 Feb 2007 09:18:50, sid <sidwe...@alexian.net>
posted:
It's a good idea to read the newsgroup and its FAQ. See below.
--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk
Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/i
ndex.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths,
dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ
items, links.
This seems to work well, but I noticed that all files are kept with
'?...' in the browser cache.
I didn't think this was going to happen. Any way to prevent this ?
It's a good idea to read the newsgroup and its FAQ. See below.
--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike
v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Thank You for the link, but I do not see an answer to my issue. FAQ
4.17 does address the issue, but does not speak about how prevent the
files from cashing.
Now, not only am I seeing the cashed files filling up the cache, but
it appears that the browser is only reading the last 5 digits of the
URL and brings up previous pages from about 12 hours ago.

Once you show signs of having understood FAQ section 2.3 in full,
including its links, you will be eligible for further consideration.

--
(c) John Stockton, Surrey, UK. ?...@merlyn.demon.co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
I find MiniTrue useful for viewing/searching/altering files, at a DOS prompt;
free, DOS/Win/UNIX, <URL:http://www.idiotsdelight.net/minitrue/>- Hide quoted text -

- Show quoted text -
I have read the links (nice page) and understand the material. I have
implemented the examples, but I continue to see the image(s) fill up
the cache. If you know of a secret method to prevent the images from
being cached, I would appreciate knowing it WITHOUT THE SARCASTIC
REMARKS ESPECIALLY COMING FROM SOMEONE WITH A DOCTORATE.

Feb 9 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Shukie | last post by:
The link for the photos are requested from the server and so the photo appears on screen. I can produce a long list by using the response.write *** & "<br>" or whatever. but is it possible to have...
4
by: dave | last post by:
hi I'm building a page that displays all phone in phoneview.asp...however from admin section we can add new phone image tht stores path in database. I wanna use cache object in phoneview.asp..becoz...
1
by: soyo | last post by:
I have a web page which has two frames. top frame has an image(img1) for decreasing order on click of this image it should: --it should put the records in the bottom frame in descending order...
3
by: Joe Cox | last post by:
I am having a problem with style properties for dynamic images in Mac OS X Safari. By dymanic images, I mean images allocated with the javascript 'new Image()' call. With static images (created...
18
by: Steven | last post by:
Hi I'm new to js so this prob is a simple question but I haven't been able to solve it. I have 2 text fields which let me pick a graphic file and want to display then in 2 image place holders so...
7
by: simchajoy2000 | last post by:
Hi, I am just a javascript beginner so maybe this is a simple problem but I am trying to do some rollovers on images in a separate <div>. Here is the relevent piece of my code: <html>...
3
by: BT | last post by:
I have taken over the support of an existing webpage and I need to revise the page so that it is centered (left and right) on the screen instead of aligned on the left. I can do this easily, but...
2
by: PieOPah | last post by:
I have a webpage that uses frames (yes I know, frames - previously been flamed about that, but I do not know anything else to use since I am clueless!!! Been asked to cobble together a site since...
6
by: aznimah | last post by:
hi, i'm work on image comparison. i'm using the similarity measurement which i need to: 1) convert the image into the binary form since the algorithm that i've use works with binary data for the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.