 |
How did you create the internal links?
When you click on a smiley it takes you farther down the page, how did you do that?
It would be extremely helpful to my entry, if you could tell me enough that I should be able to do it myself I would be very thankful.
|   | Subject: How did you do that? Posted Feb 5, 2007 by SEF This is a reply to this Posting.
| | Post: 2
|
To view the page code, try this link: test588279
However, the internal links really just exploit the standard HTML address (A) tag with a NAME which then becomes the reference point for a # directive using that name at the end of the page name.
That's a lot of script.
I see the A NAME="stuff"
But, I don't quite follow.
|   | Subject: How did you do that? Posted Feb 5, 2007 by SEF This is a reply to this Posting.
| | Post: 4
|
The bit you want to be able to jump to needs to be given an address label (NAME), eg: <A NAME="footinmouth"> <HEADER>Foot in Mouth</HEADER> </A>
NB It doesn't have to be a header. It could be any text or a picture.
Then the link to jump to that place would be a normal A HREF tag ending in the #name or one of the local GuideML forms including that, eg:
<SMILEY TYPE="footinmouth" H2G2="A588279#footinmouth"/>
to get the picture and link combined. Or for just a text link:
<LINK H2G2="A588279#footinmouth">text</LINK>
Thank You! Hope I don't botch it up.
|   | Subject: How did you do that? Posted Feb 5, 2007 by SEF This is a reply to this Posting.
| | Post: 6
|
To not botch it up: make sure you use a unique name for each jump location and don't put any silly characters or spaces into them.
what about a number like 1 or 2 or 3 ? I know you can't use any of these (?@#$%^&*)
|   | Subject: How did you do that? Posted Feb 5, 2007 by SEF This is a reply to this Posting.
| | Post: 8
|
Numbers are OK. So should be the underscore character: _
|   | Subject: How did you do that? Posted Feb 8, 2007 by U3214422 This is a reply to this Posting.
| | Post: 10
|
Like this? http://www.bbc.co.uk/dna/h2g2/alaba...ter/F71757?thread=3862908#p45367672
Please note that Not Panicking Ltd is not responsible for the content of any external sites listed. The content on h2g2 is created by h2g2's Researchers, who are members of the public. Unlike Edited Guide Entries, the content on this page has not necessarily been checked by a h2g2 editor. In the event that you consider anything on this page to be in breach of the site's House Rules, please
click here
.
|