There is an Dreamweaver extension with similar functionality at Community MX:
http://www.communitymx.com/abstract.cfm?cid=EF518F0E9F24F09A
-Aaron
On 12/7/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> after a page has been requested.
>
> Is there a way to focus a page to an anchor dynamically
> P.S. Is it the Name property or the ID property of the
> tag that one links to?
The name; that's why we call them named anchors.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in
Ian:
If you use the href property of the location object, the page will likely
reload. If you use the hash property, the page should not jump. So you're
JS code would be something like:
window.location.hash = 'nameOfAnchor';
And the anchor tag would look like:
some content
--
Ian:
You can use JavaScript to jump to a named anchor via the location.hash
property. Just write code along the lines of:
location.hash = 'nameOfAnchor';
Make sure to NOT include the hash mark in the above line of code. Just the
name of the anchor.
--
Mosh Teitelbaum
evoch, LLC
Tel: (
al Message-
From: Ian Skinner
To: CF-Talk
Sent: Thu Dec 07 16:51:39 2006
Subject: RE: Jump to an Anchor
P.S. Is it the Name property or the ID property of the tag that one
links to?
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---
P.S. Is it the Name property or the ID property of the tag that one
links to?
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Soduko
| | |
-
"C code. C code run. Run code run. Please!"
- Cynthia Dunn
Dec 07 16:43:31 2006
Subject: RE: Jump to an Anchor
As the others have said.. javascript
window.location.href='#anchor';
You may need to include the current page as well... ie...
window.location.href='index.cfm#anchor';
I knew JavaScript would be involved, but was
As the others have said.. javascript
window.location.href='#anchor';
You may need to include the current page as well... ie...
window.location.href='index.cfm#anchor';
I knew JavaScript would be involved, but was sure how much.
If I use this window.location function, will it just jump to the
From: Dave Francis
To: CF-Talk
Sent: Thu Dec 07 16:38:09 2006
Subject: RE: Jump to an Anchor
Make the 'live' link to a dummy page that does a cflocation with today's
date appended to the URL
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, Dece
Make the 'live' link to a dummy page that does a cflocation with today's
date appended to the URL
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 10:48 AM
To: CF-Talk
Subject: Jump to an Anchor
. after a page has been requested.
Is th
You could use javascript to scroll (or jump) down to a page.
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 9:48 AM
To: CF-Talk
Subject: Jump to an Anchor
. after a page has been requested.
Is there a way to focus a page to an anch
Ian Skinner wrote:
> after a page has been requested.
>
> Is there a way to focus a page to an anchor dynamically after a page is
> requested, when the URL does NOT have an anchor link in it?
>
> I have a calendar application and the users would like it to default to the
> current week at
I would presume you just use JS to loop through the anchors etc. I am sure I
did this before but I can't get to my machine today to dig out any code!
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business
Ian Skinner wrote:
> after a page has been requested.
>
> Is there a way to focus a page to an anchor dynamically after a page is
> requested, when the URL does NOT have an anchor link in it?
>
> I have a calendar application and the users would like it to default to the
> current week at th
AM
To: CF-Talk
Subject: RE: Jump to an anchor link inside an iframe
Matthieu...
That's what I'm doing right now, but that *should* only work for the
page containing the iframe. Because technically THAT'S the page I'm
calling. I'm just passing some extra URL vars to allow m
eu (Consultant)
[mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 5:22 PM
To: CF-Talk
Subject: RE: Jump to an anchor link inside an iframe
This seems too easy an answer, so I probably missed something, but I'll
give it a try anyway. You have page 1 currently sending variables to
page 2,
This seems too easy an answer, so I probably missed something, but I'll
give it a try anyway. You have page 1 currently sending variables to
page 2, which dynamically loads page 3 in an interior iframe. Can you
not send the name of a named anchor along with it and have page 2 load
'pageThree.cfm#
17 matches
Mail list logo