Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigating Problems....

Status
Not open for further replies.

Anthony904

IS-IT--Management
Jul 15, 2004
153
US
I have a webpage that has 4 frames..

a header, footer, left menu, and main page

On my footer I have a checkbox that when a user clicks on the left menu hides.. making the mainpage wider for the customer to view.

When I hide my left menu.. the user is not able to navigate to the next page. I wanted to create some buttons in my footer..

( ultimately, what i wanted was when the user ticks the checkbox then the navigation button appears but I will settle for having the buttons already in the footer )

I am at a lost on how to make these button jump to the next page.. maybe write a text file that both the left menu and bottom footer buttons can follow?.. I searched on how to do that.. but still lost..

if you need to know something else plz let me know...

any help welcomed.. thanks!
 
I agree that you should repeat the buttons on the bottom frame, but you can hide/unhide them when the left menu is hidden, like this:

<span id="bottomButtons" style="display:none"><input type="button" onclick="x()"><input type="button" onclick="y()"></span>

when the user clicks on your checkbox, you'll include in your checkbox code this:

bottomButtons.style.display="block"

You may need to use a more extended reference to get to that ID, but you see what I mean.

I'd suggest putting the code to be used by the buttons in the parent frame. That way, the onclick event for each button can be:

onclick="top.y()"

I hope this helps a bit.

Stan Scott
New York City
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top