Jump to content

how to load Thickbox at OnLoad Event


sheraz

Recommended Posts

hi, i want to load the jquery thickbox when the page loads. can some body guide me how to do this.

i am trying to do it  as below.

 

function showthickbox()

{

var a = $("#link");

var t = a.title || a.name || null;

var l = a.href || a.alt;

var g = a.rel || false;

 

tb_show(t,l,g);

}

 

 

<body onLoad="showthickbox();">

Link to comment
https://forums.phpfreaks.com/topic/227637-how-to-load-thickbox-at-onload-event/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.