Solved

Lightbox onload

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

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 …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

697 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