Shape 5

Joomla Club Extensions => Tab Show V2 - Club => : Shannon Hartigan June 13, 2012, 05:49:59 AM



: jumps to top of page when i click on tab
: Shannon Hartigan June 13, 2012, 05:49:59 AM
Hi,
could you please take a look at http://shannonhartiganimages.cloudaccess.net/the-bogey-mirror#
two problems-
1- When a tab is clicked, the page jumps to the top. is there any way i can fix this so it doesn't jump up?
2- Also i have to click the back button on my browser twice to go back after clicking tabs. is there a way to fix this?

Cheers


: Re: jumps to top of page when i click on tab
: jonahh June 13, 2012, 02:47:46 PM
Hello,

Please see:

http://www.shape5.com/component/option,com_smf/Itemid,75/topic,22565.0/



: Re: jumps to top of page when i click on tab
: Shannon Hartigan June 13, 2012, 09:48:54 PM
Hi,
I have looked in templates/cyan/html/mod_s5_tabshow
default php but i can't see href anywhere?
I will pm my login


: Re: jumps to top of page when i click on tab
: jonahh June 14, 2012, 12:45:04 PM
Its in there I just took a look.  Look for:

href="#"

here is one example of it:


<?php if ($text1line != "") { ?>
             <li id="thumb0" class="s5_ts_not_active" <?php if ($s5_javascript == "s5effects") { ?><?php if ($s5_effectmouse == "click") { ?>onclick<?php } else {?>onmouseover<?php }?>="<?php if ($s5_effectsani == "fade") { ?>s5thumb0op();shiftOpacity_ts('s5_button_item1');<?php } ?>s5thumb0();"<?php } ?>><a <?php if ($s5_effectmouse == "click" || $s5_mootoolsmouse == "click") { ?>onclick="s5_active1()"<?php } ?><?php if ($s5_effectmouse == "mouse" || $s5_mootoolsmouse == "mouse") { ?>onmouseover="s5_active1()"<?php } ?> href="#"><?php echo $text1line ?>[/url]</li> 
      <?php } ?> 


line 251


: Re: jumps to top of page when i click on tab
: Shannon Hartigan June 14, 2012, 08:29:42 PM
Excellent, thanks for that but it has created a new issue.
When i click on a tab nothing shows until i scroll the page for some reason?


: Re: jumps to top of page when i click on tab
: jonahh June 15, 2012, 03:53:19 PM
Most likely because of the lazy load for images.  Turn this off and it wont do this anymore


: Re: jumps to top of page when i click on tab
: Shannon Hartigan June 15, 2012, 10:17:04 PM
ok i have read the tutorial for this in the demo of cyan but still can't work it out?
Where do i disable lazyload?


: Re: jumps to top of page when i click on tab
: jonahh June 18, 2012, 01:27:47 PM
Go to "extensions > template manager > select cyan"  Then under javascripts you'll see lazy load where you can disable