The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Html Anchor

View previous topic View next topic Go down

Html Anchor

Post by Plancker on November 4th 2010, 1:50 am

I know how Anchors work no worries. but i have this problem when i use anchor it shows up like this :

But i want it to show up like this :

how do i do this

http://24-7.forumotion.com

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by MrMario on November 4th 2010, 1:55 am

What am I look at? I don't really understand.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Re: Html Anchor

Post by Plancker on November 4th 2010, 1:57 am

well my anchor goes to the text (first picture) i want it to go to the post (second picture)

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by MrMario on November 4th 2010, 2:02 am

I still don't understand what you mean by anchor nor do I see the difference in picture one to picture two.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Re: Html Anchor

Post by Plancker on November 4th 2010, 2:10 am

picture 2 is sligthly higer if you look at text

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by demon450 on November 4th 2010, 2:29 am

oh i see, try checking the url, if it sends you to a certain part of the post take away the #(numbers)

demon450
Forumember

Posts : 28
Reputation : 0
Language : Spanish

Back to top Go down

Re: Html Anchor

Post by Plancker on November 4th 2010, 10:28 am

? don't understand look at my codes

First one :
Code:
<a href="#Topic1">To be member of 24/7 Apply</a>

Second one :
Code:
<a name="Topic1">Apply Here</a>

now it goes to the letters i want it to go to the top of the post

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by kirk on November 4th 2010, 6:05 pm

i am with Mario with this.. i do not understand what i am supported to be looking at or what you mean by a html anchor?

What ever the case.. the codes you provided are missing the links? so wherever you want it to go you will have to add the link for it.

Code:
<a href="YOUR LINK HERE" class="postlink" target="_blank">Your Text or direct image link here</a>

Then if that dont help please explain exactly what it is we are supposed to be looking at and where the html coding you are using will be be located


kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Html Anchor

Post by Plancker on November 4th 2010, 6:23 pm

http://24-7.forumotion.com/rules-f1/general-rules-t1.htm

I have these Rules and just click on them they Go to the text on same topic so i don't need links i think...

but i do not understand what u posted above

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by kirk on November 4th 2010, 6:49 pm

@Plancker wrote:http://24-7.forumotion.com/rules-f1/general-rules-t1.htm

I have these Rules and just click on them they Go to the text on same topic so i don't need links i think...

but i do not understand what u posted above

ok lets use this for an example.
now the link that it clicks to is only the link to this thread.
but if you add the link you want to it the it will click where you want it to go. (I guess for that it would be your registration page link.).
then you would just add the link in the code i provided above.

you would put the link where it says place your link here.. then add the text you want where it says your text or direct image link here.. so that will be the html coding for it. then you will have to add the code where ever it's supposed to go.

To be member of 24/7 Apply

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Html Anchor

Post by Plancker on November 4th 2010, 7:00 pm

i do not understand again let me explain

I have 1 post with Rule list
I have Multiple Post with an Explanation (same thread)

I want an anchor within same webpage that goes to the top of the post (picture 2) but with the code I provided it goes to the text i gave the "name="#Topic1" "

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Beno on November 4th 2010, 7:51 pm

http://www.plus2net.com/html_tutorial/link-within.php

Read that article then just add the different anchor points within the posts Very Happy

Beno
Hyperactive

Male Posts : 3024
Reputation : 67
Language : English
Location : England

http://www.benwhitedesign.co.uk

Back to top Go down

Re: Html Anchor

Post by Plancker on November 4th 2010, 7:58 pm

that goes to text again i want it to a post

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by RoNo on November 4th 2010, 11:54 pm


You can fix it by editing portions of the Html page.
Move your anchors to the subject lines instead of
the "Apply Here" and "Hackers and Cheaters" tables.

Test General Rules anchors 1 & 2 on →this demo page

View the page source to see where the edits are.

Spoiler:
Html demo page edits:

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>
<span class="postdetails"><img src="https://i20.servimg.com/u/f20/15/30/64/67/catego10.png" alt="Post" title="Post" border="0" />

<!--- Moved <a name="Topic1"> to here & re-named General Rules to General Rules [#1] --->
<a name="Topic1">Subject: Re: General rules [#1] <img src="http://illiweb.com/fa/empty.gif" alt="" border="0" />Sat Oct 30, 2010 10:40 pm</a>
</span>

</td><td valign="top" nowrap="nowrap" class="post-options"> </td></tr><tr><td colspan="2" class="hr"><hr /></td></tr><tr><td colspan="2"><div id="censor"><div class="postbody"><div>



<table border="1"><tr><td align="left">

<span style="font-size: 20px; line-height: normal">

<!--- Removed link: <a name="Topic1">Apply Here</a> from here --->
Apply Here</span>

</td></tr></table>


///////////////////////////////////////////////


<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>

<span class="postdetails"><img src="https://i20.servimg.com/u/f20/15/30/64/67/catego10.png" alt="Post" title="Post" border="0" />

<!--- Moved <a name="Topic2"> to here & re-named General Rules to General Rules [#2] --->
<a name="Topic2">Subject: Re: General rules [#2] <img src="http://illiweb.com/fa/empty.gif" alt="" border="0" />Mon Nov 01, 2010 11:57 pm</a>
</span>

</td><td valign="top" nowrap="nowrap" class="post-options"> </td></tr><tr><td colspan="2" class="hr"><hr /></td></tr><tr><td colspan="2"><div id="censor"><div class="postbody"><div>

<table border="1"><tr><td align="left">

<span style="font-size: 20px; line-height: normal">

<!--- Removed link: <a name="Topic2">Hackers and Cheaters</a> from here --->
Hackers and Cheaters</span>

</td></tr></table>




Moving the anchors to the WWW image would be better imo
so the Up & Down buttons are visible after moving to a post.

Test the anchors again on →demo page 2

Spoiler:
Html demo page 2 edits:


<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="middle">


<!--- Moved <a name="Topic1"> to here so the Up & Down buttons are visible on the left --->
<a name="Topic1" href="http://24-7.forumotion.com" title="Visit poster's website" target="_blank"><img src="https://i29.servimg.com/u/f29/15/39/90/50/www10.png" alt="http://24-7.forumotion.com" /></a>


</td></tr></table>



//////////////////////////////



<! --- Previous Edits from Demo Page 1 --->

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>


<span class="postdetails"><img src="https://i20.servimg.com/u/f20/15/30/64/67/catego10.png" alt="Post" title="Post" border="0" />


<!--- Previous link/anchor removed --->
Subject: Re: General rules [#1] <img src="http://illiweb.com/fa/empty.gif" alt="" border="0" />Sat Oct 30, 2010 10:40 pm
</span>



</td><td valign="top" nowrap="nowrap" class="post-options"> </td></tr><tr><td colspan="2" class="hr"><hr /></td></tr><tr><td colspan="2"><div id="censor"><div class="postbody"><div><br />

<table border="1"><tr><td align="left">

<span style="font-size: 20px; line-height: normal">

<!--- Removed link: <a name="Topic1">Apply Here</a> from here --->
Apply Here</span>

</td></tr></table>


<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="middle">


<!--- Moved <a name="Topic2"> to here so the Up & Down buttons are visible on the left --->
<a name="Topic2" href="http://24-7.forumotion.com" title="Visit poster's website" target="_blank"><img src="https://i29.servimg.com/u/f29/15/39/90/50/www10.png" alt="http://24-7.forumotion.com" /></a>


</td></tr></table>


////////////////////////////////


<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>




<span class="postdetails"><img src="https://i20.servimg.com/u/f20/15/30/64/67/catego10.png" alt="Post" title="Post" border="0" />


<!--- Previous link/anchor removed --->
Subject: Re: General rules [#2] <img src="http://illiweb.com/fa/empty.gif" alt="" border="0" />Mon Nov 01, 2010 11:57 pm
</span>



</td><td valign="top" nowrap="nowrap" class="post-options"> </td></tr><tr><td colspan="2" class="hr"><hr /></td></tr><tr><td colspan="2"><div id="censor"><div class="postbody"><div>


<table border="1"><tr><td align="left">

<span style="font-size: 20px; line-height: normal">


<!--- Removed link: <a name="Topic2">Hackers and Cheaters</a> from here --->
Hackers and Cheaters</span>

</td></tr></table>

RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Re: Html Anchor

Post by Plancker on November 5th 2010, 1:27 am

Your Demo's Work but i have no idea to insert the code i'll pm you with an account en password can you plz add 1 then i really don't understand

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by kirk on November 5th 2010, 6:03 am

@Plancker wrote: i'll pm you with an account en password can you plz add 1 then i really don't understand

NO NO NO NO...
For one.. we do not do that here nor do we do support via pm.

Two which should actually be number one.

You never give you pass to your account to anyone.
Sure we are staff here and we are trusting.. but it dont matter.. we do not want it.
And rule of thumb is you never give it out and no staff here even an admin would ever ask or accept a pass to your forum.

Please wait for rono to reply here unless he has already replied to your pm.
Thank you.

Oh hey by the way rono.. wow dude nice.. not sure if i understand the whole thing yet Razz Razz
But nice :wouhou: guitar guitar guitar guitar


kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Html Anchor

Post by Guest on November 5th 2010, 2:03 pm

You know, with HTML5, the name attribute will no longer be supported in the <A> tag -- use the id attribute instead.

I see a LOT of code posted here that will no longer work when browsers are updated to full HTML5 support (best guess, middle of next year). It's a good idea to start posting HTML5-compatible code...you can eliminate a LOT of support questions in the future with a small amount of work now!

(FYI, other code issues: valign and align attributes will no longer be supported, nor will the <FONT> and <CENTER> tags. Use CSS attributes instead.)

Guest
Guest


Back to top Go down

Re: Html Anchor

Post by Plancker on November 5th 2010, 10:44 pm

Sorry but I really don't understand that thing there

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Skelly Man on November 6th 2010, 1:27 am

Try those anchors i dont really get wat you mean anyway
Code:
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- FAQ page -->
<html>
<head>
<title>Look At This Wonderful Anchor</title>
</head>
<body>
<h1>The anchor page</h1>

<h2><a name="top">My Anchor places</a></h2>
<ol>
  <li><a href="#topic1"><b>Anchor 1</b></a></li>
  <li><a href="#topic2"><b>Anchor 2</b></a></li>
  <li><a href="#topic3"><b>Anchor 3</b></a></li>
  <li><a href="#topic4"><b>Anchor 4</b></a></li>
  <li><a href="#topic5"><b>Anchor 5</b></a></li>
  <li><a href="#topic6"><b>Anchor 6</b></a></li> 
</ol>

<hr noshade size="1">

<h3><a name="topic1">Anchor 1</a></h3>
<p>Do you like this anchor?</p>
<h5><a href="#top">Back to Top</a></h5>

<hr noshade size="1">

<h3><a name="topic2">Anchor 2</a></h3>
<p>How about this 1?</p>
<h5><a href="#top">Back to Top</a></h5>

<hr noshade size="1">

<h3><a name="topic3">Anchor 3</a></h3>
<p>Still not your type?</p>
<h5><a href="#top">Back to Top</a></h5>

<hr noshade size="1">

<h3><a name="topic4">Anchor  4</a></h3>
<p>Then try this 1</p>
<h5><a href="#top">Back to Top</a></h5>

<hr noshade size="1">

<h3><a name="topic5">Anchor  5</a></h3>
<p>No pleasing you is there?</p>
<h5><a href="#top">Back to Top</a></h5>

<h3><a name="topic6">Anchor  6</a></h3>
<p>I quit you dont like anchors? </p>
<h5><a href="#top">Back to Top</a></h5>
<br><br>

</body>

</html>

Skelly Man
Forumember

Male Posts : 130
Reputation : 0
Language : english
Location : NSW, Australia

Back to top Go down

Re: Html Anchor

Post by Plancker on November 6th 2010, 11:49 am

i did that but it goes to text i want it to go a little bit higher

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Plancker on November 15th 2010, 5:18 pm

ok i finally get it but i have to post that www button in my first post?

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Plancker on November 19th 2010, 8:49 pm

BUMP

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Plancker on November 21st 2010, 8:17 pm

BUMP

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Plancker on November 22nd 2010, 10:55 pm

BUMP i don't get the thing what RoNo said

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Re: Html Anchor

Post by Plancker on November 24th 2010, 10:58 pm

BUMP RoNo Help plz

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

View previous topic View next topic Back to top


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