pls help me ! Iframe

User 476846 Photo


Trial User
15 posts

Hy there ,i,m noobie here ,worked only with flash so far ..

I'm very interested in coffe cup , pls tell me if is possible to load my other pages in a Iframe located on my index page ..

if is possible what plugin must i buy ?
how must i do this to make it work ?

Pls help me ...
User 122279 Photo


Senior Advisor
14,461 posts

You don 't need any plug-in, using iframe is quite simple, just like inserting a picture.

This is the code you need:

<iframe name="some_name" marginWidth=0 marginHeight=0 src ="your_file.html"
frameBorder=0 width="105" height="22" scrolling=no></iframe>

Replace the 'some_name' and 'your_file' with the names you are giong to use. The other settings (margins, height, width, border, scrolling) can be edited to reflect what you want.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 476846 Photo


Trial User
15 posts

thank you , i will test as soon as can

thank you
User 476846 Photo


Trial User
15 posts

ok , but how i do this ,so that the page will load from a button click ?

, i repeat i wnat to load all the pages ( except index) in that iframe by clicking on the right buttons
like button 1 load page 1 in Iframe
button 2 load page 2 in the same Iframe ?


i,m testing this code right now

thanks
User 122279 Photo


Senior Advisor
14,461 posts

You have to define a target for the buttons, like target="_frame_name". What kind of buttons are you using, which prog. have you used to create them?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 476846 Photo


Trial User
15 posts

simple , an image with a link / i need to go simple to understand if i can go furter with this coofecup
User 476846 Photo


Trial User
15 posts

the iframe code is ok , now the only thing that remains is to help me link the the pages to the same Iframe with separate buttons

pls help
User 122279 Photo


Senior Advisor
14,461 posts

I may have been too hasty in assuming what you want could be done with an iframe, since I have difficulties following my own advice. Sorry!

I think what you need is an old fashioned frameset (old fashioned because it was much used about 10 years ago, but it will not be SEO optimized), or ssi includes / php includes, of which the latter is more 'modern'. Give a shout if you are unfamiliar with those.

And it would be useful if you could provide a link to your site, as it is much easier to help if we can SEE what we are talking about.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 476846 Photo


Trial User
15 posts

ok , so every page linked to one Iframe is old fashioned , how should i load the full content of my site in the main page ( index.html) .I know this could be heavy info , but giveme a hint or something so i can start looking into tutorials on the web .

If you know some books , or stuff like this that would be good pls . post them here or on private messege .

The thing I am following here is to obtain a medium dinamic site ( as I am familiar with flash , i like that dinamic loading very much ) .I'm turning to coofeecup 'cose i can build here easyly forms and more , without spending hours at the desk with that huge flash ).

If i cant find here this little " dinamic " i will turn to macromedia .

thanks
User 122279 Photo


Senior Advisor
14,461 posts

I didn't mean to say Iframe is old fashioned, but the ordinary frameset where the whole page is made up of various frames. Such pages cannot be found by i.e. Google, therefore not Search engine optimized. (Flash pages are not SEO either, BTW).

I would advise you to check out http://www.w3schools.com, you'll find instructions on how to use PHP. A quick and easy guide to PHP includes can be found here: http://www.pixieplots.co.nz/forum/viewf … b3a96caec9
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.