marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
CP still goes to the top frame...

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « CP still goes to the top frame... »
Welcome, Guest. Please Login or Register.
12/16/17 at 20:38:52
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   CP still goes to the top frame...
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: CP still goes to the top frame...  (Read 601 times)
Dave
Guest

E-Mail
CP still goes to the top frame...
« on: 04/12/04 at 14:13:10 »
Reply with quote Modify message

Hi Marty,

I'm not sure if I'm setting this thing up right, but here's what I did:

I built a test frameset where I put my cpshop.pl URL as the mainframe.  It works, but it also bumps my CP mainframe to the top (just as before using your script), and the URL changes to cpshop URL.

Up to now, this seems to be the only issue I have...  

Thanks, Marty

Dave
www.bumperpower.com




Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: CP still goes to the top frame...
« Reply #1 on: 04/12/04 at 14:43:31 »
Reply with quote Modify message

Where is the test frameset?  If I can see it, I'll have a much better idea of how to fix it.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Dave
Guest

E-Mail
Re: CP still goes to the top frame...
« Reply #2 on: 04/12/04 at 17:52:46 »
Reply with quote Modify message

I'll email it to you because I'm concerned with cgi-bin security issues.  

Thanks, Marty!

Dave
Bumperpower.com
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: CP still goes to the top frame...
« Reply #3 on: 04/12/04 at 18:19:57 »
Reply with quote Modify message

Dave,

The problem is that you've completely copied the html code from your CafeShops store to make your template.  (I'm guessing you've done that just for testing purposes, because your hybrid HTML is pretty confusing.)

Anyway, the page you copied also included the javascript frameset-bouncing code.  Remove that and the frames will survive.

Code:
     <script language="javascript">
     <!--
           if (top.location != location) top.location.href = location.href;
     //-->
     </script>
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
David
Guest

E-Mail
Re: CP still goes to the top frame...
« Reply #4 on: 04/12/04 at 18:36:13 »
Reply with quote Modify message

Ooops...  that did it!

All works now!

Thanks again...

David
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.