Cikkben elhelyezett felsorolásra kattintva cikken belüli pozicióba ugrás

Több
6 éve 8 hónapja #11128 Írta: Pappy
Ave .)

Felmerült bennem egy kérdés, és mind a 118 témát címre átnéztem de nem találtam amit keresek, vagy nem egy rugóra jár az agyam másokkal.
Olyasmit szeretnék, hogy egy joomla cikkbe az oldalon mondjuk a cikk elejére teszek egy felsorolást, Ezt valahogy ellárom amolyan linkkel, hogy kattintható legyen, és ekkor ha mondjuk az első tartalomra kattintok a felsorolásban, akkor az az alatta lévő cikkben ahhoz a kiemelt tartalomhoz ugrik amit linkként elhelyeztem fent a felsorolásban


tehát:
1 cím
2 cím
3 cím

alatta a teljes cikk benne a fenti címek is, és mikor az 1 címre kattintok, a joomla legördül magától oda ahol az 1 cím megtalálható, és ezt teszi akkor is mikor a 2 - 3 címre kattintok.

lehetséges ezt?


Valamint olyasmi is felmerült bennem, hogy lehet valahogy ezekkel a szerkesztőkkel a betűk színét beállítani? Alapban fekete, de ha pl fehéret kéket stb akarok?



köszönöm szépen!

Jelentkezz be, hogy te is részt vehess beszélgetésben!

Több
6 éve 8 hónapja - 6 éve 8 hónapja #11130 Írta: Pappy
Megoldottam, de leírom, hátha valakinek gondja lenne vele és akkor jelenthet egyféle megoldást ez is.

JCE editort feltettem, mert úgy gondoltam, többet mutat mint amit a többi szerkesztő.

A cikk elejére tettem egy felsorolást.
1
2
3
4
5

megkerestem a cikkben az 1. rész, és elé tettem egy horgonyt

ezután felmentem a felsoroláshoz, az 1. ponthoz és oda, annak kijelölése után betettem egy linket, amiben a horgonyra hivatkoztam, és készen is volt.
Attributes részen lenn az Article Anchor-ban vannak a horgonyok.
Utolsó szerkesztés: 6 éve 8 hónapja Pappy által.

Jelentkezz be, hogy te is részt vehess beszélgetésben!

Több
6 éve 8 hónapja - 6 éve 8 hónapja #11131 Írta: Zotius
Erre a célra az <a> tag-et használjuk, annyi különbséggel, hogy itt a cél beállításához nem url-t, hanem egy azonosítót adunk meg, oldalon belül.
A célpontnál, ahova "ugorni" kell, egy azonosítót kell beállítani.
Code:
<!DOCTYPE html> <html> <body> <h2 id="top">Top of page!</h2> <p>In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.</p> <p>"Whenever you feel like criticizing any one," he told me, "just remember that all the people in this world haven't had the advantages that you've had."</p> <p>He didn't say any more, but we've always been unusually communicative in a reserved way, and I understood that he meant a great deal more than that. In consequence, I'm inclined to reserve all judgments, a habit that has opened up many curious natures to me and also made me the victim of not a few veteran bores. The abnormal mind is quick to detect and attach itself to this quality when it appears in a normal person, and so it came about that in college I was unjustly accused of being a politician, because I was privy to the secret griefs of wild, unknown men. Most of the confidences were unsought-frequently I have feigned sleep, preoccupation, or a hostile levity when I realized by some unmistakable sign that an intimate revelation was quivering on the horizon; for the intimate revelations of young men, or at least the terms in which they express them, are usually plagiaristic and marred by obvious suppressions.</p> <p>And, after boasting this way of my tolerance, I come to the admission that it has a limit. Conduct may be founded on the hard rock or the wet marshes, but after a certain point I don't care what it's founded on. When I came back from the East last autumn I felt that I wanted the world to be in uniform and at a sort of moral attention forever; I wanted no more riotous excursions with privileged glimpses into the human heart. Only Gatsby, the man who gives his name to this book, was exempt from my reaction-Gatsby, who represented everything for which I have an unaffected scorn. This responsiveness had nothing to do with that flabby impressionability which is dignified under the name of the "creative temperament"-it was an extraordinary gift for hope, a romantic readiness such as I have never found in any other person and which it is not likely I shall ever find again. No-Gatsby turned out all right at the end; it is what preyed on Gatsby, what foul dust floated in the wake of his dreams that temporarily closed out my interest in the abortive sorrows and short-winded elations of men.</p> <a href="#top">Go to top</a> </body> </html>

A fenti minta a W3Schools oldalról származik.

Ha hasznos volt a hozzászólásom számodra, nyugodtan megnyomhatod lent a „Köszönet” gombot :)
Skype: zotius
Utolsó szerkesztés: 6 éve 8 hónapja Zotius által.
A következő felhasználók mondtak köszönetet: Pappy

Jelentkezz be, hogy te is részt vehess beszélgetésben!