Hi,
I have a cfm page which calls a background image the in the <body> tag.
Within the template is a query which outputs data depending on a variable set on the page.
I have NEXT and PREVIOUS links on this page to either increase/decrease this variable, and the href of the links is the same page.
Each time the NEXT/PREV link is clicked the page reloads (with the new variable value displaying different information) including the background image.
Problem: since the links take the user to the same page and load exactly the same background image each time they are clicked, this is not a very efficient use of bandwidth.
Does anybody know of a way to keep this image constant (only loading once at the beginning) as a kind of background layer.
Im being pointed towards using DHTML but if there is a solution in CF that would be better.
I was thinking if there was a way that i can, using the next/prev links, to just execute the section of code containing the query, therefore not reloading the whole page???
Sorry if this is not clear
any help MUCH appreciated
I have a cfm page which calls a background image the in the <body> tag.
Within the template is a query which outputs data depending on a variable set on the page.
I have NEXT and PREVIOUS links on this page to either increase/decrease this variable, and the href of the links is the same page.
Each time the NEXT/PREV link is clicked the page reloads (with the new variable value displaying different information) including the background image.
Problem: since the links take the user to the same page and load exactly the same background image each time they are clicked, this is not a very efficient use of bandwidth.
Does anybody know of a way to keep this image constant (only loading once at the beginning) as a kind of background layer.
Im being pointed towards using DHTML but if there is a solution in CF that would be better.
I was thinking if there was a way that i can, using the next/prev links, to just execute the section of code containing the query, therefore not reloading the whole page???
Sorry if this is not clear
any help MUCH appreciated