Hi,

see http://msdn2.microsoft.com/en-us/library/ms535926(VS.85).aspx for 
explanation of AddFavorite Function. Works as designed I suppose ;-)

Hint: Add a title to AddFavorite parameters

On Friday 11 April 2008 11:14:11 Geografisches Informationssystem wrote:
> Hi list,
>
> I've got a litte problem.  I use my own function kp for assigning
> functions to keys. So I did with key "f". This keypress should use the
> function window.external.AddFavorite with parameter current_maplink.
> Looks like this:
>           case 70: // f
>             mapURL=current_maplink;
>             window.external.AddFavorite(mapURL);
>             break;
>
> If I insert an alert(current_maplink), the url is perfect:
> ------------------------------
> Microsoft Internet Explorer:-(
> ------------------------------
> http://10.170.0.20:8080/map.phtml?dg=&me=2540014.06687,5506783.62852,255
> 9876.77883,5517156.86102&language=de&config=default
> ------------------------------
> OK
> ------------------------------
>
> But in dialog box for adding to favs the url looks like this:
> http--10.170.0.208080-map.phtmldg=&me=2540014.06687,5506783.62852,255987
> 6.77883,5517156.86102&language=de&config=default
>
> What happended to the mapurl? (may a nice title for a film or a book:-)
>
> Greets,
>
> Guido
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to