...

View Full Version : need next-previous control to control contents within an iFrame



pcllw
10-10-2011, 04:07 AM
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!

niralsoni
10-10-2011, 02:54 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum