Need some help with html files

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hello-
<!--
For some reason I am having troubles with this, not sure why. But I want to embed a html file from another website onto mine (and yes both websites are mine.) I don't want a <a href="sitename/resources/menu.html">Click here</a> But I can't seem to get it. Any ideas?
-->
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes

Posted 9 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
do you want to add it is a download link or show like an iframe?
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Hey Duke,
I want it to basically display as an iFrame. It's a small file so it should load quickly.
Photo of Dré

Dré

  • 201 Posts
  • 15 Reply Likes
Hi lambofgod,

Could you try this out and let me know if it's what you're looking for-

<iframe src ="http://www.google.com&quot; width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>

Replace "http://www.google.com" with the URL you want to use
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
It's not an IFrame exactly. I have a html FILE that holds code for a menu that I have uploaded. I need to know how to link the file so it basically reads the code. Do I have to use a javascript call function?
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
<!--

What Dre says should work,

I presume you have a pro account? If you dont it wont work.

Make sure you updated the site conating the html file since adding it to the filemanager

Incorporating the example you left above it would look like this:

<iframe src ="http://sitename.com/resources/menu.html" width="100%" height="300">

<p>Your browser does not support iframes.</p>

</iframe>

Lee.

-->