How to make a page that should be inside an iframe load up it's parent page?

Hello all
Here's my dilema...
I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
The problem that I envisage is that, even with no-index robot meta tags , Google et al are almost certain to index these pages fragments and proffer them in search results.
So, my question to you is two-fold:
1 - how can I make the page fragments load up the parent page should it be selected from a Google search result
and
2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
Any bright ideas/tutorials/sites I can nick code from/complete solutions that I don't have to pay for would be much appreciated.
Thanks
Peter

Actually, I did carefully choose this forum as being the most appropriate since my question, or rather what I imagine the answer might be, will involve things like scripting and/or cookies.
Would that not make it "dynamic" enough to remain here?
Thanks
Peter

Similar Messages

  • How to make a page that should be inside an iframe load up its parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags, Google et al are almost certain to index these page fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make a page fragment load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas / tutorials / sites I can nick code from / complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    AFAIK there's no practical way to do what you require.  Sorry.  This is one of the many downsides to Framed sites. It also makes bookmarking and printing pages difficult.  Not to mention user unfriendly from a web accessibility viewpoint.  Re-think your need for Iframes throughout an entire website.   The best websites use one complete page for each topic.  Index, About Us, Contact Us, etc...
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • When reading my book on iBooks, I encounter duplicate pages for many pages then it skips the pages that should be there so I am missing large parts to chapters, is this a "bug" in the book or app? How can this be fixed?

    When reading my book on iBooks, I encounter duplicate pages for many pages then it skips the pages that should be there so I am missing large parts to chapters, is this a "bug" in the book or app? How can this be fixed?

    Does the same thing happen on any other books that you have in the app ? If not then it's probably just that one book, in which can you could try deleting the book and re-downloading it - if it re-downloads in the same state then try the 'report a problem' from your purchase history :http://support.apple.com/kb/HT1933

  • Using Namoroka x64 some pages that should have a white background are red

    I'm using the beta version of Namoroka x64 and some pages that should have a white background, have a red background. The 32 firefox does not have this issue with the same page.
    Example site: http://www.illinoislottery.com/subsections/History/Win2011.txt
    Trying a txt file on the hard disk gives the same result

    Opening in the side bar is the default for bookmarks that are created via a link or button on a website.<br />
    You can check the Properties of a bookmark via the right-click context menu in the side bar (Ctrl+B; Cmd+B on Mac).<br />
    In the Bookmarks Manager (Bookmarks > Organize Bookmarks) you can click the More button in the Details pane at the bottom right.<br />
    Make sure that "Load this bookmark in the side bar" is not selected.

  • Can someone tell me how to make the letters that look like fabric?

    Can someone tell me how to make the letters that look like fabric?

    pharrout wrote:
    Can someone tell me how to make the letters that look like fabric?
    It could be as simple as clipping an image of the fabric of your choice, to a text layer.
    In this example the Hessian texture was downloaded from Google images, and placed over a Type layer.  You then Alt (Opt) click the intersection of the Type and Hessian layer to clip them together.  This just means that only the shape of the underlying layer will show in the clipped layer.

  • How to make pics visible that was received through mobil/PC/Bluetooth?

    Does anyone know how to make pics visble, that has been recieved through emails/mobil/PC/Bluetooth to Mac or vs?
    I am able to see some pics, but some again I am not able to see in anyway, and these are standard pics taken from typically commercially available cameras, and some pics are too small to be useful. But than other they are that well to be used in many ways!
    Anyone faced similar issues?

    Hello @_goma,
    Welcome to the HP Forums, I hope you enjoy your experience! 
    I have read your post on how you are looking to make your computer send all the audio through an optical audio cable instead of the headphone jack, and I would be happy to assist you in this matter!
    To configure your desktop to enable the optical audio cable, I recommend following the steps below:
    Step 1. Click the Windows Key Button on your desktop
    Step 2. Type "Control Panel"
    Step 3. Select "Control Panel" in the top right-hand corner
    Step 4. Select Sound
    Step 5. Under the Playback tab, right-click the white area below the devices available
    Step 6. Select "Show Disabled" and "Show Disconnected Devices"
    Step 7. Connect your Optical Audio Cable
    Step 8. Select your Optical Audio Cable as the default device and click "Enable"
    Since it is not possible to convert the HDMI out to audio out on your notebook computer, it is unfortunate that the notebook is not able to connect with an optical audio cord.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How to make the contact picture should appear on the upper right corner with thumb picture when some one calling instead showing the entire screen

    How to make the contact picture should appear on the upper right corner with thumb picture when some one calling instead showing the entire screen

    See deggie's response in this post... https://discussions.apple.com/message/8531821#8531821

  • I can see my thumbnails for my events in iphoto, but when I click to open the folder, no photos show up. However, when I hover over the thumbnail, it shows the flicker of images that should be inside the folder, as well as

    I can see my thumbnails for my events in iphoto, but when I click to open the folder, no photos show up. However, when I hover over the thumbnail, it shows the flicker of images
    that should be inside the folder, as well as # of images in each folder. It also occasionally says the following when I try to even open iphoto:  "Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very large libraries may take an hour or more to complete." So, I am scared to hit "upgrade" for fear I will never recover any of the images as the wording in this quote seems odd. The photos are not in the trash. Did I lose them all? Do you know if/how I can retrieve them?

    iPhoto 08?
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • How to draw a perfect circle and how to make sure it is perfectly centered inside a square

    How to draw a perfect circle and how to make sure it is perfectly centered inside a square in Photoshop elements using the Ellipse option.

    1. Create a square canvas.
    2. With the Elipse tool, hold down Shift (Shift forces a circle). Draw the circle anywhere on the canvas (Shape 1 in this example).
    3. Simplify the circle layer
    4. Ctrl-click the layer to select the circle.
    5. Copy the selection to the clipboard (Edit > Copy).
    6. Deselect the selection.
    7. Paste from the clipboard (Edit > Paste). The pasted circle (Layer 1) will be centered.
    8. Delete the original circle layer.
    NOTE: Step 6 is the key. This guarantees that the pasted circle will be centered.
    If you want a circle completely within a square you can simply draw and simplify a circle on any shape canvas. Ctlrl-click the circle to to select it and copy to the clipboard.
    Then do File > New from Clipboard. This creates the circle cropped to a square on transparent background.

  • How to Make a pdf that can be downloaded, filled in and saved and then emailed; Acrobat 9 Pro; Windows

    Hi,
    I hope this hasn't been asked before, but I really need to figure out how to do this.   We take forms in Word, convert them using the wizard, and then the only way I can figure how to make them fill in able and then saveable is to distribute through email.  This won't work for me, I need to put them on a website so they don't rely on me to get the forms.
    Any help is appreciated.   Here is a link to a state work site here in washington that has exactly what I need. if that help to clarify what I'm talking  about.
    Best, Mary

    Hi Mary,
    I have recently gone through this same experience.
    The first thing is to set the security.
    Go to Advanced/Security/2 Encrypt with password.  On this page go to Permissions and click on Restrict editing.
    You will need to add a password, choose the printing allowed, and changes allowed - this is where you allow the form
    to be filled out.
    When you have finished these steps, click ok.
    Then from the Advaned menu choose "Extend Features in Adobe Reader".  You will see what access the user has to the form.
    Your form should be ready to email or add to a website as a pdf form.
    Hope this helps.
    Debbie

  • How to make the name of a column apear as many times as the column on page

    Hi,
    This is what i want to do:
    I have a basic report looking like this:
    <Column name>
    value 1
    value 2
    value 3
    value n
    Since the column is small it can fit in a page more then one time. I know how to make it print more then once: i switch the repeating frame to print down and across and i modify the frame that contains it so the horizontal elasticity is variable.
    After these changes my report looks like this:
    <Column name>
    value 1-----------------------value n+1-----------------------value m+1
    value 2-----------------------value n+2-----------------------value m+2
    value 3-----------------------value n+3-----------------------...
    value n-----------------------value m
    What i want is my report to look like this:
    <Column name>-------<Column name>------------<Column name>
    value 1-----------------------value n+1-----------------------value m+1
    value 2-----------------------value n+2-----------------------value m+2
    value 3-----------------------value n+3-----------------------...
    value n-----------------------value m
    Would welcome any advice on how to achieve this please.
    Thank you.

    Hi,
    I will suggest a solution which may appear not simple. I do not know. Il did use this method, because a Government pre-printed tax form can print six values (in colum way) each page and it was not just esthetique question.
    1. Seams that you can know in advance the max number of column according to the width of the page and the length of the column.
    2. You can assume that you have x column at max by ligne
    3. Transforms your N rows in a table of M rows, each one with x columns : you will have N/x + N mod x
    4. I did this transformation using PL/SQL piplined function to transform rows to columns (by x)
    5. You base your report on the Pipelined function using select ... from Table (fnc_....) syntaxe
    6. make your vertical elasticity to variable and horizontal to fixed
    7. Put six labels on the top of your repeating frame (within a normal frame)
    I agree, it's not the solution if the requirment is just esthetic.
    Hope it helps.
    Mohamed Dadi

  • How to make a menu (opened by an on click event) stay open on the following pages

    Hi,
    I have a side menu that shows the main headings only, when clicked it displays the rest of the menu using and slide effect, with an option to close the menu, on reversing the slide. This all works perfectly but what i want to be able to do is, when a users opens a menu and then uses that menu to navigate to another page, on that new page i want that menu that was opened to stay open on this next page.
    The code i have so far is below:
    // the function for the effect
    function MM_effectBlind(targetElement, duration, from, to, toggle)
        Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    // the function to ensure the menu is unopened on page load
    function myFuncDisplay (){
    document.getElementById ('menu1').style.display='none';
    document.getElementById ('menu2').style.display='none';
    document.getElementById ('menu3').style.display='none';
    document.getElementById ('menu4').style.display='none';
    document.getElementById ('menu5').style.display='none';
    <body onload="myFuncDisplay ();">
    // the first menus code in the side menu that creates the on click and close menu actions
    <p onclick="MM_effectBlind('menu1', 1000, '0%', '100%', false)"  onMouseOver="this.style.color='#FFFFFF';" onMouseOut="this.style.color='#333333';">Menu One </p>
        <div id="menu1">
              <p class="close" onclick="MM_effectBlind('menu1', 1000, '100%', '0%', false); " onMouseOver=" this.style.color='#333333';" onMouseOut="this.style.color='#FFFFFF';"> close menu </p>
            <p><a href="firstLink.php">First Link</a></p>
            <p><a href="secondLink.php">Second Link</a></p>
            <p><a href="thirdLink.php">Third Link</a></p>
    I have tried setting a variable in the on click event then in the function myFuncDisplay() doing if else clauses to check if the variable was set and if so displaying the div as block in that function, expecting just that menu to display opened in sunsequent pages, it didn't work, itstead it displayed all menus open?
    Please can someone help me with a suggestion of how I can make this work, thank you in advance, i look forward to any replies.

    Hi,
    thanks for your reply, i am not actually using the spry menu, i am using the 'blind' effectthat I have adapted as per the code given, I wanted to make a menu that would open on click and the effect i have used works well, now  however I want the effect to remain open on different pages, as explained. i am looking for a way of adapting the function that makes the rest of the menu hidden on page load. So on page load the menu is hidden as per adapted code, apart from the menu heading, if the menu heading is clicked the menu opens, with an option to close it, if the user clicks on a link in the menu the new pages loads and the menu is   closed as per the onload instruction , I want a way to distinguish if the menu was clicked in one page it will recognise that and in the next page will not hide that particular menu until the user closes it themselves.
    Hope that makes it a bit clearer? look forward to any further help.

  • How to make PDF documents that open in Adobe reader open in Preview

    How do I make PDF documents that open in Adobe Acrobat open in Preview?

    Hold down the control key and select a file of the given type in the Finder. A contextual menu appears. Release the  control key and hold down the option key. From the contextual menu, select the submenu
              Always Open With
    and then the application you want to open all files of that type.

  • How to make a ScrollPaneLayout that only scrolls vertically?

    I wish to put a number of JTextPanes in a JPanel that is then inside of a JScrollPane which in turn is inside of a JFrame of arbitrary size. Absent the JScrollPane, if you were to narrow the JFrame, the JTextPanes would wrap their text so that they still fit, at least until you run out of vertical space. So, I want to introduce the JScrollPane to create an endless amount of vertical space, but I still want the horizontal space constrained to the size of the JFrame.
    How can I do this? Setting the horizontalScrollPolicy to NEVER simply makes it so the horizontal scrollbar never appears even though the underlying content is still allowed to lay itself out wider than the viewport. Looking at the Javadocs for ScrollPaneLayout and JViewport doesn't turn up anything useful.

    I've tried extending JPanel as shown below and using that as my container for all the JTextPanes and the component that is then the child of the JScrollPane, and it seems to work. I just wish I had some sample implementation of the first 3 methods, particularly the first one.
    public class VerticalScrollPanel extends JPanel implements Scrollable {
    public Dimension getPreferredScrollableViewportSize() {
    return null;
    public int getScrollableUnitIncrement(Rectangle rectangle, int i, int i1) {
    return 1;
    public int getScrollableBlockIncrement(Rectangle rectangle, int i, int i1) {
    return 20;
    public boolean getScrollableTracksViewportWidth() {
    return true;
    public boolean getScrollableTracksViewportHeight() {
    return false;
    }

  • How to compare two dates that should not exceed morethan 3 years

    hi all,
    can you please tell me how to compare two dates( basically dates are string type)
    that should not exceed more than 3 years? in JAVASCRIPT
    Thanks in Advance.

    This is not a JavaScript forum.
    [*Google* JavaScript Forum|http://www.google.co.uk/search?q=JavaScript+Forum&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a]
    Good luck.

Maybe you are looking for