Click to See Complete Forum and Search --> : Show Region


polaatx2
12-12-2002, 10:25 PM
Hello group:

I put a show_region script on this page
http://www.aasg.info/pages/show_region_test.htm
to minimize or maximize a table.

1. How do I set the code so the region is minimized by default (when
the page loads).

2. Does anyone know where to find code similar to this? I call it "show region" because I can't think of a better name. But I am sure there is a correct name for this. I've seen this sort of space-saving scripts used on Microsoft sites a lot. From a web designer's point of view, I think they are cool because they save so much space and clutter.

Thanks a bunch for your help,

crispy:)

hfraser
12-12-2002, 10:55 PM
<body onLoad="maximinmize('bookmark_section');">

hfraser
12-12-2002, 10:59 PM
that was for question one and now the second ... you are actualy using disply (on and off)

and why do you have javascript:void%20maximinmize('bookmark_section');

why the void%20?

just curious and and a little bug with the dont show that function if you press it twice ot three times i dont remember it will display the layer again!

hans!

polaatx2
12-13-2002, 09:24 AM
hfraser, Thanks so much for your reply.

As for your question for why use void%20, I just stole this script from a site I was browsing (Freeservers.com) and wouldn't know why they did this. I am a javascript newbie.

Another thing is that the + image does not show when the region is minimized (although I am sure the image is in the right directory). Do you know why that is?


Finally, hfraser, i search javascriptsource for the name you gave me: disply (on and off) and similar variations and couldn't find anything like this. Could you guess again on what the script is called? As a web designer I find such scripts very cool and efficient for saving space and avoiding clutter. And I am surprised why they are not used more often.

Thanks a bunch.