- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Dealing with AJAX content
Hey,
I am in the process of building a website that uses AJAX to load a news item into an area of the page – see: http://oandg.co.uk.s156312.gridserver.com/
If you go to the news section and click a news item it successfully loads. It does however make the list of news items move to the left briefly which i’m not sure how to get rid of?
I also would like to make it possible so that if the client gives someone a direct url to a news item it loads the website with the content inside it. At the moment if you go to a direct link it just goes to the page which holds the content: http://oandg.co.uk.s156312.gridserver.com/newsitem4.php
I’m not even sure if holding content for each news item in separate pages is the right way to go about things as this will eventually be controlled by a CMS. Help!
You can change the float:left; to float:right; on line 293 of style.css to stop the news menu sliding over on change,
Could you post the UNMINIFIED contents of dynamicpage-ck.js so we can take a look at the other problem?
You could handle the direct url’s but i’d be tempted to spend the time implimenting the CMS rather than fixing what is essentially going to be replaced ?