Thread: ajax help
View Single Post
Old November 3rd, 2006, 4:46 PM   #6 (permalink)
Brandonnn
pineapples are sharp
Super #1
 
Brandonnn's Avatar
 
Joined in Dec 2005
5,779 posts
Gave thanks: 149
Thanked 151 times
You only need to edit the rssticker.js file and the HTML file.... see the bold for reference.


For rssticker.js

Code:
// -------------------------------------------------------------------
// Advanced RSS Ticker (Ajax invocation) core file
// Author: Dynamic Drive (http://www.dynamicdrive.com)
// -------------------------------------------------------------------

//Relative URL syntax:
var lastrssbridgeurl="http://www.techcrumbs.com/testing/bridge.php"

//Absolute URL syntax. Uncomment below line if you wish to use an absolute reference:
//var lastrssbridgeurl="http://"+window.location.hostname+"/lastrss/bridge.php"

////////////No need to edit beyond here//////////////
For the html file:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Advanced RSS Ticker (Ajax invocation) demo</title>

<script src="http://www.techcrumbs.com/testing/rssticker.js" type="text/javascript">
Brandonnn is offline   Reply With Quote
This user thanks Brandonnn for this great post!
Kayla (November 3rd, 2006)