Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-24-2012, 03:25 PM   PM User | #1
Jackage
New Coder

 
Join Date: Jul 2011
Location: United Kingdom
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Jackage is an unknown quantity at this point
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
Jackage is offline   Reply With Quote
Old 06-27-2012, 11:36 PM   PM User | #2
Jackage
New Coder

 
Join Date: Jul 2011
Location: United Kingdom
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Jackage is an unknown quantity at this point
Please somebody help
__________________
Check out the Computer Programming & Development section of Discussion Lounge!
Jackage is offline   Reply With Quote
Old 06-28-2012, 12:12 AM   PM User | #3
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,376
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
Jackage, you need to post code all the code.
sunfighter is offline   Reply With Quote
Old 06-28-2012, 12:29 AM   PM User | #4
patsfans
New to the CF scene

 
Join Date: May 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
patsfans is an unknown quantity at this point
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.
patsfans is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:12 AM.


Advertisement
Log in to turn off these ads.