Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-14-2010, 09:51 AM   #1
In Runtime
 
hockeygoalie5's Avatar
 
Join Date: Dec 2009
Location: United States
Posts: 297
Default AJAX Problems

So, I'm using Dynamic Drive's AJAX content script. I have a box split into three parts so the box expands (the top, middle, and bottom of the box are three separate DIVs. Middle has no set height). When I put in the script to show the content, the DIVs separated. They were no longer sitting on each other, as if the top has a margin-bottom of a high number and the middle as well. Any help?
__________________

hockeygoalie5 is offline   Reply With Quote
Old 03-15-2010, 03:25 PM   #2
In Runtime
 
hockeygoalie5's Avatar
 
Join Date: Dec 2009
Location: United States
Posts: 297
Default Re: AJAX Problems

Help would be nice? Ugh, I'm terrible of thinking a load of crap to disguise a bump.
__________________

hockeygoalie5 is offline   Reply With Quote
Old 03-17-2010, 07:44 PM   #3
In Runtime
 
hockeygoalie5's Avatar
 
Join Date: Dec 2009
Location: United States
Posts: 297
Default Re: AJAX Problems

Bump!
hockeygoalie5 is offline   Reply With Quote
Old 03-17-2010, 07:49 PM   #4
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: AJAX Problems

Geez, why the need for all the bumping! I've never used that script, and I simply haven't got the time to download it and spend hours playing around with it to figure out what's wrong with it (if anything.) I suspect others knowledgeable enough to solve this one are probably thinking along the same lines.

If you can't fix the script yourself, then find another one to use - or just code the thing yourself!
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 03-17-2010, 08:00 PM   #5
In Runtime
 
hockeygoalie5's Avatar
 
Join Date: Dec 2009
Location: United States
Posts: 297
Default Re: AJAX Problems

I'm sure you don't know a better external content script that's better than an iframe? Or are you suggestion another version of AJAX?
hockeygoalie5 is offline   Reply With Quote
Old 03-17-2010, 08:13 PM   #6
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: AJAX Problems

I'm not saying the iframes should be changed (though they're horrible 90% of the time these days and probably should be!) It's the "AJAX content script" that I've no clue about. If it's screwing with the page, then it might be a dodgy script (or just one not designed to work in the way you're using it.) Why not just write the AJAX stuff yourself in Javascript? It's not too difficult, you'll learn a lot more and you'll be able to debug far more easily...
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 03-17-2010, 08:43 PM   #7
In Runtime
 
hockeygoalie5's Avatar
 
Join Date: Dec 2009
Location: United States
Posts: 297
Default Re: AJAX Problems

I'm a fairly well JavaScript coder, when it comes to simple stuff. Any suggestions on getting started with AJAX?
hockeygoalie5 is offline   Reply With Quote
Old 03-19-2010, 03:09 PM   #8
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: AJAX Problems

As usual with web based stuff, the w3schools tutorial is probably the most reliable out there:

http://www.w3schools.com/Ajax/ajax_intro.asp
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:10 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0