Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-19-2006, 05:48 PM
PC101's Avatar   
PC101 PC101 is offline
Learning Programmer
 
Join Date: Sep 2006
Posts: 86
Rep Power: 9
PC101 is on a distinguished road
Send a message via MSN to PC101 Send a message via Yahoo to PC101
Default Linking one word to another on same page

Howdy!

So, I've finally added a Glossary to PC101...

http://www.pc101.com/index.php?page=glossary

but I don't know how to link (cross reference) the words on bold.

For example, the first word applet has three words in its definition that are also in bold... ActiveX, Java and web. Bold is to mean that word is also defined elsewhere in the glossary. SO, I want to add a link that will take you to that word elsewhere in the glossary.

How do I do this??

Thanks!

Lyte
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #2 (permalink)  
Old 09-20-2006, 09:53 AM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Rep Power: 11
brackett is on a distinguished road
Default

Notwithstanding the fact that I didn't see "ActiveX" in the glossary, you want to use Anchor tags. The easiest way to do it would be:
Code:
<dt id="applet"><b>applet</b>
<dd>...<a href="#ActiveX">ActiveX</a> 
or <a href="#Java">Java</a>-enabled <a href="#web">web</a> browser.

<dt id="Java"><b>Java</b>
<dd>...applications (<a href="#applet">applets</a>)
Which just id's your existing definition terms, and uses that as an anchor reference. Alternatively, you can name an arbitrary anchor like:
Code:
<a name="anchorTag">AnchorText</a>

Last edited by brackett; 09-20-2006 at 09:56 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 09-20-2006, 06:20 PM
PC101's Avatar   
PC101 PC101 is offline
Learning Programmer
 
Join Date: Sep 2006
Posts: 86
Rep Power: 9
PC101 is on a distinguished road
Send a message via MSN to PC101 Send a message via Yahoo to PC101
Default

Kewl! Thanks! Yeah, there are quite a few terms that need to be added.

How do the arbitrary anchor tags work? I see the code that you've provide but can you give me an example of the code for point A... "java" within the applet definition... and the code for Point B.... "java" down the page?

Is there a benefit to using one way over another?

Many thanks!

Lyte

EDIT: I just discovered a neat way to "BookMark" a word using FrontPage and then when you highlight a word to add the link, you can either use a URL or choose a word from those that you've Bookmarked! I think it does the same thing but it a bit more automated than all that coding I thought I would have to do!
__________________

Last edited by PC101; 09-20-2006 at 07:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 09-21-2006, 03:12 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

See this post:-

http://forum.codecall.net/html-xhtml...arts-page.html

Its like yours but instead this is that famous "go to the top" its the same concept!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 09-21-2006, 01:38 PM
PC101's Avatar   
PC101 PC101 is offline
Learning Programmer
 
Join Date: Sep 2006
Posts: 86
Rep Power: 9
PC101 is on a distinguished road
Send a message via MSN to PC101 Send a message via Yahoo to PC101
Default

Awesome!

And... this gives me an idea how to add an A,B,C,D at the top with links that will allow people to jump to the section they want... vs. having to scroll down!

Lyte
__________________

Last edited by PC101; 09-21-2006 at 01:41 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bottom of the page? Vojkan HTML Programming 10 11-25-2007 12:01 AM
Dictonary Program programmer 101 Java Help 9 07-01-2007 02:39 PM
how to refresh a page? :-[yc]-: Java Help 2 05-30-2007 08:47 AM
Need help w/ word count program (ASAP) siren C and C++ 1 04-23-2007 09:14 AM
Question: Link to parts of a page skilletsteve HTML Programming 3 08-29-2006 04:15 PM


All times are GMT -5. The time now is 01:33 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%

Ads