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
Solved

Lightbox onload

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

839 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