js

Events happening in the community are now at Drupal community events on www.drupal.org.

Panels para crear un efecto parallax en el home

Posted by Danielajj on November 7, 2016 at 1:40pm

Hola a todos!!

Soy nueva (pero solo en el registro de mi perfil porque vivo sumergida aquí resolviendo dudas y problemas)
Tengo varios días tratando de dar con la solución a lo que quiero hacer, les explico:

Read more
2 comments Categories: , , ,

Nginx HTTP concat module

Posted by perusio on December 9, 2011 at 3:45pm

This might be of interest to you.

Of course there's a Drupal module to be made. This will void most of the issues around CSS and JS aggregation. Making it simpler and more
efficient. Nothing beats C for speed and efficiency.

The module should work also with modconcat, that is, if you're still using that type of legacy web server technology ;)

Read more

Compression -- Drupal side or Apache side or both?

Posted by Swampcritter on July 16, 2009 at 2:23pm

Which would produce a better compression rate -- using mod_deflate on the Apache instance side for css/js files and/or using Gzip for Javascript/CSS on the Drupal side?

I am looking for overall site performance aspects as well (i.e. additional CPU time, memory allocation, etc).

Read more
28 comments Categories: , , ,

Advice for a novice Drupal developer hitting javascript problems?

Posted by bflora on October 11, 2008 at 10:56pm

Hi folks,

I'm developing an online news site that uses the Drigg module, panels, OG and views.

Somewhere along the way, I've picked up some nasty problems that I believe are javascript related.

They have to do with how forms work on my site.

Problems:

  1. The CCK Imagefield forms no longer works as designed. When I browse for an image and DON'T click "upload" it works. If click the upload button, the image info is not saved.
Read more
6 comments Categories: , ,

Arrays, Serialization, JSON and such....

Posted by silence on June 27, 2006 at 12:07pm

In the story here, It was finally decided that we will be using JSON for passing the "data" from client to server. As discussed, we'll be storing details in a JS object array in client. Robert had said that it is preferable to convert JS to php on server.

  1. What are the scenarios where serialized JS is prefered over php on server? Basically that answers why we should transfer the data in JS format instead of PHP?
  2. Now, once we have the "data" to transfer, What are the possible ways to transfer this from client to server? Is form POST enough or is thr something else that can be used?
Read more
Categories: , ,

Heartbeat pattern

Posted by ernestd on June 25, 2006 at 10:37am

Once the iframe is created and after the design mode is activated I call the activateHearBeat() function. This function does the refresh loop of the document calling itself with the setTimeOut() js function and calling the updateDocument() on each iteration.

<?php
function activateHeartBeat()
{
updateDocument();
setTimeout(function () { activateHeartBeat(); }, 3000);
}
?>

The updateDocument() is now very simple but it will have to set all post vars to send them to the server in each async call.

<?php
function updateDocument()
{
// set post vars
// (...)
.
// do async call

Read more
Categories: , ,
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /