Hi Everybody,
im using highslide to show images. i want page scroll if the highslide is activated like window.scroll(0 ,550). i used this code which works good in IE but not in FF. the following is the highslide code. please tell me how and where i can use window.scroll to make scroll page and when i close the highslide then page should go back to (0,0) position this is at the top. please help me out.
here is code. this code is working perfectly but i want to scoll the page and then back to the top when highslide is closed.
here is the JS file:
Here is the HTML file:
im sorry i forget how to write code into its format. please i request to the administration of this site to do this for me and tell me how i can write in proper formating. thanking u.
im using highslide to show images. i want page scroll if the highslide is activated like window.scroll(0 ,550). i used this code which works good in IE but not in FF. the following is the highslide code. please tell me how and where i can use window.scroll to make scroll page and when i close the highslide then page should go back to (0,0) position this is at the top. please help me out.
here is code. this code is working perfectly but i want to scoll the page and then back to the top when highslide is closed.
here is the JS file:
Here is the HTML file:
Code:
<html><head>
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'glossy-dark';
hs.wrapperClassName = 'dark';
hs.fadeInOut = true;
//hs.dimmingOpacity = 0.75;
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
opacity: .6,
position: 'bottom center',
hideOnMouseOut: true
}
});
</script>
<title></title>
</head>
<body>
<TABLE style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid" cellSpacing=0 cellPadding=0 width=205 border=0>
<TBODY>
<TR>
<TD bgColor=#f7f7f7
height=175><a href="http://bytes.com/images/print-design/full-logo/logo2(35mm).jpg" class="highslide" onClick="return hs.expand(this)"><img src="http://bytes.com/images/print-design/logo2(35mm).jpg"
title="Click to enlarge" /></a></TD>
</TR></TBODY></TABLE>
</body></html>
Comment