It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Calling External .php W/out Use of <iframe>

Calling External .php W/out Use of <iframe>

Postby ayenem on Fri Nov 26, 2004 10:39 pm

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!
ayenem
 
Posts: 11
Joined: Tue Oct 05, 2004 5:00 pm
Location: kent, wa

Postby webmaster on Sat Nov 27, 2004 10:14 am

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.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby webmaster on Sat Nov 27, 2004 10:21 am

He was online now =)

If you are familliar with CSS and HTML, you should hopefully know what do to with this codes =)

CSS:
Code: Select all
#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: Select all
<div id="box2">

   Include your <? echo "PHP SCript here"; ?> =)

</div>
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby ayenem on Sat Nov 27, 2004 10:45 am

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.
8)
ayenem
 
Posts: 11
Joined: Tue Oct 05, 2004 5:00 pm
Location: kent, wa

Postby webmaster on Sat Nov 27, 2004 12:19 pm

Hope it will work.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Malcolm on Sat Nov 27, 2004 1:26 pm

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.
Image
User avatar
Malcolm
100+ Club
 
Posts: 198
Joined: Thu Oct 07, 2004 9:53 pm
Location: Ontario, Canada

Postby webmaster on Sat Nov 27, 2004 2:31 pm

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.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby ayenem on Mon Nov 29, 2004 8:02 pm

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.
ayenem
 
Posts: 11
Joined: Tue Oct 05, 2004 5:00 pm
Location: kent, wa

Postby webmaster on Mon Nov 29, 2004 8:55 pm

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.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby ayenem on Tue Nov 30, 2004 5:37 pm

wow! What a cool feature I havnt seen that on any other site yet.
Ok clicking 'solved' now. thanks again see ya.
ayenem
 
Posts: 11
Joined: Tue Oct 05, 2004 5:00 pm
Location: kent, wa


Who is online

Users browsing this forum: No registered users and 8 guests