Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Reapply javascript on Ajax load of HTML

    TEST LINK
    http://catalystdesign.com/clients/Sc...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/dynamici...jaxcontent.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!

  • #2
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Bueller?

    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....

  • #3
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    Email the person that wrote the script. Their email is in the js file.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •