/    Sign up×
Community /Pin to ProfileBookmark

hi all

im doing a webpage that has a lot more content than the other pages in the site ( doubles the page length ).

i am trying to keep the pages approximately the same size the content im talking about is just text.
i dont really want to have a div that scrolls the content.
i dont want to use an iframe since ( not sure about this ) search engines wont index it properly.

also considered using div layers and using buttons or text links to make the layers visible/invisible.

dont want to use javascript for popups either.

anyone got any suggestions on how i could do this?

andy

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@jettlarueMar 04.2005 — i dont see why you would want the content of the pages to be the same...or why you need all of the content submitted to search engines. thats what meta and title does. if you wanted your content in a separate file just make a content.js file that has the following.
[CODE]
var content("your content"); //your content to edit
//do not edit the following.
document.write(content);
[/CODE]

then in your page put down
[CODE]
<!-- start content -->
<SCRIPT src="content.js" type="text/javascript" id="content">
</SCRIPT>
<!-- end content -->
[/CODE]

hope this helps a bit
Copy linkTweet thisAlerts:
@the_treeMar 05.2005 — [b]Jetlarue[/b], that's very helpful but I don't see where he said that he wanted the content consistent, I'm pretty sure he was talking about layout

[b]Andyshep[/b], if you used floating divs for layout then they would automaticaly size to fit the content, so if you set thier width then they would grow downwards without screwing up your colums.

You might also want to experiment with fixed positioning to keep a footer at the bottom of the screen.

You're right not to use an iframe, not only do they annoy search engines, thay also make bookmarking a hassle and alot of non-graphical browsers hate them.
Copy linkTweet thisAlerts:
@andyshepauthorMar 05.2005 — i dont want the content of the pages to be the same!

i have a home page,clients,contact,news pages, the pages apart from the home page have limited content at this time.

ive attached a gif image of the basic layout.

as you can see theres not an awful lot of space on the right for content but for all pages apart from the home page there is plenty.

when ive put the text in for the home page the page is quite a bit longer/taller and leaves me with too much whitespace under the girl image.

considering moving some of the content to go underneath the image

on the left.i will try this and see what my client thinks. but was looking for alternatives i.e as i suggested earlier.

tree

thanks for clearing up the iframes as far as search engines go.

i had a feeling they would.

andy

p.s. while im here what do you think to the layout....?

[upl-file uuid=cf9527cb-d973-4644-8f55-9666f4905450 size=62kB]banner.gif[/upl-file]
×

Success!

Help @andyshep 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.17,
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,
)...