jbsurveyer
12-13-2009, 09:10 PM
I have an iframe defined as follows:
<iframe src="http://thephotofinishes.com" target="_self">Sorry Iframe connection does not work in your browser</iframe>
Now what I want is all clicks in the iframe on thePhotoFinishes.com to stay within the iframe (hence the attempt with target="_self" to control this).
This would allow me to conduct a "live help" session depending on what link the user follows while working in the photofinishes.com. Now the thephotofinishes.com' tabs work and stay within the iframe because they are javascripted changes to the same loaded page. But any click on a link/reference to a page external to the current thePhotoFinishes.com page causes the iframe to be ignored and thenew destination page to be loaded in the browser window wiping out my Dynamic Help session.See
If I get users to right mouse click on a menu or link I can at least get the Dynamic Help session preserved as the link opens in a new tab or Window ... but this is clumsy and ignored by more than half of my test users [5 guinea pigs so far:rolleyes:]
Any solution using HTML and/or JavaScript will be welcome.
See here (http://demos.theactivegroup.com/demodesk.html?demo=mif&script=treenav) for an example of the type of thing I want to do - go to the Google tab - and then look up thephotofinishes.com and see if you can stay within the iframe.
-----------------------------------------------------------------------
By the way HTML has really been stagnated on allowing website developers to target where href clicks should go - 1)another window, 2)another existing tab, 3)a new tab or 4)overwriting the existing page. Does anybody know if this gets addressed in HTML 5?
<iframe src="http://thephotofinishes.com" target="_self">Sorry Iframe connection does not work in your browser</iframe>
Now what I want is all clicks in the iframe on thePhotoFinishes.com to stay within the iframe (hence the attempt with target="_self" to control this).
This would allow me to conduct a "live help" session depending on what link the user follows while working in the photofinishes.com. Now the thephotofinishes.com' tabs work and stay within the iframe because they are javascripted changes to the same loaded page. But any click on a link/reference to a page external to the current thePhotoFinishes.com page causes the iframe to be ignored and thenew destination page to be loaded in the browser window wiping out my Dynamic Help session.See
If I get users to right mouse click on a menu or link I can at least get the Dynamic Help session preserved as the link opens in a new tab or Window ... but this is clumsy and ignored by more than half of my test users [5 guinea pigs so far:rolleyes:]
Any solution using HTML and/or JavaScript will be welcome.
See here (http://demos.theactivegroup.com/demodesk.html?demo=mif&script=treenav) for an example of the type of thing I want to do - go to the Google tab - and then look up thephotofinishes.com and see if you can stay within the iframe.
-----------------------------------------------------------------------
By the way HTML has really been stagnated on allowing website developers to target where href clicks should go - 1)another window, 2)another existing tab, 3)a new tab or 4)overwriting the existing page. Does anybody know if this gets addressed in HTML 5?