[jQuery] Static List - Move Item Up or Down

2008-05-08 Thread all4one

Contributors have moved items in the order they wish to display on the
page but the page displays the items in random order.

I have four columns of content: Parent, Description, Image, and
Title... the order should be based on the Title.  What am I missing?


!--SS_BEGIN_OPENREGIONMARKER(region3)--!--$ SS_REGIONID=region3 --
!--$ include ss_open_region_definition --!--
SS_END_OPENREGIONMARKER(region3)--
!--SS_BEGIN_SNIPPET(region3_element1,2)--
 !--$ ssFragmentInstanceId=region3_element1,
ssIncludeXml(STATIC_LIST_FRAGMENTS, fragments/
[EMAIL PROTECTED]'TWO_COLUMN']/snippets/[EMAIL PROTECTED]'2']/text()) --
!--SS_END_SNIPPET(region3_element1,2)--
!--SS_BEGIN_CLOSEREGIONMARKER(region3)--!--$include
ss_close_region_definition --!--SS_END_CLOSEREGIONMARKER(region3)--
!--[if IE]


[jQuery] Re: Static List - Move Item Up or Down

2008-05-08 Thread all4one



On May 8, 3:37 pm, all4one [EMAIL PROTECTED] wrote:
 Contributors have moved items in the order they wish to display on the
 page but the page displays the items in random order.

 I have four columns of content: Parent, Description, Image, and
 Title... the order should be based on the Title.  What am I missing?

 !-- ResultSet Sort --
!--$ strNumRecords=ssGetXmlNodeCount(SS_DATAFILE, root  /Title) --

!--$ nNumRecords=toInteger(strTrimWs(strNumRecords)) --
!--$ nPos=1 --

!--$ rsCreateResultSet(ssListTemp, Title,Image,Abstract,Parent) --

!--$ rsCreateResultSet(ssList, Title,Image,Abstract,Parent) --

!--$ loopwhile nPos = nNumRecords --
 !--$ title = ssIncludeXml(SS_DATAFILE, root  /  Title  [ 
nPos  ]/node()) --
 !--$ image = ssIncludeXml(SS_DATAFILE, root  /  Image  [ 
nPos  ]/node()) --
 !--$ abstract = ssIncludeXml(SS_DATAFILE, root  /  Abstract 
[  nPos  ]/node()) --
 !--$ parent = ssIncludeXml(SS_DATAFILE, root  /  Parent  [
 nPos  ]/node()) --
 !--$ rsAppendRowValues(ssListTemp, title  ,  image  , 
strReplace(abstract,',','[EMAIL PROTECTED]')  ,  parent) --
 !--$ setValue(#local,count  parent,getValue(#local,count 
parent) + 1) --
 !--$ nPos=nPos+1 --
!--$ endloop --

!--$ rsMerge(ssList, ssListTemp, Title) --
!--$ rsSort(ssList,Title,string,asc) --
!--$ rsSort(ssList,Title,string,asc) --

!--$ rsCreateResultSet(ssParentList, Title,Text,Count) --

!--$ strNumParentRecords=ssGetXmlNodeCount(SS_PARENTDATAFILE,
ssParentRoot  /Title) --
!--$ nNumParentRecords=toInteger(strTrimWs(strNumParentRecords)) --
!--$ nParentPos=1 --

!--$ loopwhile nParentPos = nNumParentRecords --
 !--$ title = ssIncludeXml(SS_PARENTDATAFILE, ssParentRoot  / 
Title  [  nParentPos  ]/node()) --
 !--$ text = ssIncludeXml(SS_PARENTDATAFILE, ssParentRoot  / 
Text  [  nParentPos  ]/node()) --
 !--$ rsAppendRowValues(ssParentList, title  , 
strReplace(text,',','[EMAIL PROTECTED]')  ,  getValue(#active,count 
title)) --
 !--$ nParentPos=nParentPos+1 --
!--$ endloop --


[jQuery] MM_preloadImages

2008-05-08 Thread all4one

My images are loading too slow. I have 5. They are less that 50k each.
Can I preload the first image and then load 2-5?


CODE:
function loadBanner()
{
bC = bannerCount();
if (bC  0)
{
sponsor = getCookie(bannerIndex, bC, 1);
var banner = \'banner + sponsor + \';
var numberBar = \'numberBar + sponsor + \';
max = bC;
MM_preloadImages();
setTimeout('MM_effectAppearFade(' + banner + ', 1000, 0, 100, false)',
1000);
document.getElementById('banner' + sponsor).style.display='block';
if (document.getElementById('numberBar' + sponsor) != null)
{
setTimeout('document.getElementById(numberBar +
sponsor).style.display=block',1);
setTimeout('document.getElementById(numberBar).style.display=block',
1);
alertTimerId = setInterval('swapBanner2();',cycleTime);
}
}
}


[jQuery] Re: the dropdown menu flashes on the screen on page load.

2008-05-06 Thread all4one

style=display:none worked great! thanks

On May 2, 2:33 am, yabado [EMAIL PROTECTED] wrote:
 You may want to specifically tell the menu dive to not display, hard
 coded.

 div id=menuitems style=display:none;/div

 On May 1, 6:04 pm, Theodore Ni [EMAIL PROTECTED] wrote:



  You'll need to give us more information, a demo or at least some code,
  before we can help you diagnose.

  On Thu, May 1, 2008 at 5:18 PM, all4one [EMAIL PROTECTED] wrote:

   I have two drop-down lists in the main menu at the top of the page.
   When you click on link items in the top menu (different menu) which
   is below the main menu the drop-down menu flashs then disapears as
   the rest of the page loads.

  --
  Ted- Hide quoted text -

 - Show quoted text -


[jQuery] Re: the dropdown menu flashes on the screen on page load.

2008-05-02 Thread all4one

Here is the link to the page:

http://www3.appliedbiosystems.com/index.htm

Notice how the My Account and My Basket/Orders dropdowns briefly
display as the page loads. Also note that they display briefly when
the page refreshes after clicking on Applications  Technologis,
Services or Support in the main (blue) menu bar. This is what I'm
trying to prevent.

I believe the following code displays the dropdowns on mouseover and
hides them when the mouse leaves. Am I on the right path?

dom.query('div.trigger').hide();
dom.query('div.trigger').bgIframe();
dom.query('div.subMenuAlt').bgIframe();
dom.query('div.subMenu').bgIframe();

dom.query(li#myAccount, li#myBasket).bind(mouseenter, function(){
dom.query(this).find(a).eq(0).addClass(active);
dom.query(this).find(div.trigger).show();
dom.query(#topMenu ul li).css(position, static);
}).bind(mouseleave, function(){
dom.query(this).find(a).eq(0).removeClass(active);
dom.query(this).find(div.trigger).hide();
dom.query(#topMenu ul li).css(position, relative);
});

On May 1, 3:04 pm, Theodore Ni [EMAIL PROTECTED] wrote:
 You'll need to give us more information, a demo or at least some code,
 before we can help you diagnose.

 On Thu, May 1, 2008 at 5:18 PM, all4one [EMAIL PROTECTED] wrote:

  I have two drop-down lists in the main menu at the top of the page.
  When you click on link items in the top menu (different menu) which
  is below the main menu the drop-down menu flashs then disapears as
  the rest of the page loads.

 --
 Ted


[jQuery] the dropdown menu flashes on the screen on page load.

2008-05-01 Thread all4one

I have two drop-down lists in the main menu at the top of the page.
When you click on link items in the top menu (different menu) which
is below the main menu the drop-down menu flashs then disapears as
the rest of the page loads.