Log in

View Full Version : Ajax similiar to frameset (2pages)



bitla
07-07-2010, 08:02 PM
I need to know whether there is a script that function similar to frameset.
which also solves the scrolling issue.

Using Frameset is causing scrolling issue.

The index page on my website loads two pages in frames
====================
<frameset cols="70%,31%" framespacing="0" frameborder="no" border="0" >
<frame src="http://localhost/wordpress/" name="mainFrame" scrolling="no" resize="noresize" id="mainFrame" marginwidth="1" title="mainFrame" />
<frame src="frames/player.html" name="rightFrame" scrolling="no" id="rightFrame" title="rightFrame" />
</frameset>
==============================

If I enable scrolling for each frame the website will look bad.

I need to enable scrolling for whole page and website should look as if single page is loaded

so I used and Iframe(index.html) which loads the (main.html)

<iframe name="cwindow" style="border:5px double purple" width=100% height=2000px src="main.html"></iframe>

Now main.html will load frameset.

USING iframe i need to specify width and height in pixels.


All I need is one html page should load two pages, each independently controlled(navigated) but should look like single html page, as done by frameset without individual frame scrolling but with a common scrolling as a normal webpage.

Thank you