Hi,

My site doesn't have any swf file, it's all in jQuery/Ajax, so i'm thinking about using Asual jQuery Address plugin.

I just need to understand how this module could change the drupal url before the page loads.

For example, if a user access a url like http://site.com/#/state, the normal behavior would be drupal loading the frontpage (eg. http://site.com/).
But i'd like to check if there's a hash at the url and if so, change the site url BEFORE drupal print anything fr the user.

I know this modules does it, but...how?

I found this function swfaddress_init() where it loads querystring, but i'm not sure how to change the location.

Can someoe help me please?

Thanks

Comments

wannabe’s picture

Hi, i dont know how to solve your Problem but maybe you found a Solution?
Would be nice to have a little Tutorial on how to include JQuery Address in Drupal.

Greetz Wannabe

usurper’s picture

I have a dev site right now that utilizes jquery address. I am using the swfaddress module to accomplish the url redirection that I need. I just use a blank swf to satisfy the swfaddress module's requirements. It is unknown at this time if this causes any unwanted side effects, but so far it is working great.

druwar’s picture

Could you provide me details on this? I tried to use that module but it is using swfaddress resources where as I am interested in jquery.address. Did you use jquery.address and if so then how? Could you provide me code sample etc.