instead of hide(0 which is basically display:none,   you could move it off screen. This sort of issue comes up a lot with tabs

http://jqueryui.com/demos/tabs/#Why_does...

ngreenwood6 wrote:
Anyone at all?

On Oct 16, 6:34 pm, ngreenwood6 <ngreenwo...@gmail.com> wrote:
  
I tried adding in return false at the end of my function, however that
did not fix the issue. Any other suggestions?

On Oct 16, 8:37 am, rupak mandal <rupakn...@gmail.com> wrote:

    
if the problem is reload then add "return false" at the end or the function
      
On Fri, Oct 16, 2009 at 6:02 PM, ngreenwood6 <ngreenwo...@gmail.com> wrote:
      
I tried doing  that as well and it still does the same thing. It must
be changing the display that makes it reload. To test all you have to
do is create a div with embed code and call show/hide on it and you
will see.
        
On Oct 16, 3:02 am, Evgeny Bobovik <bobo...@gmail.com> wrote:
        
Try to use this method:
<script type="text/_javascript_">
function showEmbed(){
    if($("#test").css('display') == 'block'){
         $("#test").css('display','none');
    } else {
         $("#test").css('display', 'block');
   }}
          
</script>
   Gk___
          
2009/10/16 ngreenwood6 <ngreenwo...@gmail.com>:
          

  

Reply via email to