Help - Search - Members - Calendar
Full Version: Link to Open page in Frame on Different Page
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
TysonHorlacher
I am trying to build a link from a separate page of my website to open this (Templates_Featured Page) page in my site.

I then would want it to change the page embedded in the frame to a specific page in the frame as well without any user involvement.

How do I then open a page in an iframe where the iframe is located on a completely separate page. ie open a page with an iframe and adjust the page displayed in the frame to a different embedded page. all via 1 single link from a completely separate page.

I have tried some test coding to see if something will work. It didn't work, but it may bring insite on my goal I am trying to accomplish.

QUOTE
<a href="http://www.signstopusa.com/cm%20banking%20and%20tax.htm" target="http://www.signstopusa.com/car%20magnets.htm_myframe" onclick="return(xr_nn());">
<img src="http://www.talkgraphics.com/image.php?u=83&dateline=1393285506"/>
</a>


Any help will be nice. FYI I am using Xara Web Designer for this project (but that shouldn't make any difference to what code I need)
Christian J
QUOTE(TysonHorlacher @ Mar 31 2014, 05:29 PM) *

I then would want it to change the page embedded in the frame to a specific page in the frame as well without any user involvement.

You mean you want to open two pages from the same link? If so, see http://htmlhelp.com/faq/html/frames.html#framestoc section "How do I update two frames at once?"

Frames are best avoided in the first place, though. See section "Are there any problems with using frames?" on the above FAQ page.

QUOTE
<a href="http://www.signstopusa.com/cm%20banking%20and%20tax.htm" target="http://www.signstopusa.com/car%20magnets.htm_myframe" onclick="return(xr_nn());">
<img src="http://www.talkgraphics.com/image.php?u=83&dateline=1393285506"/>
</a>

You shouldn't use a URL in the TARGET attribute, that's not what TARGET is for. See e.g. http://www.htmlhelp.com/design/frames/syntax/target.html and http://www.htmlhelp.com/reference/html40/v...tml#frametarget

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.