src/hg/hgTracks/hgTracks.c 1.1626
1.1626 2010/02/13 01:27:58 tdreszer
One more minor adjustment to navagation links
Index: src/hg/hgTracks/hgTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.c,v
retrieving revision 1.1625
retrieving revision 1.1626
diff -b -B -U 4 -r1.1625 -r1.1626
--- src/hg/hgTracks/hgTracks.c 13 Feb 2010 00:41:50 -0000 1.1625
+++ src/hg/hgTracks/hgTracks.c 13 Feb 2010 01:27:58 -0000 1.1626
@@ -4445,21 +4445,21 @@
makeChromIdeoImage(&trackList, psOutput, ideoTn);
#ifdef USE_NAVIGATION_LINKS
hPrintf("<TABLE BORDER=0 CELLPADDING=0 width='%d'><tr style='font-size:small;'>\n",tl.picWidth);//min(tl.picWidth, 800));
- #ifndef IMAGEv2_DRAG_SCROLL
- //if(!advancedJavascriptFeaturesEnabled(cart))
+ #ifdef IMAGEv2_DRAG_SCROLL
+ if(!advancedJavascriptFeaturesEnabled(cart))
+ #endif//ndef IMAGEv2_DRAG_SCROLL
{
hPrintf("<td width='40' align='left'><a href='?hgt.left3=1' title='move 95% to the left'><<<</a>\n");
hPrintf("<td width='30' align='left'><a href='?hgt.left2=1' title='move 47.5% to the left'><<</a>\n");
hPrintf("<td width='20' align='left'><a href='?hgt.left1=1' title='move 10% to the left'><</a>\n");
}
- #endif//ndef IMAGEv2_DRAG_SCROLL
if(!advancedJavascriptFeaturesEnabled(cart))
{
- #ifndef IMAGEv2_DRAG_SCROLL
+// #ifndef IMAGEv2_DRAG_SCROLL
hPrintf("<td> </td>\n"); // Without 'width=' this cell expand to table with, forcing other cells to the sides.
- #endif//ndef IMAGEv2_DRAG_SCROLL
+// #endif//ndef IMAGEv2_DRAG_SCROLL
hPrintf("<td width='80' align='left'><a href='?hgt.in3=1' title='zoom out 10x'>>>> <<<</a>\n");
hPrintf("<td width='60' align='left'><a href='?hgt.in2=1' title='zoom out 3x'>>> <<</a>\n");
hPrintf("<td width='40' align='left'><a href='?hgt.in1=1' title='zoom out 1.5x'>> <</a>\n");
hPrintf("<td width='40' align='left'><a href='?hgt.inBase=1' title='zoom in to base range'><i>base</i></a>\n");
@@ -4467,17 +4467,17 @@
hPrintf("<td> </td>\n"); // Without 'width=' this cell expand to table with, forcing other cells to the sides.
hPrintf("<td width='40' align='right'><a href='?hgt.out1=1' title='zoom out 1.5x'>< ></a>\n");
hPrintf("<td width='60' align='right'><a href='?hgt.out2=1' title='zoom out 3x'><< >></a>\n");
hPrintf("<td width='80' align='right'><a href='?hgt.out3=1' title='zoom out 10x'><<< >>></a>\n");
- #ifndef IMAGEv2_DRAG_SCROLL
- //if(!advancedJavascriptFeaturesEnabled(cart))
+ #ifdef IMAGEv2_DRAG_SCROLL
+ if(!advancedJavascriptFeaturesEnabled(cart))
+ #endif//ndef IMAGEv2_DRAG_SCROLL
{
hPrintf("<td> </td>\n"); // Without 'width=' this cell expand to table with, forcing other cells to the sides.
hPrintf("<td width='20' align='right'><a href='?hgt.right1=1' title='move 10% to the right'>></a>\n");
hPrintf("<td width='30' align='right'><a href='?hgt.right2=1' title='move 47.5% to the right'>>></a>\n");
hPrintf("<td width='40' align='right'><a href='?hgt.right3=1' title='move 95% to the right'>>>></a>\n");
}
- #endif//ndef IMAGEv2_DRAG_SCROLL
/* use button maker that determines padding, so we can share constants */
hPrintf("</tr></table>\n");
#endif//def USE_NAVIGATION_LINKS