The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Pop-up like facebook

2 posters

Go down

Pop-up like facebook Empty Pop-up like facebook

Post by Yakko! December 6th 2010, 4:25 pm

I found this:
http://www.sohtanaka.com/web-design/inline-modal-window-w-css-and-jquery/

but i didn't understand where to put this:
Code:
<a href="#?w=500" rel="popup_name" class="poplight">Learn More</a>

and this:
Code:
<div id="popup_name" class="popup_block">
    <h2>Turtle Power</h2>
    <p>I <3 Turtles.</p>
</div>
Yakko!
Yakko!
Forumember

Male Posts : 661
Reputation : -5
Language : Italian, english, Français

Back to top Go down

Pop-up like facebook Empty Re: Pop-up like facebook

Post by shadowz au December 7th 2010, 7:25 am

href - #?w=500 specifies the width of the popup
rel – Set a unique rel for this Popup
class="poplight" – Class needed to trigger popup

Code:
<a href="#?w=500" rel="popup_name" class="poplight">Learn More</a>

i dont know about. i think it popup

Code:
<div id="popup_name" class="popup_block">
    <h2>Turtle Power</h2>
    <p>I <3 Turtles.</p>
</div>
avatar
shadowz au
Forumember

Male Posts : 280
Reputation : 30
Language : Australia
Location : Sydney

http://tommyzserver.forummotion.com

Back to top Go down

Pop-up like facebook Empty Re: Pop-up like facebook

Post by Yakko! December 7th 2010, 5:30 pm

yes
but where i put every code?
Yakko!
Yakko!
Forumember

Male Posts : 661
Reputation : -5
Language : Italian, english, Français

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum