私のプロモーションページにソーシャル共有ボタンが追加されました。 https://www.biznessapps.com/cms/login_v2ポップアップウィンドウで水平スクロールバーを中央に配置する方法
は、ユーザー名:[email protected]
パスワード:paulz +あなたは、ログインページにぶつけます場合は、資格以下でログインできる https://www.biznessapps.com/cms/promote
すべてがOKですが、L inkedInは、水平にスクロールバーを表示します。これは、水平に配置したいと思っています。 https://www.linkedin.com/start/join?session_redirect=https%3A%2F%2Fwww.linkedin.com%2Fsharing%2Fshare-offsite%3Fmini%3Dtrue%26url%3Dhttp%253A%252F%252Fwww.biznessapps.com%252Fmobile%252F%253Fappcode%253Dpaulz06351%26title%3DBuild%2BYour%2BApp%26summary%3DCheck%2Bout%2Bthis%2Bapp%2BI%2527m%2Bbuilding%2Bthrough%2BBizness%2BApps%2521%2B%255Bweb%2Bapp%255D%26source%3Dmy%2527%2Ba%2522%2B%252F%257E%2521%2540%2521%2540%2521%2540aasaasasasasa&trk=login_reg_redirect
実際:期待 https://www.screencast.com/t/cbFl1Jl9
:ここ https://www.screencast.com/t/p88bQ67zb
私はLinkedInのアカウントにloggeedわけではない場合
は、ポップアップウィンドウは、のようないくつかのURLにリダイレクトされます画面内に新しいウィンドウを開くJavascript関数:
var openSocialWindow = function(url, width, height) {
var leftPosition, topPosition;
//Allow for borders.
leftPosition = (window.screen.width/2) - ((width/2) + 10);
//Allow for title and status bars.
topPosition = (window.screen.height/2) - ((height/2) + 50);
//Open the window.
var sWindow = window.open(url, '', "status=no,height=" + height + ",width=" + width + ",resizable=yes,left="
+ leftPosition + ",top=" + topPosition + ",screenX=" + leftPosition + ",screenY="
+ topPosition + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no,centerscreen=yes");
};
openSocialWindow("https://www.linkedin.com/shareArticle?mini=true", 600, 600);
上記のスニペットが原因StackOverflowのサイトの制限に新しいウィンドウを表示されません。これは単なる参考用です。
ありがとう、 Paul。ウィンドウが作成された後
あなたのコメントのおかげで、ない幸運を。それはうまくいかなかった。 –