No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
I have a slider that load all of my content at once. Into a div. Like so: external page.php $get_users = mysql_query("SELECT * FROM user WHERE id!='$user_id'"); while ($rows = mysql_fetch_assoc($get_users)) { $id = $rows['id']; $firstname = $rows['firstname']; $display_info .= ' <div class="f_outer" id="' . $id . '"> <div class="f_name …
Use this: [CODE] $("#test-div").myplugin(function(callback){ if(callback == 1){ alert("test variable equals 1"); } }); [/CODE] [CODE] (function($){ $.fn.myplugin = function(callback){ var testvariable=1; callback(testvariable); } })(jQuery); [/CODE]
Use this: [CODE]$your_text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fermentum posuere arcu lobortis mattis. In eu nisl turpis. Praesent mi dui, dignissim et rhoncus nec, sodales vel sapien. In hac habitasse platea dictumst. Etiam quis felis vitae magna volutpat eleifend eu cursus nunc. Lorem ipsum dolor sit amet, …
The End.
RRPowered