Active
Project:
SWFAddress
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2010 at 01:00 UTC
Updated:
24 Sep 2012 at 11:00 UTC
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
Comment #1
wannabe commentedHi, 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
Comment #2
usurper commentedI 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.
Comment #3
druwar commentedCould 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.