Solved

Lightbox onload

Posted on 2010-11-23
4
510 Views
Last Modified: 2012-05-10
Hi i need some lightbox script which will open on load. For example people open page and lightbox show up and and stay before people did not close it. I need some jquery script because i do not want to use 2-3 ajax library.
0
Comment
Question by:umaxim
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Sudaraka Wijesinghe earned 500 total points
ID: 34202668
Almost all the lightbox plugins I have used support this in someway.
My favorite is Colorbox (http://colorpowered.com/colorbox/). You have to set open parameter to true on initialization.
$('#something').colorbox({open:true});

Open in new window

0
 
LVL 1

Author Comment

by:umaxim
ID: 34202916
Am sorry i did not understand full clear but how i can open for example
      <p><a class='example5' href="../content/flash.html" title="Royksopp: Remind Me">Flash / Video (Ajax/Embedded)</a></p>

on load

Thank you for help
0
 
LVL 1

Author Closing Comment

by:umaxim
ID: 34203097
Thank you i understand how to use.Thank you for script.
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34203160
Glad to help. Thanks for the points.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now