Rendering different page content in homepage.

Hi,
I have a homepage with navigation header and footer. On selection of navigation items, the respective content will be rendered in homepage.
How can I do this?
Note: I have not used view.js and controller.js, all the content are in html for each page.
Tags edited by: Michael Appleby

Those are separate articles. You asked about the different sizes in the same article. I missed the part about different size articles…sorry.
You can use smooth scrolling with longer articles but they have to be single pages. Make sure to turn smooth scrolling on and use the _h or _v suffix with the file names.
Bob

Similar Messages

  • Can I open a tab with a different page than my homepage?

    I wanted to find out if it's possible to open a tab with a different page than my homepage.  It doesnt seem that I can do what I want because when I go to Safari Preferences/General, the only options for tab open is topsites/homepage/empty page/same page/bookmarks.  I'm surprised it doesnt let you select your own choice of page - if that is different from your home page.  It would seem t his would be so simple...Why cant I have a different webpage as my homepage when I open a new window and something else when I open a new tab.  But apparently I cant.
    Let me know if there's a way to do it.

    Actually I did get it to work the way I wanted to; thanks.  Its hard to explain but I had to set my homepage to what I wanted my tab to be , and then set my new window to the folder with just the one URL.  So in this one example (although now I know I can customize it).  I set my homepage to igoogle but then set my tab to open with my homepage (which really isnt my homepage) and a new window to open with a folder that just had "Google News" in it.
    Seems confusing and a lot of steps to do something that could easily be accomplished by just letting the user type in the URL of what they wanted.   Instead, I had to jump through hoops and basically set up a homepage that is not really a homepage because my new windows wont open with it as a homepage...so what makes it a homepage?  If that logic makes sense.  A homepage is not really a homepage then.
    This is another example of where if Id ask Apple, theyd tell me it couldnt be done.  Ive had the worst luck with Applecare and instore trainers.  Most of the time when they tell me "I Dont know" or "This can't be done", I post something here and get the answers.

  • Firefox is rendering a page in quirks mode on one machine, but not on a different machine.

    I have two machines that are going to the same website. One machine renders the page correctly, the other enters quirks mode and nothing appears on the screen.
    The machine that is not working is running OS X 10.6.4. The one that is working is running 10.4.11.
    I tried deleting the preferences, and reinstalling Firefox.
    This is a brand new install of the OS and was the first time we tried access this website.

    The problem is due to a call to getVolumeInformation. It works on my desktop but not on a different machine which has different drives and partitions etc. I'm returning the file system type of the fixed drives, however on certain fixed drives it fails. At first I thought it was failing on logical drives but that does not seem to be the case.This is nonsense in terms of your original post.
    Perhaps you meant to say that some of your native methods work and others dont? And the one and only way that they don't work is because you get the link error? If yes then I already told you what the reason is.
    Conversely there is some other failure, which has nothing to do with a link error. And thus it is pointless to continue to discuss this unless you actually explain what is happening.

  • Can I open a tab with a different page (of my choice) than my homepage?

    I dont think its possible but maybe someone can tell me Im wrong.  I wanted to open a tab with a different page than I open a new Safari window.  I would think this would be easy to do and I could just type in the URL I want, but Safari doesnt give me that option. If I go to Preferences/General to the open tab option , I only can do homepage/same page/book marks/ empty page/top sites.  I wish Safari had the option for me to type in the URL I want - just like I can with a homepage.
    So maybe someone wants to have the AppleStartPage as their homepage but wants their Gmail as their tab opening page.  Or GoogleNews as the homepage and USAToday as the tab page....or iGoogle as the homepage and Apple Store as the tab page...Well you get the picture.
    It seems like it would be such a simple t hing for Apple to do - a lot easier than creating Top Sites - but I dont see that option.  I hope Apple will change that in a Safari Update.  Why not give users more flexibility and choice in how they want to configure their computer experience?
    If Im wrong, pls tell me how to set the tab for the URL that I want.

    Try disabling Resume:  How To Disable Lion's 'Resume' Feature - MacRumors.com
    Then set your home page.

  • Different Pages in Multiple tabs of Content Area

    Hi,
    I have one window with for iview for transactions for se16 and se11.
    I want these two windows to open in different tabs of content area.
    at present when i click on the second the content area is over wrtten on the first window content.
    please suggest any configuration missing / workaround for displaying different pages on different tabs of content area.
    Thanks
    Sneha

    I wonder why do you want to create portal pages for se16 and se11 transactions from portal. However one option is to develop a custom iView using PDK to display two tabs.

  • Similar pages with different (calculated) content in 2 fields

    I try to create a page, lets say like a calendar page for 1 week.
    it starts on monday and ends on friday
    i created one page for a single week (monday to friday) in InDesign
    What i would like to do is to create 52 different pages, one for each week in a year
    But these 2 fields have to contain the correct value for the date, one for monday and one for friday
    these pages only need to be printed, there is no need to save them.
    is it possible to create these 52 pages from the "template" using java ?
    So for 2014 it would look like this
    week1:      field "monday" contains "2013-12-30"
                     field "friday" contains "2014-01-03"
    week2:      field "monday" contains "2014-01-06"
                     field "friday" contains "2014-01-10"
    and so on ...
    Thanks in advance for your help.

    Try like this:
    1. Set the Next page of the FIRST as FIRST
    2. In the MAIN window of the FIRST, after completing the TABLE, create a command which calls the SECOND PAGE.
    3. In SECOND page, create a MAIN window, with differnet name. If you create a same name, system will automatically refer the MAIN window in the FIRST page.
    4. Set the next page of the SECOND as SECOND.
    Regards,
    Naimesh Patel

  • Need Help Centering Page Content

    Hi, I have added a white box behind my main page content but the content is not centered within the box. It seems to be on the left. There are a number of different style sheets and I need to find out which style is affecting how the content is positioned.
    1. In this link below I’m not sure what is making the content go to the “left”. I need all of the thumbnails to be centered in the white area. That is what I need to find out first. What is the best way to find what is causing the thumbnails to go to the left? Is there an easy way to narrow down what is causing the thumbnails to go to the left?
    If I select “ul.work li” I notice it is set to (float: left). If I change it to (float: right) the thumbnails all move to the right. but if I set it to (float: none) the thumbnails all line up vertically. Not what I want.
    http://www.buzzfx.ca/2d_character.html
    In the homepage I also need to have all of the content centered.
    http://www.buzzfx.ca
    2. Also, how would I move the white box up to align with (touch the bottom) of the grey header?

    Thanks John, I managed to watch a good tutorial that set me straight.
    So back to the initial question. I am trying to center the content in the body but it seems to be aligned "left". Using Firebug, I think I have found the part that needs changing.
    1. At this link: http://www.buzzfx.ca/2d_character.html
    2. I hovered over the thumbnails until I found: <ul class="work fullwork clearfix">
    3. I then looked in the style and I believe it is this code below in "bold italics" that I need to edit to get the "content" to be centered but I am not sure how specifically to fix it/
    Q. Why does "margin-left: 40px;" have a strike through it?
    Q. Is "margin-left: 40px;" the reason the content is aligned "left"?
    Q. Could I not just "center" the contents instead of have it positioned from the "left"? Please explain!
    I would be very grateful if someone could look at my page in Firebug to tell what the best way is to center the body content.
    .clearfix:after {   clear: both;
       content: ".";
        display: block;
        height: 0;
        line-height: 0;
        visibility: hidden;
    ul.work {
    margin: 0 -15px;
    ul, ol {
    margin-left: 40px;
    h1, h2, h3, h4, form, table, ul, ol, p, dl, blockquote, hr {margin-bottom: 30px;
    text-align: left;
    ol, ul {
    list-style: none outside none;

  • Link to specific section of different page.

    I have a drop down menu on my nav bar.  I want the different links on the drop down menu to bring me to different sections of a different page. This is the code I have used.
    This is the html for the nav bar:
    <nav id="nav">
      <ul>
            <li class="current_page_item"><a href="index.html" class="home" style="font-family:nexa_rust_sansblack">Home</a></li>
            <li><a href="services.html" class="services" style="font-family:nexa_rust_sansblack">Services</a>
                 <ul>
                      <li><a href="services.html#manage">Management</a></li>
                                            <li><a href="services.html#strategy">Strategy</a></li>
                                            <li><a href="services.html#design">Design</a></li>
                                            <li><a href="services.html#optimize">Optimize</a></li>
                                            <li><a href="services.html#store">Store</a></li>
                                            <li><a href="services.html#social">Social Meida</a></li>
                 </ul>
            </li>
            <li><a href="portfolios.html" class="portfolios" style="font-family:nexa_rust_sansblack">Portfolios</a></li>
            <li><a href="contact.html" class="contact" style="font-family:nexa_rust_sansblack">Contact</a></li>
      </ul>
    </nav>
    This is the way each section of the page they link to is coded.
    <section class="box">
           <header id="manage">
                 <center><img src="images/manage.png" alt="Web Development Image"></center><br>
                 <h3>Website & Mobile Development</h3>
           </header>
                      <p>Content here</p>
    </section>
    But this doesn't seem to work.  Anyone have a suggestion? Thanks.

    Named anchors are deprecated in HTML5 docs. 
    <a name="strategy">
    Like I said before, you need to use a unique ID not a named anchor.
    <div id="strategy">
    Also, fix your code errors.   You have a few that will effect browser rendering.
    [Invalid] Markup Validation of http://www.beaniecapdesign.com/services.html - W3C Markup Validator
    Nancy O.

  • Copying / Cloning component tree elements to different pages

    I am copying a DataTable element to a session bean so that I can use it on a different page.
    On the new page I have a DataTable tag in the JSP which is bound to the DataTable in session. However, only the attributes of the DatatTable element are rendered (e.g. <DIV style='height:999px; width:99px;'>, not the children components (e.g Columns).
    I presume the problem is because most of the references in the session bean component refer to a different view. Am I correct in my thinking? If so, is there a way to clone? (I know it is not supported in UIComponent)?
    PS. Fundamentally, I am have many pages with tabbed or scrollable datatables. I want to 'send' these to one generic page. Here I can disable the scroll bar / pages, so that all rows are visible and then the user can print the table content.
    Edited by: lafual on Feb 6, 2008 3:34 AM

    Thinking this blog would indicate we would need to create a new viewset for the additional view on the window for CatDDLB
    then figure out how to get / code the data to the window?
    /people/vikash.krishna/blog/2009/10/08/crm-70-how-to--5b-create-an-overview-page-with-content

  • Target Named Anchor in a Spry Collapsible Panel from a different page

    Let me start by saying I have combed this forum (and others) looking for a resolution to this.  I am familiar with David Powers solution on Foundationphp.com and am using that code in project to open the collapsible panel from a separate page and it works beautifullly.  The problem I have is that I want the browser to move down to a specific named anchor inside that opened collapsible panel when clicked from a different page.
    Snippets of my current code here.
    Below is the code that I have on an image that when clicked goes to the correct page and opens Panel1.  Works Perfectly!
    <a href="bamboo-species.php?col1=open#CollapsiblePanel1"><img src="images/Content/Photos/HomeScroll/blackTmbor.jpg" width="227" height="175" /></a>
    Below is the link to the .js file and the script in the head of the target page
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script type="text/javascript">
    // Grabs the values of the URL parameters for the current URL.
    var params = Spry.Utils.getLocationParamsAsObject();
    </script>
    Below is the code that I have on the target page for Panel1
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:params.col1 ? true : false},{duration: 1000});
    </script>
    If I have a named anchor say <a name="species1" id="species1"></a> down in the page, how do I target that named anchor from my link on the separate page.  I have tried adding the #species1 to the end of the link on the link page (see below) but with no luck. I believe those were the instructions on foundationphp.com site.
    <a href="bamboo-species.php?col1=open#CollapsiblePanel1#species1"><img  src="images/Content/Photos/HomeScroll/blackTmbor.jpg" width="227"  height="175" /></a>
    I hope (and suspect) that this is an easy fix, I just do not know what it is.  Any help or direction where to look is greatly appreciated.

    I once had the same issue can created a small function that allows me to "jump" to a element.
    function scrollTo( element ){
         var stylize = function( element){ return !+"\v1" ? element.currentStyle : document.defaultView.getComputedStyle( element , null ) },
              getPosition = function( element ){
                   // based on the SpryEffect's module:
                   var computedStyle, tryComputedStyle,
                        position = { x: 0, y: 0 };
                        if ( element.style.left  && /px/i.test(element.style.left) ){
                             position.x = parseInt(element.style.left, 10); // without padding
                        } else {
                             computedStyle = stylize( element );
                             var tryComputedStyle = computedStyle && computedStyle.left && /px/i.test( computedStyle.left );
                             if (tryComputedStyle)
                                  position.x = parseInt( computedStyle.left, 10 ); // without padding, includes css
                             if(!tryComputedStyle || position.x == 0) // otherwise we might run into problems on safari and opera (mac only)
                                  position.x = element.offsetLeft;   // includes padding
                        if ( element.style.top && /px/i.test(element.style.top) )
                             position.y = parseInt( element.style.top, 10); // without padding
                        else
                             if ( !computedStyle )
                                  computedStyle = stylize( element );
                        var tryComputedStyle = computedStyle && computedStyle.top && /px/i.test( computedStyle.top );
                             if ( tryComputedStyle )
                                  position.y = parseInt( computedStyle.top, 10 ); // without padding, includes css
                             if( !tryComputedStyle || position.y == 0 ) // otherwise we might run into problems on safari and opera (mac only)
                                  position.y = element.offsetTop;   // includes padding
                   return position;
              scroll( 0, getPosition( element ).y );
    So now we have a scrollTo function that accepts a pure HTML element as argument, all what is left to do is figure out if we have a hash, and if the anchor exits on the page.
    ( hopes this works, i wrote it without testing, but you get the general idea ):
    if( window.location.hash ){
         var hash = window.location.hash.substr(1), // remove the # from the hash
         element;
         // as anchors can also be used with id attributes, check that first,
         element = document.getElementById( hash );
         // maby we used name="" attribute
         if( !element && ( element = document.getElementsByName( hash )) ){
              element = element[0];
         // if we have a match:
         if( element ){
              // give the collapsible panel some time to init and update the DOM;
              setTimeout(function(){ scrollTo( element ) },0);
    \o/

  • Different layouts for different pages

    hi all,
    i have created a form in which there are 5 output pages but the print preview shows only the first page out of 5.i want to go to the next page.plz help how would i do that.and  i want different layouts for different pages.
    thnks n regards,
    mukesh.

    Hi Mukesh,
    Read these lines which has been given in help.sap.com and also go through the link given below.
    Main Window on Several Draft Pages :
    if you want the pages on which a table with items is printed to have different layouts. Height and position of the main window may differ on the different pages, but the width must remain the same throughout.
    [Main Window|http://help.sap.com/saphelp_nw70/helpdata/en/b1/243fdabeee11d4b633006094192fe3/content.htm]
    Regards,
    Sravanthi

  • Setting portlet properties on different pages

    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

  • Different pages output

    for example:
    <?php
    create table testtable (
    company varchar2(6),
    order_number number(4),
    item_id number(4),
    quantity number(8),
    item_desc varchar2(16)
    insert into testtable values ('A',1001,1,10,'apple');
    insert into testtable values ('A',1001,2,20,'banana');
    insert into testtable values ('A',1002,2,50,'banana');
    insert into testtable values ('B',1002,1,30,'apple');
    insert into testtable values ('B',1003,3,60,'orange');
    insert into testtable values ('B',1004,3,50,'orange');
    commit;
    Table Test DATA
    company order_number item_id quantity item_desc
    A 1001 1 10 apple
    A 1001 2 20 banana
    A 1002 2 50 banana
    B 1002 1 30 apple
    B 1003 3 60 orange
    B 1004 3 50 orange
    $con = oci_connect("apps","apps","prod") or die("Unable to connect oracledatabase");
    $sql = "select * from testtable";
    $result = oci_parse($con,$sql);
    oci_execute($result);
    echo "<table border = 1>";
    echo "<td>COMPANY</td>";
    echo "<td>ORDER_NUMBER</td>";
    echo "<td>ITEM_ID</td>";
    echo "<td>QUANTITY</td>";
    echo "<td>ITEM_DESC</td>";
    $totalcomany = 0;
    while ($rows = oci_fetch_array($result,OCI_BOTH)) {
    if((isset($l_company) and $l_company != $rows['COMPANY']) or empty($result)) {
    echo "<tr bgcolor='#CCFFCC'>";
    echo "<td colspan= 3 align='center'>".$l_company."</td>";
    echo "<td >".$totalcomany." </td>";
    $totalcomany = 0;
    echo "<td > </td>";
    echo "</tr>";
    $l_company = $rows['COMPANY'];
    echo "<tr>";
    echo "<td>".$rows['COMPANY']."</td>";
    echo "<td>".$rows['ORDER_NUMBER']."</td>";
    echo "<td>".$rows['ITEM_ID']."</td>";
    echo "<td>".$rows['QUANTITY']."</td>";
    echo "<td>".$rows['ITEM_DESC']."</td>";
    $totalcomany = $totalcomany + $rows['QUANTITY'];
    echo "</tr>";
    echo "</table>";
    ?>
    how to make above example output in different pages ?
    thanks!

    Hi,
    I cannot believe that.
    If you really want to get good answers, you should:
    1. Do not ask the same questions in different threads.
    2. Omit those nasty answers with only "thanks a lot" as content.
    3. Avoid double postings.
    4. Do not expect ready solution.
    5. Do expect hints to work with, while working on an own solution and learn.
    6. Do not expect that everyone is reading your postings around the clock.
    Remember that it is really hard to follow a discussion, if it is fragmented into many threads, instead of having only one clear discussion thread.
    Greetings from Hamburg
    Thorsten Körner

  • How to get a date on different pages?

    Hey everyone, I am working on a daily planner for the office and have a script that automatically generates the dates but I don´t know how to get each of the dates on a different page. I'd really appreciate if anyone could help me get each date generated by the script on teh following page of my 365 page document. The scrip is:
    var months = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
    var length = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
    var days = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ];
    count = 0;
    day = 0;
    month = 0;
    weekday = 5;
    str = "";
    while (count < 365)
    count++;
    str += days[weekday]+", "+(day+1)+" "+months[month]+"\r";
    day++;
    if (day >= length[month])
      day = 0;
      month++;
      if (month > 11)
       month = 0;
    weekday = (weekday+1) % 7;
    app.selection[0].contents = str;
    Tanks!

    Try this,
    app.activeDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    app.activeDocument.zeroPoint = [0,0];
    with(app.activeDocument.viewPreferences){
        horizontalMeasurementUnits=MeasurementUnits.points;
        verticalMeasurementUnits=MeasurementUnits.points;
        rulerOrigin=RulerOrigin.pageOrigin;
    var months = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
    var length = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
    var days = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ];
    count = 0;
    day = 0;
    month = 0;
    weekday = 5;
    str = [];
    while (count < 365)
    count++;
    str[count]= days[weekday]+", "+(day+1)+" "+months[month]+"\r";
    str1 =str.toString();
    day++;
    if (day >= length[month])
      day = 0;
      month++;
      if (month > 11)
       month = 0;
    weekday = (weekday+1) % 7;
    for(i=0;i<document.pages.length;i++)
    var myTextframe = document.pages[i].textFrames.add({geometricBounds:[0,0,50,150]});
    myTextframe.insertionPoints[0].contents=str[i+1];
    Vandy

  • While in Edit Mode in Moodle - page content does not render at all, but I am able to display the underlying HTML code. Happens only after upgrade to Firefox 11.0.

    While in edit mode in the Moodle course management system, the Page Content window should display the page as it will appear to the user. If you click on the "Edit" button, you are able to view the HTML code for the page. However, when you return to the normal display mode, the page is blank. This has occurred after the upgrade to Firefox 11.0. Page is normally rendered in Internet Explorer.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    See also:
    *http://kb.mozillazine.org/Error_loading_websites
    *https://support.mozilla.org/kb/Error+loading+web+sites

Maybe you are looking for