| Shared Hosting Questions about your shared hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2006
Lives in Cookeville, TN
Hosted on SH92
13 posts
Gave thanks: 0
Thanked 0 times
|
ajax help
I'm new to ajax and for some reason the server won't work with it. does anyone have any ideas? Please let me know if i'm doing something wrong.
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2006
Lives in Cookeville, TN
Hosted on SH92
13 posts
Gave thanks: 0
Thanked 0 times
|
http://www.ttufiji.com/testing_folder/ajax/index.html
Theres one example that never loads the information. |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2006
Lives in Cookeville, TN
Hosted on SH92
13 posts
Gave thanks: 0
Thanked 0 times
|
heres another one..
http://www.ttufiji.com/testing_folder/ticker/demo.htm |
|
|
|
|
|
#5 (permalink) |
|
pineapples are sharp
Super #1
Joined in Dec 2005
5,773 posts
Gave thanks: 147
Thanked 151 times
|
try this link it's working fine on my end...
http://www.techcrumbs.com/testing/ make sure to make sure you edit the JS and HTM to show the exact urls of the scripts and php |
|
|
|
| This user thanks Brandonnn for this great post! | Kayla (November 3rd, 2006) |
|
|
#6 (permalink) |
|
pineapples are sharp
Super #1
Joined in Dec 2005
5,773 posts
Gave thanks: 147
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////////////// 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"> |
|
|
|
| This user thanks Brandonnn for this great post! | Kayla (November 3rd, 2006) |
|
|
#8 (permalink) | |
|
pineapples are sharp
Super #1
Joined in Dec 2005
5,773 posts
Gave thanks: 147
Thanked 151 times
|
Quote:
rssticker.js: Code:
// ------------------------------------------------------------------- // Advanced RSS Ticker (Ajax invocation) core file // Author: Dynamic Drive (http://www.dynamicdrive.com) // ------------------------------------------------------------------- //Relative URL syntax: var lastrssbridgeurl="http://www.ttufiji.com/testing_folder/ticker/lastrss/bridge.php" //Absolute URL syntax. Uncomment below line if you wish to use an absolute reference: //var lastrssbridgeurl="lastrss/bridge.php" ////////////No need to edit beyond here////////////// |
|
|
|
|
|
|
#9 (permalink) |
|
pineapples are sharp
Super #1
Joined in Dec 2005
5,773 posts
Gave thanks: 147
Thanked 151 times
|
also, change the 2nd line from the bottom of this code snippet to what i have in bold:
Code:
// ------------------------------------------------------------------- // Advanced RSS Ticker (Ajax invocation) core file // Author: Dynamic Drive (http://www.dynamicdrive.com) // ------------------------------------------------------------------- //Relative URL syntax: var lastrssbridgeurl="http://www.ttufiji.com/testing_folder/ticker/lastrss/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////////////// |
|
|
|