Forgot?

shadowbox open via button

Reply Topic
Link to this post 14 Dec 09

Hello,

I am trying to open a URL in a shadowbox via submit-button.

...onClick="shadowbox.open(href='http://www.my_url.com)...

But this way seems to be wrong - any idea?

Link to this post 14 Dec 09

Hi,

you would probably be better putting this in a function itself and calling the function from onclick

however try this


// open a welcome message as soon as the window loads
Shadowbox.open({
content: 'http://www.my_url.com',
title: "Click Me",
height: 350,
width: 500
});

Richie

Forums Ninja Shadowbox & Ninja ShadowPanel shadowbox open via button