SnIpY
SnIpY

Reputation: 662

Yii Bootstrap Model Window Open on load

I'm currently using Twitter bootstrap for Yii (http://www.cniska.net/yii-bootstrap/#tbModal)

The modal window displayed on their site opens when clicked on a button. Anyone has any clues on how to open the modal window on page load?

I tried simulation a button click in javascript on load, but that's not really the correct way to go

Upvotes: 2

Views: 1619

Answers (1)

Rajat Singhal
Rajat Singhal

Reputation: 11264

Try the option autoOpen as documented on http://www.cniska.net/yii-bootstrap/#tbModal

Upvotes: 1

Related Questions