| View previous topic :: View next topic |
| Author |
Message |
ayenem
Joined: 05 Oct 2004 Posts: 11 Location: kent, wa
|
Posted: Fri Nov 26, 2004 11:39 pm Post subject: Calling External .php W/out Use of <iframe> |
|
|
I am attempting to embed a "shout box" onto my site. The readme file for this code says to use the iframe tag in order to call the .php file for the tag board.
I'd rather not use iframe because only IE understands it. I played with <div> and <span> and also attempted a simple jscript to call in the file(although Im not very handy with js yet I may have coded it wrong) and neither worked.
Your thoughts?
Let me know if I need to include more info\data, thanks for your time! |
|
| Back to top |
|
 |
|
|
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3642 Location: Sweden
|
Posted: Sat Nov 27, 2004 11:14 am Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
Hi ayenem and welcome to DEVPPL.
It could be done with DIVS adn CSS, and then just put your HTML/PHP code inside that CSS box, you can get scrolls and everything. But I don't remember how to do, but I have a friend who uses those scroll-boxes on his site, I will ask him during the day. |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3642 Location: Sweden
|
Posted: Sat Nov 27, 2004 11:21 am Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
He was online now =)
If you are familliar with CSS and HTML, you should hopefully know what do to with this codes =)
CSS:
| Code: |
#box2 {
margin: 10px;
margin-top: 20px;
width: 380px;
height: 270px;
font-family: "Trebuchet MS",sans-serif;
padding-right: 10px;
font-size: 11px;
overflow: auto;
box-sizing: border-box;
-moz-box-sizing: border-box;
} |
HTML:
| Code: |
<div id="box2">
Include your <? echo "PHP SCript here"; ?> =)
</div> |
|
|
| Back to top |
|
 |
ayenem
Joined: 05 Oct 2004 Posts: 11 Location: kent, wa
|
Posted: Sat Nov 27, 2004 11:45 am Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
Thank you for the feed back I much appreciate it!
I am familar with CSS and HTML so this should be pretty simple for me to test out. I'll try it some time with in the next couple of days and get back to you with an update.
thanks again talk to you later.
 |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3642 Location: Sweden
|
Posted: Sat Nov 27, 2004 1:19 pm Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
| Hope it will work. |
|
| Back to top |
|
 |
Malcolm 100+ Club

Joined: 07 Oct 2004 Posts: 199 Location: Ontario, Canada
|
Posted: Sat Nov 27, 2004 2:26 pm Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
| iframes, though not completely supported by W3C, are completely compatible with the mozilla browsers, opera, konq, galeon, etc. Not so say that iframes are in any way good (I personally hate the little buggers), but IE isn't the only browser to support them, almost all browsers do. |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3642 Location: Sweden
|
Posted: Sat Nov 27, 2004 3:31 pm Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
| Malcolm wrote: |
| iframes, though not completely supported by W3C, are completely compatible with the mozilla browsers, opera, konq, galeon, etc. Not so say that iframes are in any way good (I personally hate the little buggers), but IE isn't the only browser to support them, almost all browsers do. |
I belive that all browers that support this kind of CSS, also support iframes, but Im not sure. |
|
| Back to top |
|
 |
ayenem
Joined: 05 Oct 2004 Posts: 11 Location: kent, wa
|
Posted: Mon Nov 29, 2004 9:02 pm Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
Well I went with iframe and everything seems to be working fine so far. Im still worried it wont look how I want it to in other browsers though. I need to DL all the common browsers and test it on each, to see where I need to tweak the code.
Thanks for the support. This board gave the most replies. I post the same exact question word for word on two other forums and got less response there. Have a good week and I'll check back if I have any more questions. cya. |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3642 Location: Sweden
|
Posted: Mon Nov 29, 2004 9:55 pm Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
Thats good news for me, hope you will be an active member here at DEVPPL.
Don't forget to press the SOLVED button at the bottom of this page. |
|
| Back to top |
|
 |
ayenem
Joined: 05 Oct 2004 Posts: 11 Location: kent, wa
|
Posted: Tue Nov 30, 2004 6:37 pm Post subject: Re: Calling External .php W/out Use of <iframe> |
|
|
wow! What a cool feature I havnt seen that on any other site yet.
Ok clicking 'solved' now. thanks again see ya. |
|
| Back to top |
|
 |
|