harvey, If it looks like it's going too soon look into window.settimeout. It'll let you wait a few seconds before doing anything.
Arian Kooshesh On 2/27/07, Chris Peto <[EMAIL PROTECTED]> wrote: > > Hi Harvey, > > What are you using as browser. I remember there was a problem with FF and > onload being called to soon. I worked around it by trying get something > that I knew was in the svg. If it was not found then I did a timeout and > tried until everything was loaded. > > Cheers, > Chris > > > > -----Original Message----- > From: [email protected] > <svg-developers%40yahoogroups.com>[mailto: > [email protected] <svg-developers%40yahoogroups.com>] > On Behalf Of Harvey Rayner > Sent: Dienstag, 27. Februar 2007 13:57 > To: [email protected] <svg-developers%40yahoogroups.com> > Subject: [svg-developers] passing javascript variables to another page > > hi, > > my app uses javascript to change the color attributes of an svg image. > > after these attributes have been changed by the user i want to be able to > send these color variables to another page where they can be used to > create > another svg. my page is php and i can collect variables from a url or by > the > POST method and pass these to the svg with an onload function. i'm ok with > this last bit. > > my problem is sending the 'updated' variables from the first page. when i > send the variables using window.location or post the original variables > got > from the svg file 'before' manipulation are sent, not the updated > variables. > > however if i change the function to an alert, the updated values are > shown. > > it seems like the page is being refreshed before the variables are passed > into the new page. > > i've spent the best part of a day trying different things so i guess i > missing something fundamental, any ideas anyone? > > cheers > > harvey > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > -- Walter Benjamin - "Counsel woven into the fabric of real life is wisdom." [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

