Noscript or link changing or what?
Hi-
On a site review in a accessibility forum I received the following response.
[INDENT][INDENT]kiwibrit: wrote
I think it's a pretty good effort.
However, if I "click on slide show" form the home page, and have JavaScript disabled, I do not get a slide show, which might be confusing. How about having a "click to see portfolio" and a text offering a hyperlink to a page with enlargeable thumbnails, for those with JavaScript disabled?
The general consensus is that it is better to code in strict code than transitional.
Hope that helps.[/INDENT][/INDENT]
I thought the noscript hyperlink suggestion had some validity however I did not want to do it in that simple way since I thought having an extra noscript hyperlink offering would ruin the aesthetics of my design when it appeared. So I thought of the idea of using the JavaScript method I have half remembered of replacing HTML attributes with any value you like. I would replace the anchor tags "href" attribute to point to my JavaScript enabled timed slide changing slideshow if JavaScript was turned on and have the default links as the thumbnail gallery the above quote suggests I include in my site. Since I only half remembered the JavaScript that would do this I called for the assistance of an expert another site who would answer this question. I know this was the easy way out but I did it nonetheless. The response I got was a little disturbing. This expert gave me some code that would work not the method I remembered but code that would work nonetheless. However it came with the following warning.
[INDENT][INDENT]Arch Stanton: wrote
Be wary of this, due to abuse it might be blocked by pop-up blocking/anti-spyware/anti-fishing software. Maybe. But that would apply to any adjustment of a link's destination, not just this method. Maybe.[/INDENT][/INDENT]
Mr. Arch Stanton Way of replacing links used the onclick event instead of the onload event I was thinking of using however that's no problem the problem is how to do it with out getting those spy ware pop-up blocker problems he mentioned. Can I do it with attribute replacement or the onclick event or writing JavaScript code to my page or how? I suppose I could live with an unsightly link that appears if script is turned off but I would like a better alternative. So please give me your ideas.
Sincerely
Marc
Link to the side I am talking about
Http://users.dedac.com/marcmiller/Bob.html
Greg K posted this at 21:10 — 17th May 2006.
He has: 2,145 posts
Joined: Nov 2003
A far as it goes for people who have Javascript disbaled, you will not have any alternatie other than using the or another link somewhere else to the content. If Javascript is disabled, it doesn't matter which event you use.
Anything you place in if I remeber right will not be displayed in browsers that have javascript enabled, so the "unsightly link" would only be there for those who could not acess the content otherwise.
From looking at your site, why not use tags to enclose navigation links to the different pictures. Yeah ths would mean each image would have to have it's own page as "backup", but then people could click on "NEXT" "PREV" links instead of just seeing one picture.
-Greg
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.