Ask a Question related to Dreamweaver AppDev, Design and Development.
-
ldonner #1
Dynamic anchors
I have a dynamic page, which uses a table created from a resultset. The page
can get long depending on the resultset and each row is a dynamic link that
expands a section just below the link. The problem is that once the link is
clicked the page refreshes with the expanded section but it may be at the
bottom of the page requiring the user to scroll down to get back to where he
clicked the link. I want to use an anchor tag but I keep getting an error
stating that I can't use non-alphanumeric characters and that the first
character can't be a number. Anyone have an idea on a workaround or way to get
this working? Thanks!
ldonner Guest
-
Going to anchors
Hi! It's been years since I last came here. Five or so... But now I am back and starting to build a site again - using good old DW4. My... -
Anchors
Hey, erm im currently trying to build a website for a project. I am currently stuck on anchoring to a specific area on a separate page. As my... -
Anchors within Dynamic Text
I have a Flash button calling to a dynamic text box within a movie clip. My question is: Is there any way to add an anchor reference within the... -
Jumping to Anchors
How am I able to jump to certain anchors on different pages? -
ie reading anchors
Internet Explorer is not making the connections between anchors that are below the links on the page. When I set links that are to move to anchors... -
ldonner #2
Dynamic anchors
I have a dynamic page using a table created by a resultset which can get long
resulting in a long page. Each row has a link and if the user clicks on it the
page refreshes but returns to the top of the page. This forces the user to
scroll down if the link he clicked is off the screen. I tried to use an anchor
tag but I keep getting an error stating that I can't use non-alphanumeric
characters and that the first character can't be numeric. Any ideas? Thanks!
ldonner Guest
-
bawaite #3
Re: Dynamic anchors
Hello ldonner In the past when I developed something similar I set the anchor
value to 'ID and then the ID number for the returned value if it is coming from
a database' . Is that what you are looking for.
bawaite Guest
-
-
ldonner #5
Re: Dynamic anchors
Figured it out! I need to use the 'id' attribute of a HTML tag. It doesn't have the same restrictions as the Named Anchor tag does.
ldonner Guest
-
danilocelic *TMM* #6
Re: Dynamic anchors
ldonner wrote:
Technically IDs do have the same restrictions as names do as to the> Figured it out! I need to use the 'id' attribute of a HTML tag. It doesn't have the same restrictions as the Named Anchor tag does.
value that attribute can take, that is can't start with a number, but
it's possible that some browsers are lenient in that regard. If you were
to add some scripting to the page, it would be more likely to break I think.
I'd suggest that as you output the ID attribute that you just add "row"
to the beginning of the ID value (or whatever is appropriate), that way
you fall in line with the way things "should" be, and you won't have to
worry about any browsers not liking what you're currently doing.
--
Danilo Celic
| Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
danilocelic *TMM* Guest



Reply With Quote

