Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-10-2011, 04:07 AM   PM User | #1
pcllw
New to the CF scene

 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
pcllw is an unknown quantity at this point
need next-previous control to control contents within an iFrame

Help will be greatly appreciated!

Situation:
I have a very long page divided into many sections vertical-wise marked by bookmarks, say pageX.html#s1 to s10. I need to show the section inside an iframe (iFrame1) on the mainpage (mainpage.html). I am thinking of having 4 buttons, sitting on the mainpage, to help navigate between these sections on pageX, namely NEXT, PREVIOUS, TOP, END.

condition of the frame, fixed width/height, no scroll, no border.

Very new to javascript but need this code to make a page work for BIZ.

Thank you in advance for anyone kind enough to point the right direction!
pcllw is offline   Reply With Quote
Old 10-10-2011, 02:54 PM   PM User | #2
niralsoni
Regular Coder

 
Join Date: Mar 2008
Location: London
Posts: 143
Thanks: 3
Thanked 38 Times in 38 Posts
niralsoni is an unknown quantity at this point
is it necessary to use the iframe ??

you can achieve this even without iframe, which would be better in terms of performance as page will load only once (while in case of iframe, it will be loaded every time you click on next/prev buttons)

Thanks & Regards,
Niral Soni
niralsoni is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 10:59 AM.


Advertisement
Log in to turn off these ads.