954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

accessable website

Hello all, I have a big question for you all and hope you can help me. I have this web site that I took over, but did not build. This site was built with people with vision impairments in mind. When ever I do updates to the site, I have to make sure I copy them into three folders. now this is a pain for me. is there away to fix this with out rebuilding this site? One other question is. There are three contrast to pick from and thats what we want. However if you are on a link and you change the contrast. the site defaults back to the home page, and that I do not want. I hope some one can give me some input on this. Here is the site.

http://www.aacwinnipeg.mb.ca/

Thanks for your time and reading this long message.

maxxxx
Newbie Poster
20 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
 

I think using PHP or any other language may fix this...

shahbaz13
Junior Poster in Training
52 posts since Jul 2011
Reputation Points: 10
Solved Threads: 4
 

The issue with changing the style and being redirected to the home page is that the links do exactly that - redirect the user to the homepage of the selected style. You would need to add some javascript functionality so the current page is taken into consideration and then a change to the style would redirect the user to the same page but of the selected style version. Does that make sense?

hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 169
 

thanks hericles you have point out the right problem, may now i fix this problem at my website.

itexamstube
Newbie Poster
11 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

How is your javascript? You need to create a function that accepts the selected style as an input parameter and then find the current page the user is on. The javascript command document.location.href will give you the full URL. You can then split that to get the actual page.
Rebuild the URL to include the selected style and current page and then call the redirect to send the user to the new page.

hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 169
 

I'm finding ths a little confusing. I'm told by some people to add php. but i never used php before. I'm thinking of rebuilding the site.

charisma
Light Poster
29 posts since Oct 2008
Reputation Points: 10
Solved Threads: 1
 

Either PHP or Javascript can fix the particular problem with the linking. If you wanted to add more specialized functionality then server side code (be it PHP, .Net, ruby, etc) would be required.
If you aren't familar with any of these I would suggest outsourcing the job to someone who is.

hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 169
 

I agree. but this is a volunteer group. so i'm trying to keep cost down. i'm researching this and trying things as well. thanks for your help :)

charisma
Light Poster
29 posts since Oct 2008
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: