Google Answers Logo
View Question
 
Q: bandwith conservation web page images ( No Answer,   2 Comments )
Question  
Subject: bandwith conservation web page images
Category: Computers > Internet
Asked by: fatty490-ga
List Price: $5.00
Posted: 29 Dec 2004 06:58 PST
Expires: 28 Jan 2005 06:58 PST
Question ID: 448674
i want a web page with some images - ok this is easy
Now i want following a user action to add additional images without
refeshing the complete page just part of it. So we conserve bandwidth
only showing images the user wants to see. I use PHP and java so no
microsoft based answers please.
Answer  
There is no answer at this time.

Comments  
Subject: Re: bandwith conservation web page images
From: mrv1-ga on 29 Dec 2004 18:05 PST
 
Yes, you can use javascript. This example illustrates this method:

<img src="dopasc.jpg" width="600" height="313" name="obr" id="obr"><a
href="javascript:void(null)"
onClick="document.images.obr.src='a.gif'">click</a>
Subject: Re: bandwith conservation web page images
From: fatty490-ga on 29 Dec 2004 23:55 PST
 
OK so i can test this lets use the simplest blank web page

i can find an image and call it dopasc.jpg

what script do i need ? please edit below

<html>
<head>
<script type="text/javascript">
</script>
</head>
<body>

</body>
</html>

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy