Solved

Lightbox onload

Posted on 2010-11-23
4
514 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

863 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

23 Experts available now in Live!

Get 1:1 Help Now