/    Sign up×
Community /Pin to ProfileBookmark

want to load a <a> tag automatically on page start with auto thickbox?

I am recently installed auto thickbox in wordpress. Now what want is to auto load a external html page when someone visit my site for the first time. I have tried my best but failed. Please help me out? thanks.

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@FangOct 23.2010 — [CODE]$(document).ready(function(){
tb_show("google","http://google.com/?TB_iframe=true&height=400&width=600", "");
});
[/CODE]
Copy linkTweet thisAlerts:
@AmirShahzadauthorOct 23.2010 — but where to implement this code? in header of wordpress or where can you explain it little bit?
Copy linkTweet thisAlerts:
@FangOct 23.2010 — I don't use WordPress, but I imagine using wp_enqueue_script
Copy linkTweet thisAlerts:
@AmirShahzadauthorOct 23.2010 — What i want a javascript code that only loads a certain html page in auto thickbox when user first time visit.
Copy linkTweet thisAlerts:
@FangOct 23.2010 — Ask in the WordPress forum
Copy linkTweet thisAlerts:
@AmirShahzadauthorOct 24.2010 — i tried wordpress forum but not replies. I have also tried CMS category of this forum but all in vain.
×

Success!

Help @AmirShahzad spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...