Show 1 div with PREV - NEXT link, hiding all others, Show 1 div with PREV - NEXT link, hiding all others |
Show 1 div with PREV - NEXT link, hiding all others, Show 1 div with PREV - NEXT link, hiding all others |
Baffled in Baltimore |
Jan 9 2009, 05:29 PM
Post
#1
|
Member Group: Members Posts: 51 Joined: 9-January 09 From: Baltimore, MD Member No.: 7,507 |
First, thank you for your patience and please forgive the lengthy blurb. This is a bit complicated, but I am sure there is a fix.
My website is heavily CSS structured for layout and styles for its Side-bar, heading, menu, etc. A modified CSS is used for the content and the content section is now an Iframe where all content is targeted. This was done to prevent duplication of parent. I am using GOOGLE site-map generator for the web and FreeFind for my site. Site consists of hundreds of HTML each consisting of an Image linked to a bigger image, Content, PayPal Links and other content all created with Excel for the code, Nvu for the file-saves and HTMLToolkit for the previews and error checking. When someone clicks an image anywhere on the site, it opens the HTML associated with it giving all the information about the Image. By the way, they are all table-based pages; DUMB, I know. The Problem: All these pages require updates or deletions depending on stock and pricing for any given item and frequent crawler checks for broken links afterwards. My site Spiders at roughly 500 pages and it keeps growing and getting out of hand. HELLLLLP!!!! On a more personal note; the author of the website (that’s me) is loosing his vision and can no-longer keep-up with this maddening effort… Proposed solution: I believe that enclosing all images and their associated content in DIVS is the better way to go. The idea is to have all images along with its content on one HTML. There are different categories that would use their own pages but the goal is to remove those hundreds of HTML pages and replace them with maybe a couple of dozen Category pages instead. There are as few as 1 or 2 items to as many as 100 items for any given category that would be shown 1-at-a-time using PREV - NEXT links. What I would like to accomplish is;
Whew!!! I told you it was complicated. Any assistance on setting this up (show 1 and hide the rest) is greatly appreciated. CHEERS This post has been edited by Baffled in Baltimore: Jan 9 2009, 05:56 PM |
Baffled in Baltimore |
Jan 12 2009, 11:07 AM
Post
#2
|
Member Group: Members Posts: 51 Joined: 9-January 09 From: Baltimore, MD Member No.: 7,507 |
In regards to
QUOTE The article Frederiek linked to has a demo here Thank you for that. I know that jscript can be somewhat burdonsome with large amounts of content and poses compatability issues but my intention is going with maybe a 20-record page of content divied up using divs; less than 100k in size for any given page. It's sort of a drill-down scheme; Each NEW page is to be a category of its own having anywhere from a few items (divd content) to maybe 20 or so. The catalog home page is to be a thumbnail page of an image out of each category. The user selects an image, opening that category thumbnail page. The user picks first image opening that images full jpg and descriptive text; prev next and back to category links are now present. It is my preference anyway, to avoid too much scrolling by capturing the full jpg with its descriptive text and paypal link than to have the user scroll from one set of info to another. This can be confusing and hard to follow; This is also purpose of having a thumbnail page for each category; a visual aid of what is in any given gategoey. Too much info is just a click away to another website for the user. I am trying to avoid this. The pages in use are all compiled in full html using sub-routines written in VB for Excel. I don't have to run the full html for the items, I can modify the way each item is compiled in Excel by using tables, divs, menu script, whatever I want by simply changing what gets concactenated. Then it's just a matter of copying the first concactenated item down to the last, all with the same attributes but with a different item and its associated content. Then this code gets pasted as values, then copied from Excel and pasted into my html editor; file is saved then uploaded. It sounds more complicated than it is but its not that bad; and it works well. Why do I use Excel for this? It is said that "a Picture is worth a Thousand words" I couldn't find a gallery program that does what I got Excel to do; and that is tag each image with their appropriate url that changes sub-directories with their numbering scheme and to avoid having to duplicate thousands of images on my site for the same purpose. These images are on another servier which I lease with download and copy-righrs. Well, that's it in a nut-shell; my task-at-hand. Now with vision issues, having to eliminate many pages (single-item content) and replacing them with just a few has now become necessary' By the way, my Excel db started with 4-col of data; item#, title, full description, and base price. The db grew a 5th col for "Truncated description and finally; a Category col. In selecting records to work with, I can sort by category then work with that. Thank you again for your support and patience. |
Lo-Fi Version | Time is now: 14th June 2024 - 07:31 AM |