Master page changes

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/29/2011 2:11:27 AM
Gravatar
Total Posts 27

layout.Master issue

hi

     I have added a image rotator in layout.Master page that should be constant for all pages but  when I'm trying  to edit any page and     clicking in administration link for setting, then only  image rotator is not working. please guide me .......

Operating system= Win XP Pro,SP2

Database platform= sql server 2005

version of mojoPortal= mojoportal-2-3-7-0-mssql-net35

Master page code---------------------

<div class="art-nav">
                    <div class="l">
                    </div>
                    <div class="r">
                    </div>
                    <portal:SiteMenu ID="SiteMenu1" runat="server" UseTreeView="false" HideMenuOnSiteMap="false"
                        Direction="Horizontal"></portal:SiteMenu>
                </div>

                <script language="javascript" type="text/javascript" src="script/mootools-1.2.1-core.js"></script>

                <script language="javascript" type="text/javascript" src="script/mootools-1.2-more.js"></script>

                <script language="javascript" type="text/javascript" src="script/slideitmoo-1.1.js"></script>

                <script language="javascript" type="text/javascript">
window.addEvents({
  'domready': function(){
   /* thumbnails example , div containers javascript start for image rotatore... */
   new SlideItMoo({
      overallContainer: 'SlideItMoo_outer',
      elementScrolled: 'SlideItMoo_inner',
      elementScrolled: 'SlideItMoo_outer',
      thumbsContainer: 'SlideItMoo_items', 
      itemsVisible:3,
      autoSlide:5000,
      elemsSlide:1,
      duration:300,
      itemsSelector: '.SlideItMoo_element',
      itemWidth: 440,
      showControls:1,
      startIndex:1,
      onChange: function(index){
      
      }
  
   });
  }
});
                </script>

                <div>
                    <table width="100%">
                        <tr>
                            <td style="height:350px;">
                            <div id="SlideItMoo_outer" style="width:100%;overflow:hidden;">
<div class="SlideItMoo_back">
  <!--slide back button--></div>
<div id="bllft">
  &nbsp;</div>
<div id="SlideItMoo_inner" style="width:100%;overflow:hidden;">
  <div id="SlideItMoo_items">
   <div class="SlideItMoo_element">
    <img src="gallery/thumb/1.jpg" /></div>
   <div class="SlideItMoo_element">
    <img src="gallery/thumb/2.jpg" /></div>
   <div class="SlideItMoo_element">
    <img src="gallery/thumb/3.jpg" /></div>
   <div class="SlideItMoo_element">
    <img src="gallery/thumb/4.jpg" /></div>
   <div class="SlideItMoo_element">
    <img src="gallery/thumb/2.jpg" /></div>
  </div>
</div>
<div id="blrgt">
  &nbsp;</div>
<div class="SlideItMoo_forward">
  <!--slide forward button--></div>
</div>

10/29/2011 7:28:27 AM
Gravatar
Total Posts 18439

Re: Master page changes

you need to put a / at the beginning of those script paths to make them relative to the root of the site. ie where you have script you need /script

Hope that helps,

Joe

10/29/2011 7:49:48 AM
Gravatar
Total Posts 27

Re: Master page changes

thanks Joe i got it....................

You must sign in to post in the forums. This thread is closed to new posts.