Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
It would be nice if we could use a link to target an iframe in sspro. At the moment I have to insert code for both link and iframe to do this here is the code for iframe
 <iframe name="cwindow" style="border:15px purple" width=150 height=150 src="doc.htm"></iframe> 
and the link
 <a href="minidoc.htm" target="cwindow"> 

I am sure this would be benificial to ss.

What do you think?
 
Posts: 3 | Registered: July 16, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
I'm not sure how you are adding the iframe code. The usual and easiest way is via "Embed a File or Media" -- button on the left-hand toolbar.

Then make any links that target the iframe via one of the link editors, filling out the Code field in the link editor with the target name.

There are examples in the IFrame tutorial under Help > Load Tutorials.
 
Posts: 9231 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Hi Brucee,
When i use the embed media and name the frame and put the code in the link editor to target the iframe, even though the "open in new window" is unchecked. The link still opens a new window.

Cheers
James
 
Posts: 3 | Registered: July 16, 2009Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
ahh I was naming the iframe in parameters instead of over typing the ojt name Smile
 
Posts: 3 | Registered: July 16, 2009Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.