/    Sign up×
Community /Pin to ProfileBookmark

Frameset in IFrame

Hai,

I have now a iframe on my page, that is connected to a frameset and that frameset i connected to my content.

The reason that i have a frame in my iframe is because i coundt get around it because i would mess up my template. [U]So i want it to be like this[/U]

The problem i am having know is that i want to resize my iframe according to its content. I have found a lott of scripts that do this but i dont think that this is possible because of the frameset that are located in my iframe.

My iframe:

[CODE]<iframe name=”iframe” id=”iframe” src=”frame.html” frameborder=”1″ height=”780″ width=”765″>Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>[/CODE]

My frameset:

[CODE]<html>
<head>
<frameset border=”1″ cols=”40&#37;,60%”scrolling=”no”>
<frame name=”menu” src=”menu.html” scrolling=”no”>
<frame name=”content” src=”” scrolling=”no”>
</frameset>
</head>
</html>[/CODE]

[CODE]<frame name=”content” src=”” scrolling=”no”>[/CODE]

Is left empty because on this right side if have a menu and on the left side comes the content when you click on the menu.

Everything works fine and i have no errors. I only want to know how i can make the iframe resize according to its content with the problem i have now.

Thanks in advancee

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @sorosh 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 5.26,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...