frames breakout issue

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default Re: frames breakout issue

    Hi Mark,
    I'm not sure I understand your question.
    You don't want this script in your "framed" pages, only into your frameset
    document or flat pages.
    BTW, you have an extra opening script tag.
    HTH,
    --
    Thierry
    [url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
    The link below is for IE5+/Win32/1024+ users *only*.
    [url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial

    "bionicegg" <mark@bionicegg.com> wrote in message
    news:bftvs7$oep$1@forums.macromedia.com...
    > I have another question about frames.
    >
    > I have a site that has a few pages that need to be frames. I did figure
    out
    > that to eliminate the frames, you can use
    > <SCRIPT LANGUAGE="JAVASCRIPT">
    > <!-- Hide from old Browsers
    > if (top != self) top.location.href = location.href;
    > // Stop hiding from old browsers -->
    > </SCRIPT> <script type='text/javascript'>
    >
    > However, what if they click on a another frame page from within a frame
    > page. Is there a way to make the above script load, then after 1 second
    > have the new frameset load?
    >
    > I want to thank you all for you help!
    >
    > Sincerely,
    > mark johnson
    >
    >

    Thierry Koblentz Guest

  2. Similar Questions and Discussions

    1. FRAMES!
      Im trying to make my web page have a header, and then its content. I want the content to be in its own frame so that the header never leaves the...
    2. Frames. PLEASE HELP
      I have a Frameset that consists of 3 frames (top, left and main). I created a simple html page (outside the frameset). This page has a form and a...
    3. PHP Frames Help
      I am trying to build a website with PHP, and one page I want a frame in the middle to show another page. First question I have; Is there any...
    4. Frames in ASP.Net
      Hi, Is there a way to load the src for Frames dynamically? or it is static I have got a frame which has got top, contents and main... i want to...
    5. Frames and ASP
      Hi Gaz, You can certainly use frames with ASP or any other language as well. It is the HTML created by the ASP that will render the frames...
  3. #2

    Default Re: frames breakout issue

    I tried putting the script in the frameset, but then the whole page comes up
    blank. Also you mentioned I had an extra opening script tag. I do not know
    much about scripting, so I dont know where that extra tag is.
    If you have a moment could you please look at my url to see what I mean?
    the link is
    [url]http://www.angelrox.com/html/gallery_photographers_frame_index.htm[/url] I use
    the the following script on the links without out frames to break-out of
    that frameset when they are clicked on:

    SCRIPT LANGUAGE="JAVASCRIPT">
    <!-- Hide from old Browsers
    if (top != self) top.location.href = location.href;
    // Stop hiding from old browsers -->
    </SCRIPT> <script type='text/javascript'>

    ...But that script does the same thing to pages that are in frames
    themselves. You had mentioned putting the script within the frameset, but I
    am either not putting it in the right place, or something else wrong,
    because the page comes up blank when I do that. If you have a free moment
    please take a look at this for me.

    Thank you for taking the time to read my post.

    Sincerely,
    mark j
    "Thierry Koblentz" <thierry@remove.212Utah.com> wrote in message
    news:bfu5aa$1ig$1@forums.macromedia.com...
    > Hi Mark,
    > I'm not sure I understand your question.
    > You don't want this script in your "framed" pages, only into your frameset
    > document or flat pages.
    > BTW, you have an extra opening script tag.
    > HTH,
    > --
    > Thierry
    > [url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
    > The link below is for IE5+/Win32/1024+ users *only*.
    > [url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial
    >
    > "bionicegg" <mark@bionicegg.com> wrote in message
    > news:bftvs7$oep$1@forums.macromedia.com...
    > > I have another question about frames.
    > >
    > > I have a site that has a few pages that need to be frames. I did figure
    > out
    > > that to eliminate the frames, you can use
    > > <SCRIPT LANGUAGE="JAVASCRIPT">
    > > <!-- Hide from old Browsers
    > > if (top != self) top.location.href = location.href;
    > > // Stop hiding from old browsers -->
    > > </SCRIPT> <script type='text/javascript'>
    > >
    > > However, what if they click on a another frame page from within a frame
    > > page. Is there a way to make the above script load, then after 1 second
    > > have the new frameset load?
    > >
    > > I want to thank you all for you help!
    > >
    > > Sincerely,
    > > mark johnson
    > >
    > >
    >
    >

    bionicegg Guest

  4. #3

    Default Re: frames breakout issue

    Hi Mark,

    <script type='text/javascript'> shouldn't be there ;)

    First of all, you need to replace this:
    <SCRIPT LANGUAGE="JAVASCRIPT">
    <!-- Hide from old Browsers
    if (top != self) top.location.href = location.href;
    // Stop hiding from old browsers -->
    </SCRIPT> <script type='text/javascript'>

    with this:

    <SCRIPT LANGUAGE="JAVASCRIPT">
    <!-- Hide from old Browsers
    if (top != self) top.location.href = location.href;
    // Stop hiding from old browsers -->
    </SCRIPT>

    If you're using xhtml go with:

    <SCRIPT type="text/javascript">
    <!-- Hide from old Browsers
    if (top != self) top.location.href = location.href;
    // Stop hiding from old browsers -->
    </SCRIPT>

    Now, ... regarding your "break out of frames problem", I don't understand
    *anything* of what you're talking about.
    What do you expect from that script exactly?
    Can you give us an URL of a document that contains the script so I can see
    what you're trying to achieve.
    I'm not sure you're using that script the way it should be used...

    HTH,
    Thierry
    [url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
    The link below is for IE5+/Win32/1024+ users *only*.
    [url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial

    "bionicegg" <mark@bionicegg.com> wrote in message
    news:bg1c7k$qc2$1@forums.macromedia.com...
    > I tried putting the script in the frameset, but then the whole page comes
    up
    > blank. Also you mentioned I had an extra opening script tag. I do not
    know
    > much about scripting, so I dont know where that extra tag is.
    > If you have a moment could you please look at my url to see what I mean?
    > the link is
    > [url]http://www.angelrox.com/html/gallery_photographers_frame_index.htm[/url] I use
    > the the following script on the links without out frames to break-out of
    > that frameset when they are clicked on:
    >
    > SCRIPT LANGUAGE="JAVASCRIPT">
    > <!-- Hide from old Browsers
    > if (top != self) top.location.href = location.href;
    > // Stop hiding from old browsers -->
    > </SCRIPT> <script type='text/javascript'>
    >
    > ...But that script does the same thing to pages that are in frames
    > themselves. You had mentioned putting the script within the frameset, but
    I
    > am either not putting it in the right place, or something else wrong,
    > because the page comes up blank when I do that. If you have a free moment
    > please take a look at this for me.
    >
    > Thank you for taking the time to read my post.
    >
    > Sincerely,
    > mark j
    > "Thierry Koblentz" <thierry@remove.212Utah.com> wrote in message
    > news:bfu5aa$1ig$1@forums.macromedia.com...
    > > Hi Mark,
    > > I'm not sure I understand your question.
    > > You don't want this script in your "framed" pages, only into your
    frameset
    > > document or flat pages.
    > > BTW, you have an extra opening script tag.
    > > HTH,
    > > --
    > > Thierry
    > > [url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
    > > The link below is for IE5+/Win32/1024+ users *only*.
    > > [url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial
    > >
    > > "bionicegg" <mark@bionicegg.com> wrote in message
    > > news:bftvs7$oep$1@forums.macromedia.com...
    > > > I have another question about frames.
    > > >
    > > > I have a site that has a few pages that need to be frames. I did
    figure
    > > out
    > > > that to eliminate the frames, you can use
    > > > <SCRIPT LANGUAGE="JAVASCRIPT">
    > > > <!-- Hide from old Browsers
    > > > if (top != self) top.location.href = location.href;
    > > > // Stop hiding from old browsers -->
    > > > </SCRIPT> <script type='text/javascript'>
    > > >
    > > > However, what if they click on a another frame page from within a
    frame
    > > > page. Is there a way to make the above script load, then after 1
    second
    > > > have the new frameset load?
    > > >
    > > > I want to thank you all for you help!
    > > >
    > > > Sincerely,
    > > > mark johnson
    > > >
    > > >
    > >
    > >
    >
    >

    Thierry Koblentz Guest

  5. #4

    Default Re: frames breakout issue

    I think I know what you are wanting to do.

    You need either the FrameJammer or Frame Stuffer extension.
    [url]http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn121&viewName=Dreamweave r%20Extension&extID=647551[/url]

    [url]http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn121&viewName=Dreamweave r%20Extension&extID=647552[/url]

    Both of these have instructions and help and will do what I think you are after.

    --

    Dave
    -----------------------------------------------------------------
    If I were half as smart as people think I am...
    I'd be twice as smart as I was before I forgot everything.
    (Official victim of CRAFT Syndrome)

    =======================


    "bionicegg" <mark@bionicegg.com> wrote in message news:bg1c7k$qc2$1@forums.macromedia.com...
    > I tried putting the script in the frameset, but then the whole page comes up
    > blank. Also you mentioned I had an extra opening script tag. I do not know
    > much about scripting, so I dont know where that extra tag is.
    > If you have a moment could you please look at my url to see what I mean?
    > the link is
    > [url]http://www.angelrox.com/html/gallery_photographers_frame_index.htm[/url] I use
    > the the following script on the links without out frames to break-out of
    > that frameset when they are clicked on:
    >
    > SCRIPT LANGUAGE="JAVASCRIPT">
    > <!-- Hide from old Browsers
    > if (top != self) top.location.href = location.href;
    > // Stop hiding from old browsers -->
    > </SCRIPT> <script type='text/javascript'>
    >
    > ...But that script does the same thing to pages that are in frames
    > themselves. You had mentioned putting the script within the frameset, but I
    > am either not putting it in the right place, or something else wrong,
    > because the page comes up blank when I do that. If you have a free moment
    > please take a look at this for me.
    >
    > Thank you for taking the time to read my post.
    >
    > Sincerely,
    > mark j
    > "Thierry Koblentz" <thierry@remove.212Utah.com> wrote in message
    > news:bfu5aa$1ig$1@forums.macromedia.com...
    > > Hi Mark,
    > > I'm not sure I understand your question.
    > > You don't want this script in your "framed" pages, only into your frameset
    > > document or flat pages.
    > > BTW, you have an extra opening script tag.
    > > HTH,
    > > --
    > > Thierry
    > > [url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
    > > The link below is for IE5+/Win32/1024+ users *only*.
    > > [url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial
    > >
    > > "bionicegg" <mark@bionicegg.com> wrote in message
    > > news:bftvs7$oep$1@forums.macromedia.com...
    > > > I have another question about frames.
    > > >
    > > > I have a site that has a few pages that need to be frames. I did figure
    > > out
    > > > that to eliminate the frames, you can use
    > > > <SCRIPT LANGUAGE="JAVASCRIPT">
    > > > <!-- Hide from old Browsers
    > > > if (top != self) top.location.href = location.href;
    > > > // Stop hiding from old browsers -->
    > > > </SCRIPT> <script type='text/javascript'>
    > > >
    > > > However, what if they click on a another frame page from within a frame
    > > > page. Is there a way to make the above script load, then after 1 second
    > > > have the new frameset load?
    > > >
    > > > I want to thank you all for you help!
    > > >
    > > > Sincerely,
    > > > mark johnson
    > > >
    > > >
    > >
    > >
    >
    >
    David R. Wheeler Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139