We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
How to link to a specific point in a web page?
minerva_windsong
Posts: 3,808 Forumite
in Techie Stuff
Does anyone know how to link to a specific point in a web page (rather than just the top of the page)? It's in the Expression Engine CMS and using HTML.
Thanks!
Thanks!
"A mind needs books as a sword needs a whetstone, if it is to keep its edge." - Tyrion Lannister
Married my best friend 1st November 2014
Loose = the opposite of tight (eg "These trousers feel a little loose")
Lose = the opposite of find/gain (eg "I'm going to lose weight this year")
0
Comments
-
Hi,
In html you can code like this
<a name="Part_1"></a> Part one of page
<a name="Part_2"></a> Part two of page
then do
<a href="#Part 1">How does part 1 work?</a>
or as a url http://domain/mainpage#Part_14.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0 -
The above creates link destinationsdebitcardmayhem wrote: »
In html you can code like this
<a name="Part_1"></a> Part one of page
<a name="Part_2"></a> Part two of page
The above creates link originsdebitcardmayhem wrote: »Hi, we’ve had to remove your signature. If you’re not sure why please read the forum rules or email the forum team if you’re still unsure - MSE ForumTeam0 -
Cheers

So just to clarify, I'd do this:<a name="Part_1"></a> Part one of page
<a name="Part_2"></a> Part two of page
on the page I want to link to? And this:
on the page I want to link from?"A mind needs books as a sword needs a whetstone, if it is to keep its edge." - Tyrion LannisterMarried my best friend 1st November 2014Loose = the opposite of tight (eg "These trousers feel a little loose")Lose = the opposite of find/gain (eg "I'm going to lose weight this year")0 -
Yes that's itminerva_windsong wrote: »Cheers
So just to clarify, I'd do this:
on the page I want to link to? And this:
on the page I want to link from?4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0 -
Just to clarify a bit
This is the page you have --
==========================
<HTML>
<a name="Top"></a>
<a href="#Part_1"> goto to Part One </a>
<a href="#Part_2"> goto to Part Two </a>
Top of page lots
lots
of
stuff
...
more stuff
...
<a name="Part_1"> Part one of page</a>
more part
more prt1
...
<a name="Part_2"> Part two of page</a>
more part 2
....
.....
blah blah
blah
then you could say
<a href="#Top">Back to top</a>
</HTML>
==============================
so above you can flip from the start to part 1 or part 2 then at the end you can go back to the top . The hash(#) resolves to "this Page"
now on another page you could do this -
<a href="http://mywebname.something/pageabovename#Part_1" This is Part one </a>
<a href="http://mywebname.something/pageabovename#Part_2" This is Part two </a>
There you go
Edit moved my </a>'s ...... bad morning TFI Friday
4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 354.2K Banking & Borrowing
- 254.3K Reduce Debt & Boost Income
- 455.3K Spending & Discounts
- 247.2K Work, Benefits & Business
- 603.8K Mortgages, Homes & Bills
- 178.4K Life & Family
- 261.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.7K Read-Only Boards
