No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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 … |
|
Re:
How would I go about getting a variable from a jQuery plugin? index page [CODE] $("#test-div").myplugin(); if(testvariable == 1){ alert("test variable equals 1"); } [/CODE] The plugin page [CODE] (function($){ $.fn.myplugin = function(){ var testvariable=1; return testvariable } })(jQuery); [/CODE] |
|
Re:
I just would like to know how to do this? Just like facebook! 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 … |