質問

I have the following html code :

<a href="http://google.com/" title="Google" rel="gb_page_center[500, 500]">Launch</a>

It launches a popup generated with GREYBOX when I click on LAUNCH. but now I want this to happen automatically every time the website is opened! How do I do that?

役に立ちましたか?

解決

    <body>

    <script>
        AJS.AEV(window, 'load', function() {
          GB_show("Hello world", "http://google.com");
     });
    </script>

The AJS library used by greybox offers it's own pageload call

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top