Sappervet
11-11-2005, 06:03 PM
I have a page that contains an iframe...
I would like to know if it is possible to have the loaded page (that's inside of the iframe and contains thumbnail links) target outside the iframe. It is the links that I would like to have target outside the iframe.
This would be so that the photos would enlarge not in the iframe but rather on the main html page that contains the iframe. That way I would be able to postion the enlarged photos anywhere, on the main html page, that I want.
I hope I explained this clearly...
Thanks
try adding this to your link tags...
target="_top"
or if you like...
target="_blank"
Sappervet
11-12-2005, 01:07 PM
I have the x cordinates set to 0 so that the enlarged pics would appear in the top left of your computer screen but instead they are showing up in the top left of the iframe.
I tried all of the normal target options including the ones that PB and J has mentioned but I still have my problem.
Any other suggestions.... maybe a script of somesort???
lefty
11-12-2005, 01:30 PM
Mind posting a link to your page?
Sappervet
11-13-2005, 02:59 AM
Here's the link...
www.singhsaba.com
Go under Events and hit Photos....
You will see the pictures I am talking about.
Just bear in mind that I reset the x and y cordinates to a more appropriate spot... but the problem still exists.
you had forgotten to mention you are using javascript to create your effect. a mod may move this thread over to that forum area so you get a more direct answer.
Sappervet
11-13-2005, 11:13 PM
Your right.... I did forget to mention that I was using javascript.... But what's that got to do with targeting?
I thought that targeting had to do with html coding....
If my problem has to do with the javascript then I sure would like to know the answer to this one.
I am using an iframe maybe it should go in "Frames" portion of the help section as well. :confused:
I am not trying to be "sassy" but I sure would like to know the answer to my question. No matter where this thread gets posted. :)
javascript is being used to create the effect which appears into a specific spot. so an adjustment to the javascript would be required to make it appear into the area you want.
true, its kinda a fine line between the subjects and sometimes its hard to determin which one is involved, but in this case, javascript is the direction you are wanting to go in.
Sappervet
11-14-2005, 02:16 AM
Well PB&J... I think you may be on to something.
I do set the cordinates with in the script.
I may not be totally compentent at Java Scripting but the only way to get better is to solve the problems as they come up.
I borrowed the script from Dynamic Drive, do you think you could look at the script and find a way of altering it for the purposes of targeting? I would have to P.M you.... It's pretty involved.
Or of course... you could always make another suggestion :)
i am really bad at javascript, so i am not much help there.
dynamicdrive may have a solution.
Sappervet
11-16-2005, 12:13 PM
I'm with you on that one...:blush: