Register | Login

ZettaCube Forum and Knowledge Base

Welcome to ZettaCube forum. Here you can discuss various issues regarding our ZeeControls product. If you want to contact our developers directly, please email to support@zettacube.com.

Please register to post a message. Registration is immediate and free. Return users please login here.

 
  Forum  Discussions  Web Splitter  Create links to target IFrame
Previous Previous
 
Next Next
New Post 4/15/2009 7:23 AM
  carl
1 posts
No Ranking


Create links to target IFrame 

Hi,

I want to create links on one splitter panel that the links' target frame will be the IFrame on another splitter panel.  How can I get the target name of the iframe?

E.g. <a href="http://www.google.com/" target="???">Google</a>

Or should I set a JavaScript code on every link that will call the Panel.SetIFrameUrl("...") client API function?

Thanks.

Carl

 

 
New Post 4/15/2009 12:37 PM
  ZettaCube Support
64 posts
No Ranking


Re: Create links to target IFrame 

Dear carl,

The IFRAME within a splitter panel will be given a name that is equal to the ID of that IFRAME, which can be accessed with the IFrameClientID property of the splitter panel.

E.g. you may add the following code in .ASPX so that a link to Google is created, and on clicking the link, the destination page will be opened in the IFRAME: (IFramePanel is the splitter panel that contains the IFRAME)

<a href="http://www.google.com/" target="<%= IFramePanel.IFrameClientID %>">Google</a>

 

 
Previous Previous
 
Next Next
  Forum  Discussions  Web Splitter  Create links to target IFrame
Copyright 2009 by ZettaCube Limited