The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Show 1 div with PREV - NEXT link, hiding all others, Show 1 div with PREV - NEXT link, hiding all others
Baffled in Baltimore
post 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;
  • Ensure cross-Browser Compatibility.
  • All Category pages and selected DIVS target the content Iframe. (individually-set, CSS or Script file)
  • Open the Catalog page of my site. It opens with the Category Menu in the Side-bar and maybe a promo page in the content Iframe.
  • Select a category from the Side-bar; say Airplanes. Other categories might include Boats, Cars, Trains, etc.
  • The selected “content-targeted” category page opens with a Thumbnail page of all Items on the Page. Each thumbnail is set to say; 150px, 4-wide. (In creating the Category pages, it would be simpler if the Thumbnails are on the same page or separate CSS for each Category.)
  • An Image is selected, targeting the Content Iframe. The Image is now at say; 420px and displays all content along with it, including its Add to Cart Button.
  • At the top of the page are Item and Category hyperlinks. The Item hyperlink opens on mouseover with ‘Prev–Next’, user selects. If Category hyperlink is selected, it returns current Category Thumbnail page for broader view of available selections.
When an item is no longer available, it is deleted from my data-base and the affected page amended to read “Item is no longer available”. This would be done by selecting appropriate “Item Status” in Excel for compilation of the page. If a deleted item is searched for, it will merely show this instead of a broken link associated with a missing webpage.

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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Baffled in Baltimore
post Jan 13 2009, 02:24 PM
Post #2


Member
***

Group: Members
Posts: 51
Joined: 9-January 09
From: Baltimore, MD
Member No.: 7,507



Thank you for all the responses; some useful info indeed

However, I believe we're loosing focus of the issue at hand. Yes, my vision is an issue and primary reason I am on this quest, but it is not the focal point of this discussion.

I am here because I will have extreme difficulties maintaining my site as written; I am loosing my sight. I am not a web programmer, I am an industrial troubleshooter (was, before vision problem)

The topic is finding a way to minimize the maintenance effort by eliminating the hundreds of already produced product pages (and the necessity of creating more of them) It was thought that combining the content of many single pages into one categorized page would be the fix. This was accomplished and demonstrated here with one of maybe 2-dozen similar pages also to be created: http://www.wjstewart-associates.com/auto_travel.html

My server does not support php, so that's out. Anything-else has to be accomplished by other means. If jscript (not search friendly) or DOM are not viable solutions, please help with alternatives. I know they are out there.

As published, categorized thumbnails are already in use but they reference the many pages that now have to be maintained and in need of removal once a fix is found. An example of this is found here
http://www.wjstewart-associates.com/Catalo...ntent/auto.html.
This is one of several thumbs pages that currently target the many external pages that will be removed.

QUOTE
The BIG question is this: how are you generating this page?

As previously mentioned, I use VB scripts in Excel to create the pages. The subroutines include many other variations ranging from a few divd content to full html that is pasted into my html editor, saved then uploaded. The script references a workbook containing the master records; these are manually created with a “New Record” subroutine also written in VB. In practice, it may take anywhere from a few seconds to maybe a minute or so to create a new record. The Master is frequently-saved and backed-up for use by the HTML creator workbook used for manipulation of the records that will be uploaded.

QUOTE
The iframe on the home page

To be honest, I don’t much-like using them either. This was done to prevent duplication of the parent. It is heavily CSS-based for style, layout, etc. It was desirable to maintain the structure and layout of the site by using an Iframe for deployment of content in the same area, avoiding page-changes and shifting of theme.

QUOTE
Not sure about that, at least not as the only means of navigation. Especially on product pages customers may prefer some kind of thumbnail gallery like on http://www.wjstewart-associates.com/Catalo...ntent/auto.html rather than have to view every item one at the time

I’m a shop by image type myself. This was never mentioned as the only means of navigation, merely an option along with other links to return the thumbs page for another selection or select another category.

The idea is when a category is selected; the thumbs page for that category is displayed in the content Iframe. Next, an Image is selected, loading the page replacing the thumbs page with the selected content. Along with this are the necessary navigation links for Prev-Next, etc.

QUOTE
Search engines don't support JS

This was a given; I would like to avoid jscript for this reason and is why I am here, to seek out viable options. If jscript is the only way out, then so-be-it; but let’s avoid it if possible.

QUOTE
Like Darin, I see just a list of products, which looks OK.

Yes, it does; but when using Iframes, the scrolling has an effect of loosing focus from the rest of the current page when it scrolls out. And the reason I am using a full image is to prevent text wrapping around it when the description gets a bit wordy.
Another point to consider is this; Not everyone uses a scroll mouse, some still have to click and drag those bars. This is why I am seeking a way of displaying one item at a time with link options. By the way, I believe the Iframe is suitably-sized for most resolutions commonly used for web-browsing. Another point is compatibility and Iframes. When the selected content is viewed in an incompatible browser, it will loose the frame attributes, retaining the content. But the content needs to meet compatibility criteria for this to work.

QUOTE
It seems to me you are confusing two separate issues: how to present the information to the visitor, and how to generalise its production from a large number of products

Actually, this is not entirely accurate. Production by generalization was never an issue. Production is by local means merely attempting a better way (from current build) of presentation based on popular tripe while reducing the profound effects site maintenance will have on me when my vision goes from bad to worse; this was already prognosticated.

This all started as a simple problem.(kind of big, but simple) in search of a viable solution. I just need a way of displaying 1-divd-content (paragraph) at a time of whatever category page is loaded.

Goal is to eliminate the many by replacing them with a few. The few is much easier and manageable to maintain.

Thank you all once again.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jan 13 2009, 07:10 PM
Post #3


.
********

Group: WDG Moderators
Posts: 9,686
Joined: 10-August 06
Member No.: 7



QUOTE(Baffled in Baltimore @ Jan 13 2009, 08:24 PM) *

My server does not support php, so that's out.

Assuming PHP turned out the best solution I suspect changing web host would be worth it. Learning PHP is of course another issue.

QUOTE
QUOTE
The iframe on the home page

To be honest, I don’t much-like using them either. This was done to prevent duplication of the parent.

Again you could use e.g. PHP (or Excel?) to include common content from an external file.

QUOTE
It is heavily CSS-based for style, layout, etc. It was desirable to maintain the structure and layout of the site by using an Iframe for deployment of content in the same area, avoiding page-changes and shifting of theme.

With an external CSS file this should not be a problem.

QUOTE
The idea is when a category is selected; the thumbs page for that category is displayed in the content Iframe. Next, an Image is selected, loading the page replacing the thumbs page with the selected content. Along with this are the necessary navigation links for Prev-Next, etc.

As long as there's a "Back to category"-link there. smile.gif

QUOTE
QUOTE
Search engines don't support JS

This was a given; I would like to avoid jscript for this reason and is why I am here, to seek out viable options. If jscript is the only way out, then so-be-it; but let’s avoid it if possible.

Search engines will have no problem indexing a page like http://www.alistapart.com/d/eatcake/final.html since the JS/DOM is just an enhancement of the existing content (as opposed to creating the content with JS). The problem here is more that hidden content is considered search engine manipulation and may get punished, e.g. Google advices against it but I have no idea if or how much it matters in practice. To my surprise I couldn't find much discussions about the "Eat cake" design and search engines.

QUOTE
the reason I am using a full image is to prevent text wrapping around it when the description gets a bit wordy.

That could be prevented with a two-column layout. E.g., you could put the text in P elements and give these a left margin wide enough to stay free of the floated images.

QUOTE
Another point to consider is this; Not everyone uses a scroll mouse, some still have to click and drag those bars. This is why I am seeking a way of displaying one item at a time with link options.

How about simply using internal links on the page? Especially as long as you're using the iframe this seems to be all you really need. Creating the anchor links for lots of page sections might be tedious, though.

In any case, hiding and showing parts of a page with JS and then showing the visible part through an iframe seems unnecessarily complicated.

QUOTE
By the way, I believe the Iframe is suitably-sized for most resolutions commonly used for web-browsing.

I think it's a bit small, while the index page http://www.wjstewart-associates.com/ contains a lot of unused space...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
Baffled in Baltimore   Show 1 div with PREV - NEXT link, hiding all others   Jan 9 2009, 05:29 PM
Darin McGrew   Your proposed solution is basically using one big ...   Jan 9 2009, 06:13 PM
Baffled in Baltimore   Thank you for your response I am going blind from ...   Jan 9 2009, 07:51 PM
Darin McGrew   There are JavaScript techniques for hiding some of...   Jan 9 2009, 08:02 PM
Baffled in Baltimore   Greetings Darin: I finally moved my Domain to the...   Feb 13 2009, 08:27 AM
Frederiek   To see a javascript driven sample, go read ALA...   Jan 10 2009, 06:35 AM
Baffled in Baltimore   I am an American Vet, now with a disability. Like...   Jan 10 2009, 11:30 AM
Christian J   Here's a simpler alternative to a database, us...   Jan 10 2009, 11:40 AM
Baffled in Baltimore   Thanks again for your help I appreciate the code ...   Jan 10 2009, 02:23 PM
Christian J   Please consider the following Example for clarifi...   Jan 10 2009, 05:15 PM
Baffled in Baltimore   By the way, a database structure sounds sweet but ...   Jan 10 2009, 03:13 PM
Baffled in Baltimore   Thanks again. Just wanted to make sure I was on t...   Jan 10 2009, 06:02 PM
Christian J   This php is unfamiliar to me, how do I put it to ...   Jan 10 2009, 07:48 PM
Baffled in Baltimore   Hello again; Based on the sample code (php script...   Jan 11 2009, 09:26 AM
Christian J   With an external file you'll need a different ...   Jan 11 2009, 10:43 AM
Baffled in Baltimore   Hello Christian, J Thank you again for all your gr...   Feb 25 2009, 11:16 AM
Baffled in Baltimore   Regarding PHP Addendum What I would like to do i...   Feb 25 2009, 10:17 PM
Christian J   What I would like to do is add an Image gallery t...   Feb 26 2009, 01:30 PM
Baffled in Baltimore   What I would like to do is add an Image gallery ...   Mar 30 2009, 08:34 AM
Baffled in Baltimore   Hello again; and thanks for your patience. I uplo...   Jan 11 2009, 11:27 AM
Christian J   I uploaded recent samples with the following resu...   Jan 11 2009, 03:02 PM
Brian Chandler   Hello again; and thanks for your patience. I upl...   Jan 12 2009, 01:33 AM
Baffled in Baltimore   Thanks for reply Well, I'm paying for this st...   Jan 11 2009, 04:43 PM
Christian J   In the mean time, I need to move back over to the...   Jan 12 2009, 08:17 AM
Baffled in Baltimore   This url produced the previous results; it has a p...   Jan 12 2009, 09:10 AM
Christian J   This url produced the previous results; it has a ...   Jan 12 2009, 10:12 AM
Brian Chandler   On what evidence? That something.php doesn...   Jan 12 2009, 11:02 AM
Baffled in Baltimore   In regards to Thank you for that. I know that j...   Jan 12 2009, 11:07 AM
Baffled in Baltimore   Hello again Christian, J My thanks again to Darin...   Jan 12 2009, 11:26 AM
Baffled in Baltimore   Hello again everyone. This was just received: Yup...   Jan 12 2009, 04:24 PM
Darin McGrew   I can see black on white but not shades of grey on...   Jan 12 2009, 04:50 PM
Brian Chandler   [quote name='Baffled in Baltimore' post='32870' d...   Jan 12 2009, 11:51 PM
Christian J   This url is just 1 of maybe a couple-dozen I plan...   Jan 12 2009, 08:18 PM
Frederiek   For what it's worth, Stu Nicholl's Simple ...   Jan 12 2009, 04:39 PM
Baffled in Baltimore   Hello Fredrick; and thanks. This is similar to so...   Jan 12 2009, 05:02 PM
Baffled in Baltimore   Hello Darin and thanks I can scroll-up the text s...   Jan 12 2009, 05:19 PM
Darin McGrew   I can scroll-up the text size, it is contrast tha...   Jan 12 2009, 06:53 PM
Christian J   I know jscript would be a problem for those brows...   Jan 12 2009, 08:23 PM
Baffled in Baltimore   Thank you for all the responses; some useful info ...   Jan 13 2009, 02:24 PM
Christian J   My server does not support php, so that's out...   Jan 13 2009, 07:10 PM
Darin McGrew   To me, this looks like a specific proposed solutio...   Jan 13 2009, 02:51 PM
Baffled in Baltimore   Thank you No, this was not the intent. The probl...   Jan 13 2009, 03:14 PM
Baffled in Baltimore   Greetings Christian, J And thank you for your gre...   Jan 13 2009, 08:37 PM
Christian J   Actually, this was initially attempted and I sti...   Jan 14 2009, 07:34 AM
Baffled in Baltimore   Hello again Christian, J I was thinking the sam...   Jan 14 2009, 08:53 AM
Christian J   also heading each section with the links or using...   Jan 14 2009, 09:29 AM
Baffled in Baltimore   For clarification; By mouseover menu, I am referr...   Jan 14 2009, 09:16 AM
Baffled in Baltimore   Hello again Christian, J; and thanks It's no...   Jan 14 2009, 11:30 AM
Christian J   I only know how to target when the target name is...   Jan 14 2009, 03:57 PM
Baffled in Baltimore   Hello again Christian, J This script looks a bit u...   Jan 14 2009, 05:23 PM
Christian J   If the script can be run as an external .js, (thi...   Jan 14 2009, 06:59 PM
Baffled in Baltimore   Hello Christian, J OK; thanks. I'll hard-code ...   Jan 14 2009, 09:06 PM
Baffled in Baltimore   Hi ALL... I realize this is off-topic; during a r...   Jan 16 2009, 05:22 PM
Christian J   I was thinking of replacing the iframe scheme on ...   Jan 17 2009, 07:09 AM
Baffled in Baltimore   :huh: I may know-enough about web-design to squeak...   Jan 17 2009, 01:15 PM
Christian J   An iframe was adopted for the "Main Content...   Jan 18 2009, 07:23 AM
Baffled in Baltimore   Without server-side functionality, this was a give...   Jan 18 2009, 11:19 AM
Christian J   At some point, I would like to publish under XHTM...   Jan 18 2009, 01:01 PM
Christian J   Content - Always Header - Mostly Sidebar - 2 or 3...   Jan 19 2009, 08:38 AM
Darin McGrew   I would use a server-side content management syste...   Jan 16 2009, 06:20 PM
Baffled in Baltimore   Hello Darin; and thanks Unfortunately, my server ...   Jan 16 2009, 06:27 PM
Baffled in Baltimore   Hello Darin; and thanks Unfortunately, my server...   Jan 16 2009, 06:40 PM
Darin McGrew   Server-side mechanisms don't rely on browser c...   Jan 17 2009, 07:19 PM
Baffled in Baltimore   Thank you The question was rhetorical I do not ha...   Jan 17 2009, 09:33 PM
Frederiek   Go see Coda-Slider demo. It uses a coda-slider jav...   Jan 18 2009, 05:18 AM
Baffled in Baltimore   Nice! Not exactly what I had in mind but Nice...   Jan 18 2009, 11:27 AM
Christian J   Nice! Not exactly what I had in mind but Nic...   Jan 18 2009, 01:04 PM
Baffled in Baltimore   It's what I had in mind as well.   Jan 18 2009, 01:24 PM
Baffled in Baltimore   OK; thanks. I'll stick with what I have for n...   Jan 18 2009, 01:22 PM
Frederiek   oh well, it was just a suggestion which seemed lik...   Jan 18 2009, 01:28 PM
Baffled in Baltimore   oh well, it was just a suggestion which seemed li...   Jan 18 2009, 04:15 PM
Baffled in Baltimore   Actually, I believe this would be preferred. Tha...   Jan 19 2009, 09:52 AM
Christian J   Here's a simple demo: http://hem.fyristorg.com...   Jan 19 2009, 02:34 PM
Brian Chandler   Here's a simple demo: http://hem.fyristorg.co...   Jan 19 2009, 02:48 PM
Christian J   Hmm, doesn't appear to "work" for m...   Jan 19 2009, 06:20 PM
Baffled in Baltimore   Here's a simple demo: [url=http://hem.fyristo...   Jan 20 2009, 12:43 PM
Christian J   Or did I miss-read the intent of the above script...   Jan 20 2009, 04:19 PM
Baffled in Baltimore   [quote name='Baffled in Baltimore' post='33217' d...   Jan 22 2009, 09:56 AM
Christian J   [*]Style sheets in use employ positioning as one ...   Jan 22 2009, 03:03 PM
Darin McGrew   How can a div be sugar-coated to function like an ...   Jan 22 2009, 03:32 PM
Christian J   And frankly, using JavaScript to make div element...   Jan 22 2009, 06:05 PM
Baffled in Baltimore   Thanks guys: I'll try to do something with al...   Jan 19 2009, 06:23 PM
Christian J   Just an Idea I was toying with; I added a dom im...   Jan 19 2009, 07:20 PM
Baffled in Baltimore   Like here: http://www.wjstewart-associates.com/...   Jan 20 2009, 08:02 AM
Baffled in Baltimore   Gentlemen; hello again. I apologize for the brief ...   Jan 23 2009, 04:02 PM
Baffled in Baltimore   Hello everyone; Other health issues aside, my visi...   Feb 4 2009, 11:48 AM
Darin McGrew   Sorry, but I don't have experience developing ...   Feb 13 2009, 01:25 PM
Baffled in Baltimore   Thanks Darin Actually, I did try shopcms_1_1_0 bu...   Feb 13 2009, 01:55 PM
Darin McGrew   Based on what you've written, to me it sounds ...   Feb 13 2009, 02:25 PM
Baffled in Baltimore   Based on what you've written, to me it sounds...   Feb 13 2009, 07:27 PM
Darin McGrew   You can enforce high contrast by configuring your ...   Feb 13 2009, 07:43 PM
Baffled in Baltimore   Ok, Thanks   Feb 14 2009, 08:49 AM
Baffled in Baltimore   Hello Christian, J Please forgive my lengthy abse...   Mar 26 2009, 01:00 PM
Christian J   Sorry, I've been a bit busy lately (still am)....   Mar 30 2009, 06:20 PM
Baffled in Baltimore   Can't afford it; dissability... It's a sha...   Mar 31 2009, 08:11 AM
Baffled in Baltimore   I recovered a test file here. It is the PHP that ...   Mar 31 2009, 10:56 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 15th June 2024 - 09:43 AM