开发者

RPX/Janrain - using an image map instead of the widget

开发者 https://www.devze.com 2023-02-03 13:31 出处:网络
I would like to use an image map for my Rpx/Janrain basic account instead of the widge开发者_运维百科t they provide. I have tried looking through the javascript file, but it is minified so useless to

I would like to use an image map for my Rpx/Janrain basic account instead of the widge开发者_运维百科t they provide. I have tried looking through the javascript file, but it is minified so useless to me.

I just want the "login buttons" to be displayed in my header image with an area map and depending on the image area clicked launch in to the login for that service.

Thanks!


A bit late to the game but I will answer this for posterity. Unfortunately this isn't possible with the Basic app. Pro level and up allows you to customize your method of login. You would set janrain.settings.custom = true; in the settings in the head and use the janrain.engage.signin.triggerFlow(provider) function in the image map areas to kick off the various identity provider sign in pages.

See http://developers.janrain.com/documentation/widgets/social-sign-in-widget/users-guide/coding-the-widget-appearance/ for examples.

0

精彩评论

暂无评论...
验证码 换一张
取 消