Jquery Super box automatically loads

0 votes

The superbox is a jquery plugin that has lightbox effect. My problem is how can I change this thing instead of click, it will automatically loads when the page is executed. The code rel in <a> is required. How can I set that to onload or automatically popup when I visit the page.

My Code:

<link rel="stylesheet" href="css/jquery.superbox.css" type="text/css" media="all" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-superbox-0.9.1/jquery.superbox.js"></script>
<script type="text/javascript">
$(function(){
  $.superbox();
});
</script>
<a href="forgotpass.php" class="text-links" rel="superbox[iframe]">Click here.</a>

Jul 26, 2022 in Web Development by gaurav
• 23,260 points
234 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Web Development

0 votes
1 answer

$("#select option:second").val() jquery - keep select second value of select box option

Yes, you want the special jQuery eq() selector. ...READ MORE

answered Jun 22, 2022 in Web Development by rajatha
• 7,640 points
2,413 views
0 votes
0 answers

jQuery .show() a flex box

I have an element with a flexbox <ul ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 23,260 points
1,745 views
0 votes
0 answers

jQuery .show() a flex box

I have an element with a flexbox <ul ...READ MORE

Jul 21, 2022 in Web Development by gaurav
• 23,260 points
251 views
0 votes
0 answers

jQuery dialog box opne .php file

It's a simple JQ, when I click ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,260 points
357 views
0 votes
0 answers

Getting the Text of a Check Box and Text Area To Display using jQuery

What I am trying to do is ...READ MORE

Aug 18, 2022 in Web Development by gaurav
• 23,260 points
1,512 views
+1 vote
1 answer

What is css box module?

Hey, All the element present in html follows ...READ MORE

answered Jan 20, 2020 in Web Development by Niroj
• 82,880 points

edited Jan 21, 2020 by Niroj 976 views
0 votes
1 answer

What is jQuery?

Hey, jQuery is a fast and concise JavaScript ...READ MORE

answered Feb 14, 2020 in JQuery by kartik
• 37,510 points
999 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery tools

Hello, Use the following script tag in your ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,880 points
14,285 views
0 votes
1 answer

Uncaught Error: Bootstrap's JavaScript requires jQuery

Hello @kartik, You have provided wrong order for ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,880 points
22,452 views
0 votes
1 answer

How to make Bootstrap popover Appear/Disappear on hover instead of click?

Hello @kartik, Set the trigger option of the popover to hover instead ...READ MORE

answered May 12, 2020 in JQuery by Niroj
• 82,880 points
2,977 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP