Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Webpage stops loading when link is clicked. (http://www.velocityreviews.com/forums/t790381-webpage-stops-loading-when-link-is-clicked.html)

Jammer 09-21-2003 08:43 PM

Webpage stops loading when link is clicked.
 
I've managed to construct an ASP page that reads JPG file names from a
directory, then constructs a page with a table of links to bigger JPG
pictures.

I have a big problem...

If the page hasn't entirely loaded and I click on one of the links
pictures that has loaded, then the original page will stop loading and
the new popup page loads instead. I don't want the original page to
stop loading. How do I do this?

I'm pulling my hair out. : (

Any help would be really appreciated.

Thanks.


Jam

Bob Barrows 09-21-2003 10:34 PM

Re: Webpage stops loading when link is clicked.
 
Jammer wrote:
> I've managed to construct an ASP page that reads JPG file names from a
> directory, then constructs a page with a table of links to bigger JPG
> pictures.
>
> I have a big problem...
>
> If the page hasn't entirely loaded and I click on one of the links
> pictures that has loaded, then the original page will stop loading and
> the new popup page loads instead. I don't want the original page to
> stop loading. How do I do this?
>

Turn on the buffer:
<%
Response.Buffer = True
'etc.
%>

This will force all the server-side code to be executed and the entire html
page built and buffered on the server before it is sent to the client. The
page should also load quicker in the browser.

HTH,
Bob Barrows





All times are GMT. The time now is 06:58 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57