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 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2011
    Location
    United Kingdom
    Posts
    28
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Help needed with dynamic content ajax within other js

    Basically, I have a 'news feed' on my sidebar on the website, the news feed is a js and opens each link to a forum thread; I want the links to open instead into the middle div of the website using dynamic content. Here are the to seperate code snippets, the first of the dynamic content I'm using elsewhere on the site and the second of the JavaScript which loads the news feeds, I don't know how to make this work but there must be a way to incorporate the dynamic content into the news feed links.

    Code:
    <a href="#" onclick="javascript:ajax_loadContent('middle','pages/connect.html');return false">installation</a>
    This is the dynamic content link, an example of one of the links on the site.
    I will attach the 'feed' JavaScript file below as it is too big to paste here, but I would of thought the link would need to be edited in this file to incorporate the ajax content, but I am clueless as to how to go about doing so. Any help is appreciated.
    js.txt

  • #2
    New Coder
    Join Date
    Jul 2011
    Location
    United Kingdom
    Posts
    28
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Please somebody help

  • #3
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,092
    Thanks
    23
    Thanked 593 Times in 592 Posts
    Jackage, you need to post code all the code.

  • #4
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by sunfighter View Post
    Jackage, you need to post code all the code.
    I'm with sunfighter. I read your post earlier and unfortunately your request is too vague for anyone to give you any real assistance. We need a little more info to be able to try and help you.


  •  

    Posting Permissions

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