StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-11-2012, 01:48 PM
jjaycallejas jjaycallejas is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2011
Posts: 154
Default Targeting divs on another page

Hello!

I have a question about targeting divs on another page. It seems like it's halfway working for me.

If you take a look at the header where I have "tab1, 2, 3", those are set up like this
http://www.studio2055.com/dev/aero/?...eadership=test

PHP Code:
add_action('genesis_header''_home_navigation');

function 
_home_navigation() {
    echo 
'<ul class="tabs">
<li><a href="http://www.studio2055.com/dev/aero#home-pane-one">Tab 1</a></li>
<li><a href="http://www.studio2055.com/dev/aero#home-pane-two">Tab 2</a></li>
<li><a href="http://www.studio2055.com/dev/aero#home-pane-three">Tab 3</a></li>
</ul>'
;

However, when you click on any tab, it automatically defaults to tab 1 although i've called out in the link to target the id of a specific div.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I create Divs within Divs? (Converting a non Genesis custom theme) MikeKirkland General Discussion 2 01-22-2012 05:10 PM


All times are GMT -5. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.