[Chameleon] LocateByAttribute IFRAME question
Delfos, Jacob
jacob.delfos at maunsell.com
Mon Mar 20 19:02:38 EST 2006
Oops, don't forget to put a closing script tag:
print
"<script>mappingwindow.secondiframe.document.write(\"".$bodycontent."\")
;</script>";
And "secondiframe" is the ID of your second iframe.
Jacob
________________________________
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Delfos, Jacob
Sent: 21 March 2006 07:22
To: chameleon at lists.maptools.org
Subject: [Chameleon] RE: LocateByAttribute IFRAME question
In searchresults.phtml, line 744, it says:
print $bodycontent;
You could change that, to say something like
print
"<script>mappingwindow.secondiframe.document.write(\"".$bodycontent."\")
;";
I haven't tested it, so it may not work. But something like that
should be feasible.
Regards,
Jacob
> -----Original Message-----
> From: Dejan Gambin [mailto:dejan.gambin at pula.hr
<mailto:dejan.gambin at pula.hr> ]
> Sent: 21 March 2006 06:44
> To: Delfos, Jacob
> Cc: chameleon at lists.maptools.org
> Subject: LocateByAttribute IFRAME question
>
> Hi,
>
> Sorry to bother you again but I came to another idea
> regarding the location
> of my search results in LocateByAttribute widget. First i
> wanted to use
> popup to show results because of not enough space I had, but
now I am
> wondering if I can place the search results in another
> iframe. So basically,
> I would like to have the search form in a "tab" like I have
> now but show the
> search results (bodycontent) in another "iframe" on the
> bottom of my page. I
> have tried to use "target" attribute of a search form but I
> don't get what I
> want. Any suggestion?
>
> thanks
>
> regards, dejan
>
>
More information about the Chameleon
mailing list