Author Topic

poon sg

Wednesday 11 August 2004 12:15:54 am

Comment15145

Alex,
Thanks for your reply. But I still don't have a good idea to salve the problem.

In my pagelayout.tpl,top is my company logo and top menu, the below_left is navigator, and the below_right is content area; pls see code:

.......
{*below_left navigator*}
<h3>Navigation</h3>

{let sub_menu=treemenu($module_result.path, $module_result.node_id,

array('folder','info_page'), 1, 10)}
<ul >
{section name=Menu loop=$sub_menu}
<li class="subdirectory_{$:item.level}" > <a href={$:item.url_alias|ezurl}>{$:item.text}</a></li>
{/section}
</ul>
{/let}



{* below_right content area *}

<div style="width:75%; float:right; border-left:1px dashed red; border-bottom:1px dashed red">

{$module_result.content}

{*<iframe scr="http:/localhost/index.php/content" >
</iframe> *}

</div>

My problem is that When I click a linked Html file in content area, I want it pop up in the same page at the content area, not pop up is a new page, what can I do? use iframe or frame? Or anothe way?

and now, I've put the {$modeul_result.conent} is a new site, use iframe to link it, but i still can't find a way to make the below_left to link with belew_right,in other words, when i click the navigator , I want it dispaly the content in the below_right.

any help?

Thanks!
sgpoon