PDA

View Full Version : Scrolling Content II HELP!



makman
06-15-2006, 02:13 PM
I am integrating the Scrolling Content II script and I cant seem to get the script to STOP SCROLLING at the end of the content. Any help would be extremely appreciated!


http://www.a-n-n-s-a-n-d-r-a.com/temp/index.php

I dont want it SE indexed. sorry! just delete dashes.

Regards,
MAK

jscheuer1
06-16-2006, 05:50 AM
Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the credit notice inside the script must be visible in the source code of the page(s) using it. Please reinstate the notice first.

To fix that, make this:


<script type="text/javascript" src="js/scrollPart1.js"></script>

like so:


<script type="text/javascript" src="js/scrollPart1.js">
/*
* Scrollable content script II- Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
*/
</script>

I'm not sure why this is happening on your page but, if you change both instances of:


contentheight=crossobj.offsetHeight

in scrollPart2.js to:


contentheight=parseInt(crossobj.style.height)

That wil fix it.

makman
06-16-2006, 05:07 PM
Im not sure why you ask I keep the copyright, It IS in there! thanks for the solution, Will let you know if it works.

-MAK


Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the credit notice inside the script must be visible in the source code of the page(s) using it. Please reinstate the notice first.

To fix that, make this:


<script type="text/javascript" src="js/scrollPart1.js"></script>

like so:


<script type="text/javascript" src="js/scrollPart1.js">
/*
* Scrollable content script II- Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
*/
</script>

I'm not sure why this is happening on your page but, if you change both instances of:


contentheight=crossobj.offsetHeight

in scrollPart2.js to:


contentheight=parseInt(crossobj.style.height)

That wil fix it.

makman
06-16-2006, 05:11 PM
oh. ok I get it. You want the notice in the html source. ok. done.

-MAK