I'm not a fan of this since currently getQueryParamValue can parse *either*
the hash or the query string value for name/value pairs. If we always put
the hash into an 'anchor' var, you would lose that ability.

I think users that are doing very complicated stuff with this are probably
just using SWFAddress or something similar to manage their browser state
anyway and probably don't care about this stuff.

* as an aside, someone should check and see if any other libraries depend on
getQueryParamValue to make sure we don't break them if we make changes to
this.


On Tue, Jan 13, 2009 at 5:54 PM, Alan Truly <[email protected]> wrote:

>  Whatever is finally decided, I think Aran makes an excellent point about
> the importance of not confusing querystring anchors with variables. The
> anchor shouldn't be passed as an undefined variable. I like the idea of
> passing the anchor in a variable named anchor.
>
> Thank you
>
> Alan
>
>
> Aran Rhee wrote:
>
>  Fine by me (I think – 90% sure).
>
>
>
>
>
> I was just wondering if we wanted some special handling for the anchor tag.
>
>
>
>
> #mydeeplink could some through to the swf as: anchor="mydeeplink" by
> checking if the 1st char of the querysting is a "#" and then replacing
> with a "anchor=".
>
>
>
>
>
> A user could also write their own js function to do this, but NOT if we
> remove the # from the querystring automatically. If we change the address
> of:
>
>
>
> some.html#mydeeplink?var1=foo&var2=bar
>
>
>
> To the  value of "mydeeplink&var1=foo&var2=bar" from a call to
> getQueryParamValue() then there is no chance to manipulate the querystring
> anchor unless we somehow knew all of the anchor names we were using in the
> page / app (unlikely / messy).
>
>
>
>
>
> Thoughts?
>
>
>
> Aran
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to