[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

buffering

Posted on 2011-09-02
3
Medium Priority
?
249 Views
Last Modified: 2012-06-27
I have several pages in which I show the user a target images and two additional images, and ask them to indicate which of the two images is more similar to the target image. After the answer the user is given the next similar page.

My problem is the time that the browser needs to show the images. It is not a smooth task - it is "flashy".

What I thought to do is create a page before the task in which i "show' all the images and then redirect to the task. However - it doesn't seem to  work. There is a way to make the task smoother?

The following code is the "buffer" page.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<body dir="rtl">
<p>please wait</p>

<%
Response.Buffer = True
response.write("<img src='small/b1.jpg'><br>")
response.write("<img src='small/b2.jpg'><br>")
response.write("<img src='small/b3.jpg'><br>")
response.write("<img src='small/b4.jpg'><br>")
response.write("<img src='small/b5.jpg'><br>")
response.write("<img src='small/b6.jpg'><br>")
response.write("<img src='small/b7.jpg'><br>")
response.write("<img src='small/b8.jpg'><br>")
response.write("<img src='small/b9.jpg'><br>")
response.write("<img src='small/b10.jpg'><br>")
response.write("<img src='small/b11.jpg'><br>")
response.write("<img src='small/b12.jpg'><br>")
response.write("<img src='small/t13.jpg'><br>")
response.write("<img src='small/t14.jpg'><br>")
response.write("<img src='small/t15.jpg'><br>")
response.write("<img src='small/t16.jpg'><br>")
response.write("<img src='small/t17.jpg'><br>")
response.write("<img src='small/t18.jpg'><br>")
response.write("<img src='small/t19.jpg'><br>")
response.write("<img src='small/t20.jpg'><br>")
response.write("<img src='small/t21.jpg'><br>")
response.write("<img src='small/t22.jpg'><br>")
response.write("<img src='small/t23.jpg'><br>")
response.write("<img src='small/t24.jpg'><br>")
response.redirect("task.asp")
%>
</body>
</html>

Open in new window

0
Comment
Question by:arielbf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Expert Comment

by:Rajesh Dalmia
ID: 36472233
you can run a script before page redirect to stop the page for couple of seconds...
check below link about how to stop page redirect for say 5 second...

http://www.strangework.com/2006/12/07/asp-time-delay-script/
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1500 total points
ID: 36472298
I'm sorry but that is not a "buffer page" because it all arrives in the browser as a plain old page with images.  You can "View Source" and see that.

It is possible to 'preload' images in javascript like they do in slideshows but even that doesn't completely change your problem because that counts on the first image being up there long enough to load the other images in the back ground.
0
 

Author Closing Comment

by:arielbf
ID: 36563481
Thanks for the effort
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question