Help ! How to kill a webpage frame....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Basic_man
    Programming King Pin
    • Oct 2003
    • 27360

    #1

    Help ! How to kill a webpage frame....

    Ok, here's my tricky question :

    I have a site "A" that have a link to a gallery "X". I send the surfer to the gallery with a frame on the top, let's say page "B".

    The thing is, I don't want the frame "B" to appear when the surfer click from the gallery "X" to the paysite (that's when I want to kill the frame).

    Is there any javascript code that would do something similar? Probably something that does this :

    IF page on under frame "B" change
    THEN kill frame "B"

    Anyone can help ??
    UUGallery Builder - automated photo/video gallery plugin for Wordpress!
    Stop looking! Checkout Naked Hosting, online since 1999 !
  • st0ned
    Confirmed User
    • Mar 2007
    • 8437

    #2
    Wow, this is something I have wondered for a very long time. I will keep an eye on this thread, good question.
    Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
    We will guarantee and beat your current EPC to win your dating traffic!
    Skype: ConversionSharks || Email: info /@/ conversionsharks.com

    Comment

    • Basic_man
      Programming King Pin
      • Oct 2003
      • 27360

      #3
      Originally posted by st0ned
      Wow, this is something I have wondered for a very long time. I will keep an eye on this thread, good question.
      It's a very neat idea... don't know why anybody use this method to promote FHG !
      UUGallery Builder - automated photo/video gallery plugin for Wordpress!
      Stop looking! Checkout Naked Hosting, online since 1999 !

      Comment

      • st0ned
        Confirmed User
        • Mar 2007
        • 8437

        #4
        Originally posted by Basic_man
        It's a very neat idea... don't know why anybody use this method to promote FHG !
        Yeah it has a number of benefits, but lets not get sidetracked from the question at hand and divulge too much.

        This actually has me thinking, I might know of a way, but assume there must be a better route to take. If nobody else comes in with a solution maybe ill put it into action and see if it works.
        Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
        We will guarantee and beat your current EPC to win your dating traffic!
        Skype: ConversionSharks || Email: info /@/ conversionsharks.com

        Comment

        • Basic_man
          Programming King Pin
          • Oct 2003
          • 27360

          #5
          st0ned, I'm open to any suggestion. Would you like to share your thinking with me??

          ICQ : 34916475
          email is manuel [-@@@@-] simplyadultdesign.com
          UUGallery Builder - automated photo/video gallery plugin for Wordpress!
          Stop looking! Checkout Naked Hosting, online since 1999 !

          Comment

          • st0ned
            Confirmed User
            • Mar 2007
            • 8437

            #6
            Originally posted by Basic_man
            st0ned, I'm open to any suggestion. Would you like to share your thinking with me??

            ICQ : 34916475
            email is manuel [-@@@@-] simplyadultdesign.com
            Sure, let's see if anyone has any input on a way to accomplish it. I will hit you up once I am done with the current project I am working on and would have some time to try it out.
            Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
            We will guarantee and beat your current EPC to win your dating traffic!
            Skype: ConversionSharks || Email: info /@/ conversionsharks.com

            Comment

            • Basic_man
              Programming King Pin
              • Oct 2003
              • 27360

              #7
              Originally posted by st0ned
              Sure, let's see if anyone has any input on a way to accomplish it. I will hit you up once I am done with the current project I am working on and would have some time to try it out.
              If you just share my your main idea, I can investigate, test it out and give you feedback and a working solution! Share share share!! ;)
              UUGallery Builder - automated photo/video gallery plugin for Wordpress!
              Stop looking! Checkout Naked Hosting, online since 1999 !

              Comment

              • Iron Fist
                Too lazy to set a custom title
                • Dec 2006
                • 23400

                #8
                You want to break out of frames because the webmaster who coded it wants to precookie your browser because they think you'll typein the domain name and bypass the referrer?

                Nah.... you figure it out
                i like waffles

                Comment

                • Basic_man
                  Programming King Pin
                  • Oct 2003
                  • 27360

                  #9
                  Originally posted by sharphead
                  You want to break out of frames because the webmaster who coded it wants to precookie your browser because they think you'll typein the domain name and bypass the referrer?

                  Nah.... you figure it out
                  Not really to be honest. There is nothing bad about my idea.
                  UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                  Stop looking! Checkout Naked Hosting, online since 1999 !

                  Comment

                  • MediaGuy
                    Confirmed User
                    • Sep 2004
                    • 5500

                    #10
                    Originally posted by Basic_man
                    Ok, here's my tricky question :

                    I have a site "A" that have a link to a gallery "X". I send the surfer to the gallery with a frame on the top, let's say page "B".

                    The thing is, I don't want the frame "B" to appear when the surfer click from the gallery "X" to the paysite (that's when I want to kill the frame).

                    Is there any javascript code that would do something similar? Probably something that does this :

                    IF page on under frame "B" change
                    THEN kill frame "B"

                    Anyone can help ??
                    I must be dense because I don't quite understand...

                    Click a link in frame "B" to make the whole browser go to the landing? use target="_top" no?

                    :D

                    YOU Are Industry News!
                    Press Releases: pr[at]payoutmag.com
                    Facebook: Payout Magazine! Facebook: MIKEB!
                    ICQ: 248843947
                    Skype: Mediaguy1

                    Comment

                    • Basic_man
                      Programming King Pin
                      • Oct 2003
                      • 27360

                      #11
                      Originally posted by MediaGuy
                      I must be dense because I don't quite understand...

                      Click a link in frame "B" to make the whole browser go to the landing? use target="_top" no?

                      :D
                      Not exactly. I want to close frame "B" when the surfer click a link in the gallery (like goes to paysite).
                      UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                      Stop looking! Checkout Naked Hosting, online since 1999 !

                      Comment

                      • Basic_man
                        Programming King Pin
                        • Oct 2003
                        • 27360

                        #12
                        Nobody? Helllllllllppppppppp!
                        UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                        Stop looking! Checkout Naked Hosting, online since 1999 !

                        Comment

                        • Basic_man
                          Programming King Pin
                          • Oct 2003
                          • 27360

                          #13
                          Bumpy bump!
                          UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                          Stop looking! Checkout Naked Hosting, online since 1999 !

                          Comment

                          • Basic_man
                            Programming King Pin
                            • Oct 2003
                            • 27360

                            #14
                            Bump! Still looking for a solution!
                            UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                            Stop looking! Checkout Naked Hosting, online since 1999 !

                            Comment

                            • Basic_man
                              Programming King Pin
                              • Oct 2003
                              • 27360

                              #15
                              Still wondering! I can't sleep at night because of this... please Helpppppppppppppp!
                              UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                              Stop looking! Checkout Naked Hosting, online since 1999 !

                              Comment

                              • SmokeyTheBear
                                ►SouthOfHeaven
                                • Jun 2004
                                • 28609

                                #16
                                you could do something like setting the frame width and height to 0 onclick
                                hatisblack at yahoo.com

                                Comment

                                • SmokeyTheBear
                                  ►SouthOfHeaven
                                  • Jun 2004
                                  • 28609

                                  #17
                                  nvr mind i get the question now i think , you want to control how your page acts based on a page you have no control over
                                  hatisblack at yahoo.com

                                  Comment

                                  • SmokeyTheBear
                                    ►SouthOfHeaven
                                    • Jun 2004
                                    • 28609

                                    #18
                                    there is a way to do it with javascript kinda but its a bit extensive. how important is it ?
                                    hatisblack at yahoo.com

                                    Comment

                                    • SmokeyTheBear
                                      ►SouthOfHeaven
                                      • Jun 2004
                                      • 28609

                                      #19
                                      msg me..
                                      Last edited by SmokeyTheBear; 07-13-2009, 12:18 PM.
                                      hatisblack at yahoo.com

                                      Comment

                                      • BestXXXPorn
                                        Confirmed User
                                        • Jun 2009
                                        • 2277

                                        #20
                                        You can set all outgoing links to target the parent ...
                                        ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com

                                        Comment

                                        • BestXXXPorn
                                          Confirmed User
                                          • Jun 2009
                                          • 2277

                                          #21
                                          or... top.location.href in javascript...
                                          ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com

                                          Comment

                                          • BestXXXPorn
                                            Confirmed User
                                            • Jun 2009
                                            • 2277

                                            #22
                                            If frame A is your frame and a user clicks to a different site where you leave frame A up and frame B's source is some other site...

                                            Then you could setup javascript to observe for domloaded on frame B and then fire something to change the targets in that frame like:

                                            $$('a').each(function(element) {
                                            element.target="_parent";
                                            });
                                            ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com

                                            Comment

                                            • Basic_man
                                              Programming King Pin
                                              • Oct 2003
                                              • 27360

                                              #23
                                              Originally posted by BestXXXPorn
                                              You can set all outgoing links to target the parent ...
                                              The thing is I don't have access to the gallery on the child frame...!
                                              UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                                              Stop looking! Checkout Naked Hosting, online since 1999 !

                                              Comment

                                              • BestXXXPorn
                                                Confirmed User
                                                • Jun 2009
                                                • 2277

                                                #24
                                                This requires the prototype library as I don't code anything without it :

                                                $('childFrameId').observe('dom:loaded', function() {
                                                $$('#childFrameId a').each(function(element) {
                                                element.target="_parent";
                                                });
                                                });

                                                Slap an ID on that child frame and replace childFrameId with whatever you name it. I haven't tested that but it should work just fine

                                                Hope that helps!

                                                Yay 100 posts :P
                                                ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com

                                                Comment

                                                Working...