Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Rate success on _top ! How to

Quote Reply
Rate success on _top ! How to
I have manage to set a nic evoting system on-line from the refrenced site. (check it at http://www.israelweb.co.il/betteruse.html).

But... When the vote seleter is in a frame it call the rate.cgi from this frame.

At the end of rate.cgi there is :
print HIT "1 $rating\n$time\n$ENV{'REMOTE_ADDR'}";
close HIT;
&site_html_rate_success;

How to change to show the html rate success page (rate_success.html). To show it on the top of the page without any frame.
Quote Reply
Re: Rate success on _top ! How to In reply to
Use target=_top attribute in your template file for the FORM codes, like the following:

Code:
<FORM ACTION="" METHOD="" target="_top">

Hope this helps.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Rate success on _top ! How to In reply to
What are you confused about? Put the codes in the file. If they work, they work. If they don't, they don't. Please at least experiment with suggestions provided in these forums before raising additional questions.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Rate success on _top ! How to In reply to
Was it that simple...? I'm confused.

Thank you
Quote Reply
Re: Rate success on _top ! How to In reply to
Well, i meant confused (certainly badly translated from french) about my question...

I didn't wonder the answer was that simple ;-)

Not confused about your clear answer and the result... Perfect.

Have a nice day.