HighDots Forums  

Named Anchors Revisited

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Named Anchors Revisited in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
canjunct
 
Posts: n/a

Default Named Anchors Revisited - 07-21-2004 , 06:35 PM






Hi All,
I have performed a search on this forum for issues with the Named Anchor
feature in DW MX4 and did not really find any clear answers to the issues which
seemed similar to mine. I just want to be able to have someone click on my
Fireworks 'TOP' button, and be brought to the top of the same web page. When I
check it in ME when I press on the TOP button, it takes me to a new page and
says it cannot display that page. Steps I am taking for named anchor are (code
also attached):

I place my cursor on the spot at the point in which I want somebody to be
taken when the TOP button is pressed
Insert > Named Anchor
Enter Top as the name for this anchor, pressed enter
Go to the bottom of the document to the TOP button that was created in
Fireworks, highlight it
Go to the property Inspector , to Link: and press and drag on the 'Point To
File' feature and drag back up to my named anchor
Ensure that #Top is featured in the Link: section of the Prop Inspect

Like usual your responses are appreciated.

Pat
p.s. my website is only on my local computer and not uploaded yet



<p align="center" class="style21"><a name="TOP"></a>... a place to explore
alternative, holistic and traditional approaches</p>


<p align="center"><a href="#TOP"><img src="Back%20To%20Top%20Butt.png"
width="99" height="34" border="0" lowsrc="#TOP"></a></p>


Reply With Quote
  #2  
Old   
John Tucker
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-21-2004 , 06:50 PM






canjunct wrote:
Quote:
Hi All,
I have performed a search on this forum for issues with the Named
Anchor feature in DW MX4 and did not really find any clear answers to
the issues which seemed similar to mine. I just want to be able to
have someone click on my Fireworks 'TOP' button, and be brought to
the top of the same web page. When I check it in ME when I press on
the TOP button, it takes me to a new page and says it cannot display
that page. Steps I am taking for named anchor are (code also
attached):

I place my cursor on the spot at the point in which I want somebody
to be taken when the TOP button is pressed
Insert > Named Anchor
Enter Top as the name for this anchor, pressed enter
Go to the bottom of the document to the TOP button that was created
in Fireworks, highlight it
Go to the property Inspector , to Link: and press and drag on the
'Point To File' feature and drag back up to my named anchor
Ensure that #Top is featured in the Link: section of the Prop Inspect

Like usual your responses are appreciated.

Pat
p.s. my website is only on my local computer and not uploaded yet



p align="center" class="style21"><a name="TOP"></a>... a place to
explore alternative, holistic and traditional approaches</p


p align="center"><a href="#TOP"><img
src="Back%20To%20Top%20Butt.png" width="99" height="34" border="0"
lowsrc="#TOP"></a></p
Pat,

Get rid of the spaces in the image name. If you need spacing, use an
underscore or dash like this: Back_To_Top_Butt.png. Also, I'd export that
PNG from FW as a GIF or JPG, depending on what works best.

Don't know if that's causing your problem but it does need to be fixed. :-)

HTH

John




Reply With Quote
  #3  
Old   
Alan
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-21-2004 , 07:10 PM





Quote:
a href="#TOP"
TOP is probably acting like a reserved word-

try <a href="#my_top"> or any other word except top



Reply With Quote
  #4  
Old   
John Tucker
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-21-2004 , 07:18 PM



Alan wrote:
Quote:
a href="#TOP"

TOP is probably acting like a reserved word-

try <a href="#my_top"> or any other word except top
Actually, <a href="#TOP"> should work fine. That's exactly how it's coded on
my site, except mine is in lowercase.

John




Reply With Quote
  #5  
Old   
canjunct
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-21-2004 , 10:35 PM



Thanks all for the replies on this issue. I did everything as suggested and still same problem. Any other responses to this issue would be appreciated.

Pat

Reply With Quote
  #6  
Old   
terry
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-22-2004 , 05:02 AM




"canjunct" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks all for the replies on this issue. I did everything as suggested
and still same problem. Any other responses to this issue would be
appreciated.
Quote:
Pat
<p><a href="#">top</a></p>




Reply With Quote
  #7  
Old   
Gary White
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-22-2004 , 08:44 AM



terry wrote:

Quote:
p><a href="#">top</a></p

That's not reliable either. If having a problem with a link to the top
of the page, do not use the word "top" as the name. Some browsers treat
that as a reserved word. Make sure that there is some content in the
named anchor:

<a name="thetop">&nbsp;</a>

<a href="#thetop">Top of page</a>

If you do those, there is no reason for it not to work.


Gary


Reply With Quote
  #8  
Old   
James Shook
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-22-2004 , 09:18 AM



Is your anchor actually enclosing any content? Empty anchors will be
ignored by some browsers.

--
James M. Shook
http://www.jshook.com

Reply With Quote
  #9  
Old   
Mad Dog
 
Posts: n/a

Default Re: Named Anchors Revisited - 07-22-2004 , 12:29 PM



Try making some text your anchor. I'm not sure if you can have a "loose"
anchor like that. Try this:

<p align="center" class="style21"><a name="TOP">...a place to explore
alternative, holistic and traditional approaches</a></p>

MD


canjunct wrote:
Quote:
Hi All,
I have performed a search on this forum for issues with the Named
Anchor feature in DW MX4 and did not really find any clear answers to
the issues which seemed similar to mine. I just want to be able to
have someone click on my Fireworks 'TOP' button, and be brought to
the top of the same web page. When I check it in ME when I press on
the TOP button, it takes me to a new page and says it cannot display
that page. Steps I am taking for named anchor are (code also
attached):

I place my cursor on the spot at the point in which I want somebody
to be taken when the TOP button is pressed
Insert > Named Anchor
Enter Top as the name for this anchor, pressed enter
Go to the bottom of the document to the TOP button that was created
in Fireworks, highlight it
Go to the property Inspector , to Link: and press and drag on the
'Point To File' feature and drag back up to my named anchor
Ensure that #Top is featured in the Link: section of the Prop Inspect

Like usual your responses are appreciated.

Pat
p.s. my website is only on my local computer and not uploaded yet



p align="center" class="style21"><a name="TOP"></a>... a place to
explore alternative, holistic and traditional approaches</p


p align="center"><a href="#TOP"><img
src="Back%20To%20Top%20Butt.png" width="99" height="34" border="0"
lowsrc="#TOP"></a></p



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.