I am presuming you have a dynamically generated form, probably based on a data base query. If that is so than this is how I would go about it.
Step 1. Generate the specific input tags you want to deal with by labelling them with a common class name and a consistent id attribute.
<input...
I use classes to define my anchor links as per the following example lifted from our general style sheet:
a.menu:link {font-family: "Verdana", "Arial"; font-size: 7pt; color: #dddddd; text-decoration: none;}
a.menu:visited {font-family: "Verdana"...
The CFComet website has some good introductory stuff if you want to get good at using COM objects to build your own Excel and Word files. I did this for a project where I had to merge environmental data with a monthly report template and spit the end result out as a downloadable Word file...
My code presumes you have more than 15 records (more than one page of data) returned in your thumbnails query. I used a sample that generated 45 results. That guaranteed me three pages of data to display that allowed me to test the next and previous link code.
If there are less than 15...
This is just a guess but I know Internet Explorer uses cached pages by default. There is a tag I put at the bottom of all my pages to try and flush the cache and force it to go back to the server everytime. This seems to work for most page elements although I know Explorer will cache style...
I reproduced the same error when my masterlist query returned less than 15 items. Make sure the total record count for your "GetThumb" query is over 15. The ListGetAt() call is parsing the list in groups of 15. i.e. The first 15 thumbnails are considered one list entry. The second 15...
My preference would be to show them a list of all the data sets (rather than just previous and next) and I like the idea of having a link to print the presently displayed set.
Presuming that you wanted to stick with just having links to the previous and next data set there is another way to do...
I have also had trouble getting the formatting functions to work properly when displaying information from our offices where dollars are not the local currency. I invented my own custom tags for accomplishing this. They aren't that hard to write and they will work on any platform. Below is an...
I think there is a simpler way to accomplish what you want. To divide your master list of images into groups of 15 make a list of their id number and then change the delimiter for every 15th image. (I changed it from a comma to a tilde in the sample below.) Use this to cycle through your list in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.