Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JQurey navigation problem

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25763
    NexIdGoo
    Member

    Hello!

    This is my first time using jquery, so I am totally noob.
    So I installed that "https://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.

    #62262
    NexIdGoo
    Member

    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="https://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>

    #62297
    NexIdGoo
    Member

    That helps me a lot! Thank you wery much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.