Forum Support

Shape 5
March 28, 2024, 02:15:40 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: jumps to top of page when i click on tab  (Read 610 times)
Shannon Hartigan
Jr. Member
**
Offline Offline

Posts: 17



« on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: June 13, 2012, 02:47:46 PM »

Hello,

Please see:

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

Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Shannon Hartigan
Jr. Member
**
Offline Offline

Posts: 17



« Reply #2 on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Shannon Hartigan
Jr. Member
**
Offline Offline

Posts: 17



« Reply #4 on: 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?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Shannon Hartigan
Jr. Member
**
Offline Offline

Posts: 17



« Reply #6 on: 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?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #7 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.