HTML Anchor Tag Problems

+2
culchi
djdart
6 posters

Go down

anchor - HTML Anchor Tag Problems Empty HTML Anchor Tag Problems

Post by djdart December 26th 2008, 3:29 pm

I've setup a Master List on my forum as a post, that is links to other topics that have been posted. I did this because it's eventullay going to be a massive amount of posts and the Master List is an easy way to index it. This Master List, over time, is going to become rather larget and to help users, I wanted to setup like an A - B - C - D -... at the top, and they click on the letter, and it takes them to that section of the post.

For example
User A is looking for Spiny Spipi on the list. They click the S at the top, which takes them to the S section in the page.

Now to do this I understand that i should use the following code
Code:
<a href="#S">S</a>
then where the S section is i use
Code:
<a name="S">S:</a>

I got all that. Here is my problem. When I put that code into the post and hit the preview button, it works just fine in the preview, no errors or anthing. Once I hit save, then the actual post ignores the HTML coding and displays the tags and all.

Before asking, please know the following:
  1. I have ENABLED HTML for my forum
  2. HTML ISN'T DISABLED on that post in particular


Anyone know why it's doing this or how to fix it?

A link to my forum incase you want to try it yourself
http://eternaleclipse.forumotion.net/forum.htm
avatar
djdart
New Member

Posts : 24
Reputation : 0
Language : English

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by djdart December 27th 2008, 10:44 pm

bump so maybe someone can help
avatar
djdart
New Member

Posts : 24
Reputation : 0
Language : English

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by djdart January 2nd 2009, 7:53 pm

still not resolved
avatar
djdart
New Member

Posts : 24
Reputation : 0
Language : English

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 2nd 2009, 2:35 pm

im actually looking for exactly the same thing
<a href="#S">S</a>


Last edited by culchi on February 13th 2009, 1:47 pm; edited 2 times in total
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by Marchie February 3rd 2009, 1:42 pm

Does anyone know?

I could really use this code!!!
avatar
Marchie
New Member

Posts : 3
Reputation : 0
Language : English

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by Guest February 3rd 2009, 1:59 pm

Before you post the code be sure you click the A/A button in the top right of the text area.
avatar
Guest
Guest


Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 5th 2009, 10:19 am

that only works for the
Code that links to the tag but not for the actual tag

ie it works for the "a href" but not "a name"


Last edited by culchi on February 9th 2009, 11:07 am; edited 2 times in total
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by MAGLIPONJUN February 7th 2009, 6:03 am

THNK U FOR THE HELP SORI FOR THAT


Last edited by MAGLIPONJUN on February 7th 2009, 6:24 am; edited 1 time in total
avatar
MAGLIPONJUN
New Member

Posts : 1
Reputation : 0
Language : english

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by Sanket February 7th 2009, 6:08 am

@MAGLIPONJUN wrote:CAN YOU HELP ME WHY IS IT MY HTML IS OFF WHEN I PUT A COMMENT ON MY SITE WHERE COULD I FIND THE HTML ON AND OFF ONLY THE BBCODES WAS ON WAT BUTTON SHOULD I SET TEACH ME GUYS THNX
https://help.forumotion.com/frequently-asked-questions-f5/enabling-html-t35636.htm?highlight=activate+html
In the future, Please make a new thread for your problem instead of posting your problem in someone else's
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 9th 2009, 11:07 am

any ideas anyone
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by DarkLord February 9th 2009, 1:15 pm

try using the full url for the page

Code:
<a href=http://url of that page>Page name</a>
DarkLord
DarkLord
Forumember

Male Posts : 196
Reputation : 0
Language : English,Html,CSS,php,java
Location : India

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 11th 2009, 3:53 pm

i have tried using that but as i said its not the a href part thats the problem that works fine its the a name part
but youve given me an idea so im gonna try something
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by Guest February 11th 2009, 9:34 pm

Here are your options, there is a few Razz

Code:
<a href="http://www.your_site.com">Site Name</a>

<a href="http://www.your_site.com" title="Site name">Site Name</a> - (Display's name when you hover the link)

<a href="http://www.your_site.com"><img src="http://www.image_here.png"></a>

<a href="http://www.your_site.com"><img src="http://www.image_here.png">Site Name</a> - (Display's text and image)

<a href="http://www.your_site.com" title="Site name" target="_blank">Site Name</a> - (Display's name when you hover the link and open's in new page)

You can see that you can mix these up to create different styled links

You can even create one link that opens two pages at the same time Very Happy

regards






Craig
avatar
Guest
Guest


Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 13th 2009, 1:29 pm

thanks for those craig but the linking part isnt the problem. its the anchor to which we are trying to link that wont setup. is the

Code:
S:

bit

<a name="S">S:</a>
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 13th 2009, 1:48 pm

if you want an example of how it works click on the s at the bottom of my first post
it works here so i dont know why it wont work on the forums
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by Guest February 13th 2009, 2:01 pm

Have you tried changing your prefenernces in your profile,
This makes a difference to how the HTML is displayed to you

1. Profile\Preferences

2. "Always allow HTML :" set it to yes

If this is not set to yes then even though the Forum and Post HTML are on your profile wont display it

Regards






Craig
avatar
Guest
Guest


Back to top Go down

anchor - HTML Anchor Tag Problems Empty Re: HTML Anchor Tag Problems

Post by culchi February 13th 2009, 2:42 pm

thank you craig yes that was it.
as a note please be careful because you cannot edit the post without reentering the code
avatar
culchi
New Member

Posts : 8
Reputation : 0
Language : English UK

View user profile

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum