...

View Full Version : Reapply javascript on Ajax load of HTML



jacobcatalyst
02-25-2009, 10:37 PM
TEST LINK
http://catalystdesign.com/clients/SchaferWeiner_site/site_test/index.htm

I am trying to incorporate:
1. Ajax loading html content into div container
2. I want to have a scroll text box that can be styled differently than the default browser scrollbar

The original resource scripts I am using are:
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
and
http://www.hesido.com/web.php?page=customscrollbar

As you can see from the lest link. On the initial load the javascript is applied fine to the content but when I load in new content with the Ajax script the formatting is removed. Is there a way to reload or reapply the scrollbar style to the newly imported content?

Thank you for your help!

jacobcatalyst
02-27-2009, 12:28 AM
Does anyone have any ideas or knowledge on this subject. I have been trying things for days and cannot find a solution. Somebody help me from using Flash.... ;)

A1ien51
02-27-2009, 03:12 PM
Email the person that wrote the script. Their email is in the js file.

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum