Toon posts:

static menu vraagje (in ENG)

Pagina: 1
Acties:
  • 39 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik post dit op verzoek van mn broertje, want hij had dit al op een ander forum gepost maar daar heeft hij nog geen antwoord gekregen (het is in het Engels omdat dat andere forum een Engels forum is)

http://www.anime-power.net/test/test.html

Since today I have my own domain :) and I have a question about the static menu's I'm using, when viewing it in a resolution above 1024x768 the 3 layers are still in the visible bit of the page
Afbeeldingslocatie: http://www.anime-power.net/good.gif

But when viewing the page with a lower resolution the visible bit of the page is to small to show all of menu 1 and menu 3
Afbeeldingslocatie: http://www.anime-power.net/bad.gif
so I thought a solution would be to let the menu scroll with the page until its completely visible and then the idea was to make the menu static so that it stays in screen.

http://www.anime-power.net/test/test.html
code:
1
2
3
4
5
t++;
if (t==1 && winHt<460+230) {this.d=this.d-((460+230)-winHt); }
if (t==3 && winHt<371+340) {this.d=this.d-((371+340)-winHt); }

if (t==3) {t=0;}

As you can see this is particily successful, but when scrolling to the top of the page again the menu keeps in its static place on the screen where I would like it stop being static when it reaches its starting position again, I've tried several things but non of them was successful :(

There are no credits of the scripts I copyed on this page, because I wanted to have this test version as small as possible.
But dont worry in the finaly version, I'll make sure that the credits of the scripts stand out

Verwijderd

Vertaal je vraag eerst maar naar het Nederlands. Als je antwoord wilt, mag je zelf ook wat moeite doen. Hier gan we niet aan beginnen.

Dit topic is gesloten.