?
Solved

Lightbox onload

Posted on 2010-11-23
4
Medium Priority
?
520 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Sudaraka Wijesinghe earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
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…
Suggested Courses

800 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