JavaScript search main content area of a page

Hi
I am hoping someone might be able to help. I am new to SharePoint and I'm looking to write a script on the master page which searches through the main content of a certain webpage.
My question is; what is the variable for JavaScript to call the main content area so I can search it. I believe it is something like item.maincontentarea?
Any help is appreciated.
Thank you

Hi
This could  sometimes happen because of  multiple users working on the same content .
Edited by: chandana kallu on Mar 11, 2008 1:41 PM

Similar Messages

  • Page Background Lost on Regions above Content Area for Some Pages

    Hi - I am a iWeb novice, but not a total rookie on this kind of software...
    I have a simple iWeb project that applies a gradient fill to the page background, and applies one of the gradient colors to the Browser background on every web page. I am using the "White" theme, and I have trouble with the "Photos" page template drawing Page backgrounds correctly. I have my content area set wider than the default to 1008 pixels to fill a 1024-wide display. I set my display area to 877 pixels high to coincide with the largest media dimension that I see with the inspector.
    I looked here for previous discussions on this and failed to find anything. Maybe I missed a post...
    Initially, most web pages load and display correctly the first time. One Photos web page, however, displays the Browser background - not the Page background above the centerline of the page name.
    On several pages with a "Photos" template (but not all), the initial page is displayed correctly. But, when I click on a photo thumbnail and the page is revised to display the larger photo image in the content area, the Browser background is displayed in error above the content area, and the Page background displays correctly below the top of the content area.
    I have looked for some consistent issue or characteristic that might let me predict when this problem occurs, but it ll looks rather random. It is repeatable, though - clearing caches and reloading the same page exposes the problem the same way a second time for the same page, in other words...
    Is this a bug, or something subtle in placement or overlap of areas on the page that I haven't noticed? Anything to be careful with to avoid this problem?
    Thanks anyone for any advice!
    Brian
    Message was edited by: Brian Crowe1

    Hi Cyclosaurus and Apnewbie -
    Thank you for your interest and replies. Here is a simple page that illustrates the problem I am having with a Page Background Gradient Fill on top of a Browser Background Solid Fill
    http://web.mac.com/bccrowe/Troubleshooting/KyliesArt2.html
    Here, I intend the page from the very top to the bottom of the defined content area to transition from pink to white as the eye moves left to right. The browser background is also pink to add some depth to the image - that's what you will see when the page loads.
    Click on the child's drawing to present the image, and you should see the gradient disappear above the centerline of the second text box (above the comment area) when the page finished loading with the large drawing.
    The Content area coincides precisely with the bottom of that second text box. I have tried to move the content area further below the text boxes so that they are not imtimate - no difference. I haven't tried to separate the text boxes, yet.
    The two text boxes immediately above the content area are 45px x 630 px (18 pt text) and 30 px x 630 px (14 pt text) - they overlap by about 10 pix.
    The content area that displays the thumbnail is 1008 px x 445 px (I thought that I set that at 877px...). I can try to set the content area to 877 px... Maybe this is the problem - maybe the Page Background shifts down to coincide with the bottom of the next page#2... Hmmm...
    When you click on the thumbnail, the page#2 content area is 1008 px x 877 px.
    In iWeb, this all looks the way I want it to.
    Please diddle with the page, and ask me any new questions! I appreciate your insight and help. In reality, Kylie won't notice the background change, but my next objective is a corporate site - this child's site is my "training" site. iWeb is really pretty flexible and easy to use. If I there's a work-around or something to avoid, I can live with iWeb just fine.
    Thanks again -
    Brian

  • Searching a content area with a (java) function

    I have to write a function (possibly java) for running an
    Intermedia search on a portal content area. The function should
    be called with search parameters, returning a list/array with
    search results.
    I saw the submit_search PL/SQL function (I could even call
    directly the search URL with all the parameters), but both the
    solutions returns a quite complex html page, difficult to parse
    for getting results in a table/array.
    Any suggestion?

    The actual query that we use for advanced search is quite
    complex and subject to change from release to release.
    Depending on what you want to search on, you could try using the
    content area views that are documented in the PDK instead of an
    interMedia search.
    Regards,
    Jerry

  • Link to Content Area from ASP page brings up default page

    I have a link on an ASP to the content area. When the user clicks on the link, he/she is required by the portal to provide their username/password. After entering the correct information, the users are displayed their default page NOT taken to the content area.
    Any ideas?

    Unfortunately, the only way to do this would be to not show the sub-folder region and add URL items in another region that link to the folder page in question.

  • Content Area in a page Template should not be inside a h:form

    In my template page I have some buttons which reside in a <h:form> tag. If I place a Content Area somewhere inside the <h:form> tag, the ACTION methods of the buttons DO NOT WORK!!!!
    e.g. Action methods of the buttons WORK PROPERLY
    <f:view>
    <BODY>
    <h:form styleClass="form" id="frmTemplate">
    ...some buttons...
    </h:form>
    <%-- tpl:insert attribute="bodyarea" --%>Default content of bodyarea<%-- /tpl:insert --%>
    </BODY>
    </f:view>e.g. Action methods of the buttons DO NOT work
    <f:view>
    <BODY>
    <h:form styleClass="form" id="frmTemplate">
    ...some buttons...
    <%-- tpl:insert attribute="bodyarea" --%>Default content of bodyarea<%-- /tpl:insert --%>
    </h:form>
    </BODY>
    </f:view>Any ideas why?

    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

  • How make the Top-level Navigation and Content Area in one page as a whole?

    I want to make the Top-level Navigation and the Content Area in the one page as a whole displayed in user interface.In the default framework,the Top-level Navigation and the Content Area were contained  in 2 pages, So the vertical scroll bar could only control the Content Area. I want to control the full page with  one vertical bar like the page of "www.sdn.sap.com" Web.

    Hi Jianguo,
    One advantage of the external facing portal solution (SP14) is that the framework page is displayed in a single frame. Perhaps this could be of use to you.
    Hope this helps.
    Daniel

  • Content Area in Portal Page: subfolder vs category

    Hi everybody,
    i've tried to publish a content area + navbar in a portal page: if i click to a SUBFOLDER on the folder portlet , the subfolder appears in the context of the portal page. But if i click a link to a CATEGORY, the category is loaded in the content area and not in the portal page. Does anybody know how to keep the content area in the portal page, that is
    to refresh the
    portlet in the context of the portal page ?
    Thanks.

    Currently not possible. We're considering this for a future release.
    Regards,
    Jerry

  • Search Multiple Content Areas

    We are running portal version 3.0.9.8.5 and would like to include 2 content areas in the search results. Right now we have the ability to search all or one content areas but not multiple.
    Is this functionality feasible?

    The search engine is not set up to tackle more than one (but not all) content areas in 30985. so even with your own search screen this is not feasible. This functionality will be available in the next major release.

  • ITunes Preview main content showing as black page

    Hi
    Just sending some feedback on iTunes Preview.
    I sent the following URL to a colleague and they said the main content was just black:
    http://itunes.apple.com/ie/podcast/quality-life-quality-care/id426140419?i=93260 376
    They had upgraded their iTunes to the latest and were using Internet Explorer 7.
    They could see a View in iTunes button on the left, which was good as they could then click through to iTunes.
    Everything worked fine for me on Firefox 4 XP.
    all the best
    Dave

    First check your site's code for errors. 
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    It's possible you added or omitted a semi-colon or curly bracket from one of your CSS rules which rendered the rest of it useless.
    Nancy O.

  • Searches In Content Areas

    Can AND/OR logic be used in searches?
    Is the length of the query field fixed or can it be expanded?

    Try posting this query in Oracle9iAS Portal Content Area

  • Iview calls new Page on Content Area

    Hello Everybody,
    I have a Page with 3 Iviews on it, and would like that an Iview call a new Page.
    Wich means, I have Iview 1,2,3 on Page A and if you trigger a link on of these Iviews a new Page B should be loaded.
    All I got is that the Page loaded in the Iview itself. Is there an opportunity to change that behavior, to call a Page B from an Iview that reloads the content area with a Page B?
    Thanks in advanced,
    Marcus

    Hi Marcus,
    you can call EPCM.doNavigate with the PCD target, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enterprise portal client.pdf
    Hope it helps,
    Detlev

  • No "presence" Attribute for Master Pages or Content Areas?

    Is it true that there isn't a .presence attribute for master pages and content areas?  I have a form with multiple master pages, and based on certain criteria, I'd like to not display the master page.
    This master page has 1 content areas.  One is a header area.  The rest of the page is content area 2.  It is blank.  I have a conditional breakpoint that sends line items from a table to content area 2 if I have more than 7 line items.
    If I have 7 or fewer line items, I'd like to hide this master page, but LiveCycle doesn't seem to think you should ever hide an entire master page.  If I could hide the top content area, then at least the page would print blank.
    I can't wrap content areas in subforms.  If I could do that, then I could hide the subform.
    Thanks!!

    My problem is I have page 1 with fields in the header, then there are line items attached to a database table.  There could be 1 line item or 200.  I can print up to 7 line items on the first page and then a footer must appear on just page 1.
    If there are more than 7 line items, I continue to another page.  I have to have a bunch of header fields at the top of this continuation page.  The line items continue under this.  If another continuation page is needed, then the header info appears at the top and then the line items continue.  This goes on until all line items are displayed.
    I have to use a conditional breakpoint in this line item table so I can tell it to go to a content area under the header on the continuation page.  I can't have the line items continue at the top of a page because I need that header.
    I define the content area under the content area for the header on the continuation page.  I have only been able to define content areas on master pages.
    I have more than 1 master page.  Page 1 and the final page are on 1 master page and they must always print.  The line item continuation page is another master page with 2 content areas (header and line item continuation).
    If I have 7 or fewer line items, the continuation page is not needed.  I need to be able to hide or display this page dynamically based on the number of line items from the database.
    I can show some examples when I get back to work.
    Thanks!

  • Content Area Export / -page switch

    I am using Portal Production 3.0.7.6.2 under NT.
    If I try to export a content area using the "-page" switch, then I get the following error in SQLPLUS:
    SP2-0310: unable to open file "pagename.sql"
    any ideas what is wrong?
    tks!!

    On Windows NT, the content area export script when invoked with the -page option looks for a script file named pagename.sql which was left out of the install (it has been fixed in 3.0.8). Using a text editor, save the following into a file named pagename.sql and place it in the <PORTAL_HOME>/admin/plsql/wwu directory:
    /* --- Cut Here --- */
    select 'set page_name='&#0124; &#0124;name from wwpob_page$
    where id = (select pageid from wwsbr_sites$ where upper(name) = upper('&&1'))
    set serverout on
    set echo off
    set feedback off
    set verify off
    set newpage 0
    set pagesize 0
    set space 0
    set heading off
    set trimspool on
    set termout off
    spo pagename.bat
    spo off
    exit
    /* --- Cut Here --- */

  • I am trying to make only the main content editable in a template.

    I thought I had only the main content area editable, but when I made a change to the menu bar in the template it didn't carry over ( I did try update) and then I realized my whole page is editable on the page where I applied the template.  Can someone please review and tell me what I might have done wrong.
    template
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <link href="../main.css" rel="stylesheet" type="text/css">
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body onLoad="MM_preloadImages('../images/logo/shop_small_1.png','../images/home_page/plantatio n_closed.jpg')">
    <div id="outer_container">
      <div id="inner_conatiner">
        <div id="header">
          <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
          </script>
          <table width="1024" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td rowspan="2"><img src="../images/logo/bed_guy_logo.gif" alt="bedguy logo" width="195" height="116" class="logo_images"></td>
              <td colspan="2" class="sleep_better">Helping Saint Louis<br>
                Sleep Better Since 2000</td>
              <td rowspan="2"><a href="../contact_forms/free_sticker_please.html" class="shop_small" onMouseOver="MM_swapImage('shop small','','../images/logo/shop_small_1.png',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/logo/logo_sticker_1.jpg" alt="shop small STL" width="225" height="105" id="shop small"></a></td>
            </tr>
            <tr>
              <td class="address"><a href="#">6431 Hampton Ave<br>
                Saint Louis, MO 63109<br>
                314-678-9100</a></td>
              <td class="address"><a href="#">4666 McRee Ave<br>
                Saint Louis, MO 63110<br>
                314-772-9999</a></td>
            </tr>
          </table>
        </div>
        <div id="nav_bar_top">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="#">browse</a>        </li>
            <li><a class="MenuBarItemSubmenu" href="#">bedroom</a>
              <ul>
                <li><a class="MenuBarItemSubmenu" href="#">Platform Beds</a>
                  <ul>
                    <li><a href="#">Item 3.1.1</a></li>
                    <li><a href="#">Item 3.1.2</a></li>
                  </ul>
                </li>
                <li><a href="#">Case Goods</a></li>
                <li><a href="#">Platform Accessories</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">futons</a>
              <ul>
                <li><a href="#">wallhuggers</a></li>
                <li><a href="#">premium frames</a></li>
                <li><a href="#">standard frames</a></li>
                <li><a href="#">economy frames</a></li>
                <li><a href="#">futon mattresses</a></li>
                <li><a href="#">futon accessories</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">youth</a>
              <ul>
                <li><a href="#">Loft Beds</a></li>
                <li><a href="#">BunkBeds</a></li>
                <li><a href="#">Storage &amp; Trundle Beds</a></li>
                <li><a href="#">Daybeds</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Mattresses</a>
              <ul>
                <li><a href="#">Pocket Coil</a></li>
                <li><a href="#">Memory Foam</a></li>
                <li><a href="#">Pillowtop</a></li>
                <li><a href="#">Plush/Firm</a></li>
                <li><a href="#">Best Value</a></li>
                <li><a href="#">Double Sided</a></li>
                <li><a href="#">Youth</a></li>
                <li><a href="#">Misc </a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">bed rails</a>
              <ul>
                <li><a href="#">Basic Frames</a></li>
                <li><a href="#">Hook-On </a></li>
                <li><a href="#">Bolt-On</a></li>
                <li><a href="#">Specialty</a></li>
              </ul>
            </li>
          </ul>
        </div>
        <div id="nav_bar_left">
          <ul id="MenuBar2" class="MenuBarVertical">
            <li><a href="#">browse</a></li>
            <li><a href="#">Specials &amp; Closeout</a></li>
            <li><a href="#">about us</a></li>
            <li><a href="#">delivery</a></li>
            <li><a href="#">FAQ</a></li>
            <li><a href="#">hours &amp; locations</a></li>
            <li><a href="#">Our manufacturers</a></li>
            <li><a href="#">photo gallery</a></li>
            <li><a href="#">contact us</a></li>
          </ul>
        </div>
        <div id="hours"> <!-- #BeginLibraryItem "/Library/hours.lbi" --><strong class="underline">6431 Hampton</strong> <br>
    Tues-Fri 11-7<br>
    Sat 11-6<br>
    Sun 12-3<br>
    <br>
    <strong class="underline">4666 McRee </strong><br>
    Tues-Fri 10-7<br>
    Sat 10-6<br>
    Sun 12-3<!-- #EndLibraryItem --><br>
    <br>
        </div>
    <div id="main_content"><!-- TemplateBeginEditable name="main_content" -->main_content<!-- TemplateEndEditable --><table width="800" border="1" cellspacing="0" cellpadding="5">
      <tr>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home_futon','','../images/home_page/plantation_closed.jpg',1)" ><img src="../images/home_page/plantation_open.jpg" alt="futon open and closed" width="150" height="145" id="home_futon"></a></td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
    </table>
    </div>
    <div id="footer">The BedGuy &copy;2000-2014<br>
    Contact Us</div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    page with template applied
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <link href="main.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body onLoad="MM_preloadImages('images/logo/shop_small_1.png','images/home_page/futon_closed.jp g','images/home_page/Clove Casegoods Dark Chocolate (Metal Knobs).jpg','images/home_page/sasparilla_chocolate_trundle.jpg','images/home_page/BR12_TE _Stack_06.jpg','images/home_page/link_spring.jpg')">
    <div id="outer_container">
      <div id="inner_conatiner">
        <div id="header">
          <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
          </script>
          <table width="1024" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td rowspan="2"><img src="images/logo/bed_guy_logo.gif" alt="bedguy logo" width="195" height="116" class="logo_images"></td>
              <td colspan="2" class="sleep_better">Helping Saint Louis<br>
                Sleep Better Since 2000</td>
              <td rowspan="2"><a href="contact_forms/free_sticker_please.html" class="shop_small" onMouseOver="MM_swapImage('shop small','','images/logo/shop_small_1.png',1)" onMouseOut="MM_swapImgRestore()"><img src="images/logo/logo_sticker_1.jpg" alt="shop small STL" width="225" height="105" id="shop small"></a></td>
            </tr>
            <tr>
              <td class="address"><a href="#">6431 Hampton Ave<br>
                Saint Louis, MO 63109<br>
                314-678-9100</a></td>
              <td class="address"><a href="#">4666 McRee Ave<br>
                Saint Louis, MO 63110<br>
                314-772-9999</a></td>
            </tr>
          </table>
        </div>
        <div id="nav_bar_top">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="#">browse</a>        </li>
            <li><a href="#" class="MenuBarItemSubmenu">futons</a>
              <ul>
                <li><a href="#">wallhuggers</a></li>
                <li><a href="#">premium frames</a></li>
                <li><a href="#">standard frames</a></li>
                <li><a href="#">economy frames</a></li>
                <li><a href="#">futon mattresses</a></li>
                <li><a href="#">futon accessories</a></li>
              </ul>
            </li>
            <li><a class="MenuBarItemSubmenu" href="#">bedroom</a>
              <ul>
                <li><a class="MenuBarItemSubmenu" href="#">Platform Beds</a>
                  <ul>
                    <li><a href="#">Item 3.1.1</a></li>
                    <li><a href="#">Item 3.1.2</a></li>
                  </ul>
                </li>
                <li><a href="#">Case Goods</a></li>
                <li><a href="#">Platform Accessories</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">youth</a>
              <ul>
                <li><a href="#">Loft Beds</a></li>
                <li><a href="#">BunkBeds</a></li>
                <li><a href="#">Storage &amp; Trundle Beds</a></li>
                <li><a href="#">Daybeds</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Mattresses</a>
              <ul>
                <li><a href="#">Pocket Coil</a></li>
                <li><a href="#">Memory Foam</a></li>
                <li><a href="#">Pillowtop</a></li>
                <li><a href="#">Plush/Firm</a></li>
                <li><a href="#">Best Value</a></li>
                <li><a href="#">Double Sided</a></li>
                <li><a href="#">Youth</a></li>
                <li><a href="#">Misc </a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">bed rails</a>
              <ul>
                <li><a href="#">Basic Frames</a></li>
                <li><a href="#">Hook-On </a></li>
                <li><a href="#">Bolt-On</a></li>
                <li><a href="#">Specialty</a></li>
              </ul>
            </li>
          </ul>
        </div>
        <div id="nav_bar_left">
          <ul id="MenuBar2" class="MenuBarVertical">
            <li><a href="#">browse</a></li>
            <li><a href="#">Specials &amp; Closeout</a></li>
            <li><a href="#">about us</a></li>
            <li><a href="#">delivery</a></li>
            <li><a href="#">FAQ</a></li>
            <li><a href="#">hours &amp; locations</a></li>
            <li><a href="#">Our manufacturers</a></li>
            <li><a href="#">photo gallery</a></li>
            <li><a href="#">contact us</a></li>
          </ul>
        </div>
        <div id="hours"> <!-- #BeginLibraryItem "/Library/hours.lbi" --><strong class="underline">6431 Hampton</strong> <br>
    Tues-Fri 11-7<br>
    Sat 11-6<br>
    Sun 12-3<br>
    <br>
    <strong class="underline">4666 McRee </strong><br>
    Tues-Fri 10-7<br>
    Sat 10-6<br>
    Sun 12-3<!-- #EndLibraryItem --><br>
    <br>
        </div>
    <div id="main_content"><!-- TemplateBeginEditable name="main_content" --> <!-- TemplateEndEditable -->
      <table width="800" cellpadding="10">
      <tr>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('futon','','images/home_page/futon_closed.jpg',1)"><img src="images/home_page/futon_open.jpg" alt="take me to futon home page" width="250" height="175" id="futon"></a></td>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('bedroom','','images/home_page/Clove Casegoods Dark Chocolate (Metal Knobs).jpg',1)"><img src="images/home_page/Tamarind Bed Full Cherry K-Series w Cinnamon Storage Drawers opened.jpg" alt="platform bed and casegoods" width="250" height="175" id="bedroom"></a></td>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('youth','','images/home_page/sasparilla_chocolate_trundle.jpg', 1)"><img src="images/home_page/Scribbles Twin Twin Medium Oak w Drawer opened.jpg" alt="bunkbeds and trundle beds" width="250" height="175" id="youth"></a></td>
      </tr>
      <tr>
        <td class="home_page_table_words">FUTONS</td>
        <td class="home_page_table_words">BEDROOM</td>
        <td class="home_page_table_words">YOUTH</td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mattresses','','images/home_page/BR12_TE_Stack_06.jpg',1)"><im g src="images/home_page/BR13_Pyramid_Stack_R.jpg" alt="mattresses" width="250" height="175" id="mattresses"></a></td>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('bedframes','','images/home_page/link_spring.jpg',1)"><img src="images/home_page/classic_frame.jpg" alt="bedframes" width="250" height="175" id="bedframes"></a></td>
        <td><img src="images/home_page/futon_closed.jpg" width="250" height="175"></td>
      </tr>
      <tr>
        <td class="home_page_table_words">MATTRESSES</td>
        <td class="home_page_table_words">BED FRAMES</td>
        <td class="home_page_table_words">SPECIALTY AND MISC</td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
    </table>
    </div>
    <div id="footer">The BedGuy &copy;2000-2014<br>
    Contact Us</div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

    Go to File > New page from template. 
    Select your Template.dwt file from the list and hit Create.
    Save your child page.
    Nancy O.

  • Removing the Vertical scroll bar from the content area.

    Hello,
    Is there a way to remove the vertical scroll bar from the content area?
    I am trying to create a new light portal frame work.
    Everything works fine except that I see two vertical scroll bars, one from the content area and another from the page(frame).
    Thanks in advance.
    -Sudheer

    Hi
    There are a couple of ways in which to achieve this
    1) Try and make the content flat. What I mean by this is that the content area (when using the standard light framework) doesn't contain an iframe, meaning that the iview defined on the page has "EMBEDDED" isolation mode. This should mean that you only have one scrollbar (if the content extends past the size of the browser)
    2) If you need to make the iview URL isolation, then try and get the domain of the content to be of a similar domain to your portal server, i.e. your portal is portal.company.com and the content is content.company.com. In this way you can make the pages expand.
    NOTE: One thing to note is that when using URL isolation iviews doesn't allow the automatic expanding of the iframe content. This is because the standard javascript doesn't allow this. Therefore you may have to write your own javascript function (or content area page) to do this
    I hope this helps
    Darrell

Maybe you are looking for