-
1. Re: Need some help with anchor tags
Newsgroup_User Dec 24, 2008 11:57 AM (in response to epson1280)Named anchors are coded tags, and as such, are not visible to the visitor.
"epson1280" <webforumsuser@macromedia.com> wrote in message
news:gittdg$n3t$1@forums.macromedia.com...
> This is most likely very simple for most of you, but I have applied a
> hyperlink
> from one page to another with a named anchor tag on the linked page. No
> problem. But I would like to have the named anchor change color - as it
> is in
> a table with several other named anchors, and I want the hyperlink to
> accentuate the selection within the table. Using css maybe? Im kinda new
> to
> this...
>
-
2. Re: Need some help with anchor tags
epson1280 Dec 24, 2008 2:51 PM (in response to Newsgroup_User)I may have not written my problem properly.
I have a table with several names in it, each in an individual cell on page2.html
I have several textual hyperlinks from page1.html that takes me to page2.html
Depending on the hyperlink selected from page1 - I need the name in the cells on page2 to change color.
How do I do this? -
3. Re: Need some help with anchor tags
Newsgroup_User Dec 26, 2008 5:11 AM (in response to Newsgroup_User)The only way to do that would be to pass information from page1 to page2 as
to which link was clicked, and then to use that information on page2 to set
the color of the cell. There would be three ways to do this -
1. Use cookies
2. Use javascript
3. Use server scripting
None of those three ways is going to be something that DW will do using a
built-in function.
The cookie approach would require that you write information into a cookie
on page1 after clicking on the link but before relocating to the linked
page. Then you'd have to check for the cookie on page2, read it, and use
the information to set the color of the cell (probably with CSS).
The javascript approach would require that you add a url variable to each
link on page1, parse the variable out on page2, and then use the same color
method used in the prior suggestion.
The server scripting approach would be identical to the javascript approach,
except that it would be done in scripting executed by the server rather than
by the client browser.
Each of those three methods would require some coding skill on your part.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"epson1280" <webforumsuser@macromedia.com> wrote in message
news:giuedu$c95$1@forums.macromedia.com...
>I may have not written my problem properly.
>
> I have a table with several names in it, each in an individual cell on
> page2.html
> I have several textual hyperlinks from page1.html that takes me to
> page2.html
> Depending on the hyperlink selected from page1 - I need the name in the
> cells
> on page2 to change color.
> How do I do this?
>
-
4. Re: Need some help with anchor tags
Scoundral Mar 30, 2012 5:52 AM (in response to epson1280)"This is most likely very simple for most of you, but I have applied a hyperlink from one page to another with a named anchor tag on the linked page. No problem. But I would like to have the named anchor change color - as it is in a table with several other named anchors, and I want the hyperlink to accentuate the selection within the table. Using css maybe? Im kinda new to this..."
Please tell me how you did this. I want to have a hyperlink going from an email blast to a specific area of another webpage. I know how to do "named anchors" from within the same page but not going from inside an email to the chosen area of the linked page. As always, any assistance would be most appreciated.
~Scoundral~
-
5. Re: Need some help with anchor tags
bregent Mar 30, 2012 9:29 AM (in response to Scoundral)It's exactly the same, whether you are linking from an email or from a webpage. You just include the anchor name in the url.
-
6. Re: Need some help with anchor tags
Scoundral Mar 30, 2012 9:59 AM (in response to bregent)thank you Bregent....it worked great!