Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Module Help
BOAW
post Feb 19 2006, 07:23 PM
Post #1


Super Member
*********

Group: Members
Posts: 294
Joined: 28-January 06
Member No.: 17,798



How can i make a module where i have a page that displays another site within that page? is it like a embed or frame thing? please help me out.
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 19 2006, 09:56 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,005
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Html iframe tags.

Change the "google.com" to the link of the site you want to display and the size to what you want the iframe to be on your page. I have used percentages here, but you can use different units of measurement, so play with it to get what you want.

CODE

<iframe id="Frame_Here" src="http://google.com" width="75%" height="75%"></iframe>


Sample uploaded HERE .
Go to the top of the page
 
+Quote Post
BOAW
post Feb 19 2006, 10:23 PM
Post #3


Super Member
*********

Group: Members
Posts: 294
Joined: 28-January 06
Member No.: 17,798



QUOTE(jlhaslip @ Feb 19 2006, 04:56 PM) *

Html iframe tags.

Change the "google.com" to the link of the site you want to display and the size to what you want the iframe to be on your page. I have used percentages here, but you can use different units of measurement, so play with it to get what you want.

CODE

<iframe id="Frame_Here" src="http://google.com" width="75%" height="75%"></iframe>


Sample uploaded HERE .


Hmm but thats only html. i want to put it into a content or module or w.e and put it into the website instead of linking it. Id have to take that html code n convert it into php. and i did that n took that code, made a new module and when i viewed that module it didnt work, it cudnt find it or something not exactly sure. any more suggestions?
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 19 2006, 11:47 PM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,005
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Did you see the sample link?

Click on the link up in my first post, do a view > source and snag the full code for the page. The iframe code, the embedded css and a full html page is there.
Position the div with the iframe in your page where you want it displayed and have fun playing with it.
The sample link is a real live google page, just change to a web-accessible URL for your preferred page.
Change the page name to php if you want, but there is no php there. Either escape from the php portion of your code, or echo the div and iframe html code in a php page should work...

Here is a link which shows that the only time the iframe would not be acceptable is if you are validating to xhtml strict doctype. Back it off to xhtml transitional and you should be okay.
Unless your Browser won't support iframes?

http://www.w3schools.com/tags/tag_iframe.asp
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Post Rating Module Installed(38)
  2. Google Module For Checking Aim Online Status(1)
  3. Pspell ?(2)
  4. Php : Curl Module(2)
  5. Qupis Hosting Module Errors. Fixed Now!(0)
  6. Recommand A Good Database Module Or Component On Mambo(0)
  7. Php Dynamic Signatures(9)
  8. My Feedback Php Module Isnt Working...(2)
  9. Is Zend Guard Module Available On Hosting(0)
  10. Making A Module For Personalized Google(2)
  11. The Credit System Script Module(4)
  12. Singaporean Arrested In Thai Child-sex Case(0)
  13. Creating A Module(1)
  14. PHPNUKE news module(5)
  15. Stock Market FNH$ Module(19)
  1. mp3 module in phpnuke(3)
  2. Ipb Module Questions(2)
  3. E-learning module(0)
  4. php module maker(6)


 



- Lo-Fi Version Time is now: 8th September 2008 - 06:59 AM