Grow your CSS skills. Land your dream job.

JQurey navigation problem

  • # August 14, 2009 at 1:30 pm

    Hello!

    This is my first time using jquery, so I am totally noob.
    So I installed that "http://css-tricks.com/color-fading-menu-with-jquery/" at my website and it is working great,
    no problem with that.

    But I wondering that how can I put the new site open to my websites body "section" (<div class="body" )?
    I have tried everything and can’t get it working properly.

    So how can I do that? Is it possible? What things I have to change or add to code?

    Sorry bad english.

    # August 14, 2009 at 2:14 pm

    Hi,

    I’m sorry, I know how difficult it is writing in another language, but I really don’t understand your question. Could you try again and maybe post a link to help you explain what it is you want to do.

    # August 15, 2009 at 4:54 am

    Ok I try. :D

    This is what I want jquery do: When I click the link hoverBtn, script loads external websites content to my websites (index.php) inside body div.

    <div id="pageWrap">
    <div id="pageBody">
    <a class="hoverBtn" href="http://css-tricks.com/">link1</a&gt;
    <a class="hoverBtn" href="http://example2.com/">link2</a&gt;
    <a class="hoverBtn" href="http://example3.com/">link3</a&gt;
    <a class="hoverBtn" href="http://example4.com/">link4</a&gt;
    <div class="clear"></div>
    </div>
    </div>
    <div class="main">
    <div class="content">
    <h1>example</h1>
    <div class="body">
    –> EXTERNAL SITES CONTENT HERE!
    </div>

    # August 15, 2009 at 5:25 am

    Ok, then I think your only option is an iframe http://www.yourhtmlsource.com/frames/inlineframes.html

    # August 16, 2009 at 2:43 pm

    That helps me a lot! Thank you wery much!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".