getting full news to show in lightbox type window |
[eluser]DynamiteN[/eluser]
Hello everyone, and hurraay for my first post i've been fiddeling around to figure out how to get my news item to show in a lightbox type window, a modal window or whatever the name is here how it is i do have the part where i get the news items adn such and i have then looped it to show as links and when i click the link it opens a new window (anchor_popup) and i can read everything just fine but i dotn what it to open a new window but rather sort of fade out and display a kind of lightbox window instead, this is the code to display the titles of the news and make them links Code: <?php if(isset($news)) : foreach($news as $row) : ?> this is the code in that view Code: <h1><?php echo $news->title; ?> </h1> this works just fine but i dont know how to get it in a fancy window if anyone knows this please tell me... //DynamiteN P.S Yaay end of my first post here
[eluser]DynamiteN[/eluser]
please anyone, would like some help with this as i aint any good at all with javascript or whatever the language for this type of thing is
[eluser]danmontgomery[/eluser]
http://colorpowered.com/colorbox/ Colorbox is a simple jquery lightbox plugin, there's even an example doing exactly what you want so you can just copy and paste.
[eluser]DynamiteN[/eluser]
[quote author="noctrum" date="1264640568"]http://colorpowered.com/colorbox/ Colorbox is a simple jquery lightbox plugin, there's even an example doing exactly what you want so you can just copy and paste.[/quote] thanks alot, i thought i had searched alreade everywhere on the internet :O, will check it out ty... |
Welcome Guest, Not a member yet? Register Sign In |