A Challenge - Layer/Div Tag related

Reply

Join Date: Jun 2006
Posts: 18
Reputation: gendv is an unknown quantity at this point 
Solved Threads: 0
gendv gendv is offline Offline
Newbie Poster

A Challenge - Layer/Div Tag related

 
0
  #1
Jun 27th, 2006
ok, firstly, an outline.

I create coursware, and the coursware i'm crearing now is HTML, JS etc, etc. It works via MSIE, and is fullscreen, so it does not appear to the client that it is infact MSIE.

Ok, so here's the challenge.

There are paragraphs that build up (in layers) via show/hide function, at the ned of a build-up, it navigates to the next screen that works in precisely the same way.

What I need to know is, If I press the "Back" button from the second screen, it navigates, obviously to the 1st screen, BUT now, I need ALL the layers to be visible when I navigate back.

Any Suggestions?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: A Challenge - Layer/Div Tag related

 
1
  #2
Jun 27th, 2006
Have an "onload" function. The script would look at the document's referrer. If the documents are named in a logical way, for example "page1", "page2", then you can do a substr on the name, get the number, and tell which direction you came from.

If you're running fullscreen, then what back button are you pressing? If you have built your own navigation buttons, then you can handle this with a querystring variable.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 18
Reputation: gendv is an unknown quantity at this point 
Solved Threads: 0
gendv gendv is offline Offline
Newbie Poster

Re: A Challenge - Layer/Div Tag related

 
0
  #3
Jun 28th, 2006
Originally Posted by tgreer
Have an "onload" function. The script would look at the document's referrer. If the documents are named in a logical way, for example "page1", "page2", then you can do a substr on the name, get the number, and tell which direction you came from.

If you're running fullscreen, then what back button are you pressing? If you have built your own navigation buttons, then you can handle this with a querystring variable.
Have built my own navigational buttons.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: A Challenge - Layer/Div Tag related

 
0
  #4
Jun 28th, 2006
Well, there you go. Have the back button append a querystring variable, and have all your "onload" scripts check for the presence of that variable, and act accordingly.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 483
Reputation: campkev is an unknown quantity at this point 
Solved Threads: 19
campkev campkev is offline Offline
Posting Pro in Training

Re: A Challenge - Layer/Div Tag related

 
0
  #5
Jun 28th, 2006
don't forget that the user can just use the backspace button on the keyboard
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: A Challenge - Layer/Div Tag related

 
0
  #6
Jun 28th, 2006
I tend not to worry too much about these issues. If a user uses shortcuts around my navigation, I assume they know what they are doing, and what results they'll get. If there are any complaints, I simply demonstrate that the issue has been addressed in the site's navigational elements. Done.

I also realize that most users quickly tire of "sexy interface effects", and while I pass no judgment on fading/layers or gendv's courseware system, it's not an effect I'd use, personally. If an effect is getting in the way of usablity, then do away with the effect.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 18
Reputation: gendv is an unknown quantity at this point 
Solved Threads: 0
gendv gendv is offline Offline
Newbie Poster

Re: A Challenge - Layer/Div Tag related

 
0
  #7
Jun 29th, 2006
Unfortunately navigation is not up to me, I was told to figure out/find out how to do it for the clients... And as it happens the clients we are doing it for or not the brightest peanuts in the packet.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC