I don't like anchors

I'm trying to place anchors in photos on one page so that when a viewer clicks on a phot, they are taking to a corresponding section of another page. W3cschools has been no help, neither has webmonkey. Anyone around to point me to the right direction???<br />
Thank you, and as always I bow before your web-savvy-ness<!--content-->You want a "client-side image map". See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/objects.html#h-13.6.1">http://www.w3.org/TR/html4/struct/objects.html#h-13.6.1</a><!-- m -->. I did one of those for the lamppost on the site (<!-- w --><a class="postlink" href="http://www.24brownstreet.com">www.24brownstreet.com</a><!-- w -->). That was no problem. But, I am curious what function does an anchor serve? When is the best time to use one???<br />
Thanks, for you're help, though... :-)<!--content-->The <a> tag is used to define anchors and links. For example, in your document, you may have:<br />
<br />
<body><br />
<a name="topofpage"></a><br />
Yadda Yadda Yadda<br />
Blah Blah Blah<br />
...<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#topofpage">Top of this page</a><br />
<br />
The first <a name=""> defines the anchor. The second is used to link to that location in the document. If the above page is called thispage.html, you may also use <a href=http://www.webdeveloper.com/forum/archive/index.php/"thispage.html#topofpage"> to go to that specific location from another page.<!--content-->Originally posted by stargal98 <br />
Okay, I did one of those for the lamppost on the site (<!-- w --><a class="postlink" href="http://www.24brownstreet.com">www.24brownstreet.com</a><!-- w -->). That was no problem. But, I am curious what function does an anchor serve? When is the best time to use one???<br />
Thanks, for you're help, though... :-) <br />
<br />
Here's a great example of the function of anchors...<br />
<br />
my site is down but this page still works...<br />
<br />
<!-- m --><a class="postlink" href="http://www.smartads.info/web-design/misc/anchors/">http://www.smartads.info/web-design/misc/anchors/</a><!-- m --><br />
<br />
Kinda funny I actually did that... hehe...<br />
<br />
cheers<br />
<br />
..:: Bro ::..<!--content-->For the record, the anchor model described here is outdated for quite a few years, and it's just used for backwards compability with old browsers.<br />
<br />
Nowdays to make an anchor you don't need to place <a> all over the place, just eg<br />
<br />
<p id="this-is-an-anchor"><br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#this-is-an-anchor">jump to anchor</a><br />
<br />
Fore backwards compability you can use<br />
<p id="this-is-an-anchor" name="this-is-an-anchor"><!--content-->Originally posted by Stefan <br />
For the record, the anchor model described here is outdated for quite a few years, and it's just used for backwards compability with old browsers.<br />
<br />
Nowdays to make an anchor you don't need to place <a> all over the place, just eg<br />
<br />
<p id="this-is-an-anchor"><br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#this-is-an-anchor">jump to anchor</a><br />
<br />
Fore backwards compability you can use<br />
<p id="this-is-an-anchor" name="this-is-an-anchor"> <br />
<br />
Yep that's why the site was removed like I said before...<!--content-->Originally posted by ..::Bro::.. <br />
Yep that's why the site was removed like I said before... <br />
With all due respect, your site does not validate as HTML 4.01 Transitional. You seem to be using proprietary IE attributes (gridx gridy etc). Your pages look different on IE/Win and IE/Mac. Sincerely speaking, people who should be giving advice on HTML should atleast do things right on their webpages.<br />
<br />
Originally posted by Stefan<br />
I stand corrected. Thanks<!--content-->Originally posted by nkaisare <br />
With all due respect, your site does not validate as HTML 4.01 Transitional. You seem to be using proprietary IE attributes (gridx gridy etc). Your pages look different on IE/Win and IE/Mac. Sincerely speaking, people who should be giving advice on HTML should atleast do things right on their webpages.<br />
<br />
<br />
I stand corrected. Thanks <br />
<br />
Yep.. that's why it's under construction ....<br />
<br />
The person asked what functions "anchors" have...<br />
<br />
I merely showed a fun page to what anchors serve as, I didn't<br />
tell her to look at my code to see that my code is off, did i?<br />
<br />
These are discussion groups... I didn't say take my advice,<br />
I said laugh a little at this example.<!--content-->Mine's also a suggestion... I didnt mean to be rude.<!--content-->no worries man... I just find that I don't learn from my mistake if I don't make any... <br />
<br />
cheers!<br />
<br />
..:: Bro ::..<!--content-->
 
Back
Top