Andy,

Sorry.  That's what I meant to say.  The idea is that page 2 dynamically
builds the URL with the named anchor using information passed it by page
1.  So, for example, page 1 might link to:

page2.cfm?pageToLoad=nameOfPageToLoad&anchorToLoad=nameOfAnchorToLoad

Then, page 2 loads #URL.pageToLoad#.cfm###URL.anchorToLoad# into the
iframe.

I think that's what you just said.  Hopefully, you have it working by
now and can ignore this babble.

;-)

Matthieu



-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 29, 2005 9:30 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 me to load the
iframe page correctly.

A friend of mine suggested that instead of passing an anchor, to pass a
URL var called "anchor" in the query string. Then in the iframe code, if
that variable is present, I just created a named anchor and presto. I'm
getting ready to test it out right now.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225588
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to