Jump to content

Recommended Posts

Posted

okay first off i want to say, read this very carefully and then read it again. ty. So you know when you go to say imeem or youtube or etc and they give you a piece of code for embedding the music or video player into your own site. I want to adapt this idea. I want to take an html file (that i'll be hosting) which contains a single div tag (this div tag may contain text or an image...it doesn't really matter). And i want to use this html file as an embeddable object in other pages on my site or any other site on the internet (that somone else is hosting). Please note i'm asking how to create an embeddable object using information in an html file i'll be hosting and then i want to embedd this information into another page or website. how would i do this?

 

 

please do not talk about embedding a website (THAT IS NOT EVEN CLOSE TO WHAT I"M TALKING ABOUT, and i already know how to do that)

 

pleaes do not talk about dumping an image on the net and embedding it in my site (THAT WOULD FALL UNDER THE READ THIS POST AGAIN PART THAT I MENTIONED EARLIER)

 

please avoid talking about CSS as i'm trying to stay simple and just use HTML.

 

thanks to anyone who tries to help me on this one...it's a toughy. :p

I like long walks, especially when they are taken by people who annoy me

-Noel Coward :p

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Another Option

 

i know i said not to mention how to embed a website, because i already can. Well i meant that, but i've been doing some thinking. by default the iframe shows the top of the embedded page. can i specify what part to start at?

 

 

 

if their are other methods of embedding a website into a website i would be happy to hear those as well. But i'm mostly interested in the iframe. or in my original posted question.

 

i know this gets into some fuzzy areas, all embedded content WILL be hosted by me...i will not

be using this form of embedding in any manner that is to my knowledge, bad.

Edited by iwillbekingin2030

I like long walks, especially when they are taken by people who annoy me

-Noel Coward :p

Posted

I Frame

 

okay so i've have answered most of the first parts of my first two posts in this thread. But i'm still looking for alternatives to iFrame for website embedding. However my main question now is, how can i stop an iframe embedding site from scrolling. I've coded in no scrolling and that removed the scroll bar and it doesn't scroll easily, but if u drag the mouse down the middle it will highlight any text in the iframe and then scroll down. It's a medium priority issue that i would like to resolve. so if you have any ideas what i can add to the code to stop it from scrolling completely. i would much appreciate it.

 

 

as before (html only). :p

I like long walks, especially when they are taken by people who annoy me

-Noel Coward :p

Posted

Hi,

 

First off, I REALLY dislike iFrames. They have limited support across browsers and are not SEO friendly for a start. However, if you have decided to pick iFrames, then iFrames it is! :)

 

I'm not 100% sure on what you are trying to achieve but what the hell, here are my thoughts...

 

 

As far as I know there is no way of stopping an iFrame from scrolling in HTML - not the kind of scrolling you are talking about - The only attribute for iFrame related to scrolling is "scrolling"..

 

Perhaps you could use the readonly="readonly" tag on an iFrame. It's not valid HTML however it may work in some browsers.

 

Alternativly, have you consdiered using an obejct instead of an iFrame.. Have a look here;

Using an object Element instead of an iframe

 

If non of the above helps then I would suggest you will have to move to more complex languages rather than just HTML alone. JavaScript / CSS may help, but consdier browser limitations.

 

If all else fails, Server Side scripting would be your most reliable source. I would recommend PHP, but there are others such as ASP, ColdFusion, Ruby on Rails, etc..

 

Hope this help? *shrugs*

 

Mike

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted

FINALLY SOMEONE TOUCHED THIS THREAD.

 

the link you provided seems to be more what i was originally hoping to find before i went the iframe route. so that is great. :p thanks very much. however i'm having trouble with the part where it mentions removing the scroll bars. I have no clue what to do with that piece of code. With iframe i simply type in no. How can i remove the object's scroll bars?

I like long walks, especially when they are taken by people who annoy me

-Noel Coward :p

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...