Anchor
Autor: William J.
Visitado 2333,
Seguidores 1,
Compartilhado 0
Hi I am trying to use a 1 page website with an anchor for the menu items. I can get the anchor to work ok but I find it is not stopping at the place I need it to. It either stops too high or too low. How can I fine tune the anchor location so that when I click on the menu button it stops where I intend it to stop.
cheers
Publicado em
It always stops at the top of the object, you can't set it on a part of the object.
So you need to think good about the objects use and content. (some like text can be split up setting an anchor in another part. but behavior will always be top of object.
If not please show URL so we can check.
Thanks!
Autor
Cheers Andre, I will have to remember that. The last program I used I was able to fine tune the position that the page stopped.
Yes, That's also sometimes possible, x5 have set t he anchor on the object. And there is something to say about that as well. Anyway if you take that in mind you should be able to produce a good 1 page site.
Best regards,
... it would take a link to verify; ... maybe you use the always visible menu bar; ... if this were the case, the Anchor would align to the TOP of the window, then under the menu, being able to be hidden the eventual title of the section ...
... in this case, it would be necessary to insert an EMPTY object after the anchor or anchoring this, evaluating the return lines necessary to space in an empty Text Object, or it is better assigning the necessary pixels (those of the menu bar) in height in an HTML Code Object containing only the ( )
______________________________________
(IT) ... ci vorrebbe un link per verificare; ...forse fai uso della barra menu sempre visibile; ...se il caso fosse questo, l'Ancora si allineerebbe al TOP della finestra, quindi sotto al menu, potendo venire ad essere nascosto l'eventuale titolo della sezione...
... nel caso detto, occorrerebbe inserire un Oggetto VUOTO dopo dell'ancoraggio o ancorando questo, valutando le righe di ritorno a capo necessarie per distanziare in un Oggetto Testo vuoto, oppure e meglio assegnando i pixel necessari (quelli della barra del menu) in altezza in un Oggetto Codice HTML contenente solo il codice
.
ciao
.
Autor
Cheers Andre, KolAsim makes a good point. That would be along the lines that I have used in the past. I also forgot about the "always visible menu bar" I think I might be able to make it work the way I need it will just take a bit of trial and error on my part.
cheers