Javascript Manipulation for Expression Engine Site

*UPDATE: after posting the requirements below I have actually managed to accomplish the items 1,2 and 3 below but would like someone to check , "optimise" and clean up my code. The javascript code is very straight forward (approximately 50 lines including comments and line breaks). The template page is 8 lines of code. If you are interested I can email you the code and then you can adjust your bid.?


I need a solution that involves Expression Engine and jQuery to dynamically retrieve weblog entries and pull them into the parent page without a page refresh. The trigger for this is the user scrolling down to the bottom of the parent page.

My current setup is my main parent page and a very simple template which contains the expression engine weblog:entries tag to retrieve the most recent entries (literally just gets the entry title and summary). I am using the jQuery .get function in my parent page to retrieve the entries in my template page.

I have all this functionality currently working however, the problems I need to overcome are as follows:

1. Currently if no entries exist the request to the template page is still triggered and repeats in an endless loop. I need to stop the request when there are no remaining entries to retrieve.

2. If for example I only have two entries (as a result of the query in my template page), these two entries are repeated until the they fill up the current row. I need to stop the content being repeated - each entry should only appear once on the parent page.

3. Finally I would like you to take my code and make it so that I can specify the url to a template page and the column wrap width (this is a variable used in the smart columns example) so I can use the functionality for different types of content (i.e. weblog entries, news entries etc). I basically would like to avoid having to include a different javascript file each time I want to use this for a different weblog, ideally I would just like to specify the parameters and use the single javascript file to do the work.

Thanks very much for your time.

Habilidades: Engenharia, Javascript, MySQL, PHP, Gestão de projetos, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Veja mais: solution for problems, php code posting comments, expression engine requirements, clean up javascript, jquery template engine, Expression, javascript page title, stop content scrolling javascript, javascript items, javascript url example, query loop, time triggered, php expression, javascript url title, check parent, code check javascript, trigger email, javascript entry, refresh php file jquery, trigger javascript, javascript single page, line check template, php without refresh jquery, javascript include, jquery refresh page

Acerca do Empregador:
( 11 comentários ) Southampton, United Kingdom

ID do Projeto: #3029481

4 freelancers are bidding on average $44 for this job


See private message.

$42.5 USD in 7 dias
(50 Comentários)

See private message.

$80.75 USD in 7 dias
(6 Comentários)

See private message.

$42.5 USD in 7 dias
(0 Comentários)

See private message.

$8.5 USD in 7 dias
(0 Comentários)