/    Sign up×
Community /Pin to ProfileBookmark

frames, targets, navigation and links

Hello everybody !
I’m new to this forum, and I think I would need some help…
Here’s my problem, which is not really as simple as it might seem.
I’m currently working on a website, using frames, and inline frames.
On the left ( as often ), I have a navigation bar, with topics. When I click on a topic name, it scrolls down to show some subtopics ( I made this by simply reloading a new bar in place of the old one ). My problem is :
when I click on the topic, I want the topic description to appear in the mainframe ( my inline frame ), as well as the bar to reload itself. That would mean a double link with a double target, which is, I think, impossible.
So, my question is : is there a simple possibility, using either simple html or javascript, to developp the menu without having to reload the navigation bar ?
Here is a small exemple, as I know my english might seem a bit odd and difficult to understand :

TOPIC

when you click on it, you get :

TOPIC

[list]

  • [*]

    subtopic


  • [*]

    subtopic


  • [*]

    subtopic


  • [/list]

    When you click on TOPIC again, you get :
    TOPIC
    Which is the initial bar.

    What I want :

    TOPIC | Welcome page ( inline frame )

    When I click :

    TOPIC

    [list]

  • [*]

    subtopic


  • [*]

    subtopic | Descrption of TOPIC ( inline frame )


  • [*]

    subtopic


  • [/list]

    When I click again :

    TOPIC | Welcome page

    I hope it’s not too difficult to understand…
    Sorry if I should have posted this in the javascript subforum, I don’t even know if this is html or javascript….
    Thanks for all your propositions !
    Ness

    to post a comment
    HTML

    2 Comments(s)

    Copy linkTweet thisAlerts:
    @Mr_JAug 13.2004 — Try something like the following


    [SIZE=1]<a href="page1.htm" target="framename1" onclick="parent.framename2.location='page2.htm' ">Link</a>[/SIZE]
    Copy linkTweet thisAlerts:
    @Ness_du_FratauthorAug 14.2004 — Thanks a lot !!!! It worked !!!!!

    I was trying with onClick="window.framename.location='page.htm'", that's why it didn't work..

    Thanks so much !!!! ?
    ×

    Success!

    Help @Ness_du_Frat spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.16,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...