Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Using Anchors and parameters in cflocation url

Explorer ,
Oct 20, 2008 Oct 20, 2008
I think the main problem is I'm trying to use an anchor within a spry tab. I have four tabs on my results page (general, payments, footnotes and comments) of which general is the default. When I add a record (in this case, a payment record), I want it to automatically go to the results page, for the specified project, and to the payments tab. My code will take you to the correct page with the correct project number, but no matter where I plant the anchor in the payments tab, it always opens to the default "general" tab. Here's my code:
TOPICS
Advanced techniques
820
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Oct 21, 2008 Oct 21, 2008
Thanks Azadi. I found the answer for the Spry tabs on http://foundationphp.com/tutorials/spry_url_utils.php.
It's pretty involved, and includes downloading the latest javascript file for Spry 1.6.1 and some coding - but I tested and it works.
Translate
LEGEND ,
Oct 20, 2008 Oct 20, 2008
spry tabs may not allow you to do it, not sure, but in general, and with
jquery ui tabs, the following works fine:

<cflocation url="bondView.cfm?Bond_ID=#FORM.Bond_ID###Payments"
addtoken="NO">

(note no & before ##Payments)

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 21, 2008 Oct 21, 2008
Thanks Azadi. I found the answer for the Spry tabs on http://foundationphp.com/tutorials/spry_url_utils.php.
It's pretty involved, and includes downloading the latest javascript file for Spry 1.6.1 and some coding - but I tested and it works.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 23, 2008 Oct 23, 2008
LATEST
Head's up. After making the changes in the spry utilities file, the web page with those anchors kept locking up in design mode and I kept getting an error "A script in file c:\program files\adobe\adobe dreamweaver cs3\configuration\shared\spry\designtime\editingutils.js has been running for a long time. Do you want to continue?" I had to go on the Adobe TechNote site to find a fix.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources