Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2005, 12:38 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default iframe bookmark problem

I would like to provide a hyperlink from a text page in an iframe to a
specific (bookmarked) spot in another iframe on a different page (preferably in a new window). I have tried numerous different pieces of code without success (I have been told that <a target="Test_inline" href="Staffing-Payroll-Agencies-Franchises.html#@work"> should work (where "Test_inline" is the name of the iframe that I want the document to go), the document opens and goes to the bookmark, but does not open in the page with the iframe, it opens as a new window on its own). There is no problem in linking to the other page, however the
bookmark is ignored in the iframe. Or I can retrieve the text that is in the iframe (without the page) and it goes to the bookmark. But I can't seem to code it so I get the page with the text in the iframe at the bookmark.

The full website is not up yet. However you can view the problem in some test pages that I have loaded.

If you go to http://www.businessbuyersmanual.com/...-FULLPAGE.html you will load a page with an iframe. In the iframe second row down (@work Personnel Services) you will see a yellow check mark in a blue square under the heading "Staffing / Payroll". The desire is to have a hyperlink to a bookmark which appears in the iframe of http://www.businessbuyersmanual.com/...s-FULLPAGE.htm (the iframe URL is http://www.businessbuyersmanual.com/...ranchises.html)
and the bookmark is to a listing on that page for @work Personnel Services(it is the last listing (bottom) on the right hand side of the page).

Thank you for any help you can offer.






Similar Threads
Thread Thread Starter Forum Replies Last Post
iframe refresh problem haieshwar Javascript 3 January 17th, 2007 06:59 PM
Me.Bookmark = Me.RecordsetClone.Bookmark rkellogg Access VBA 5 September 8th, 2006 06:28 AM
IFRAME Problem NEO1976 Javascript 1 July 21st, 2006 05:11 PM
IFRAME Problem NEO1976 Javascript How-To 0 July 10th, 2006 10:13 AM
problem in getting innerText of iframe BurhanKhan Javascript 6 August 24th, 2004 10:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.