You are here: DEVPPL Forum Programming HTML Forum
NOTIFICATIONS
54.103
MEMBERS
15.695
TOPICS
62.282
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

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

0

Loading

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

Postby Ayenem » Fri Nov 26, 2004 11: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
 
Reputation: 0
Posts: 11
Joined: Tue Oct 05, 2004 6:00 pm
Location: kent, wa
Highscores: 0
Arcade winning challenges: 0

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

Sponsored results

Login to get rid of ads

 

0

Loading

Postby Rasmus Lindström » Sat Nov 27, 2004 11: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.
[url=http://www.linkedin.com/profile/view?id=96243938]Meet me on LinkedIn[/url]
[img]http://www.devppl.com/images/facebook_icon_small.jpg[/img] Help DEVPPL grow, [url=http://www.facebook.com/pages/DEVPPL/140524279390050]like DEVPPL on facebook[/url]!
Rasmus Lindström
Site Admin
 
Reputation: 18
Posts: 2830
Joined: Tue Aug 17, 2004 2:07 pm
Location: Sweden
Highscores: 1
Arcade winning challenges: 0
0

Loading

Postby Rasmus Lindström » Sat Nov 27, 2004 11: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>
[url=http://www.linkedin.com/profile/view?id=96243938]Meet me on LinkedIn[/url]
[img]http://www.devppl.com/images/facebook_icon_small.jpg[/img] Help DEVPPL grow, [url=http://www.facebook.com/pages/DEVPPL/140524279390050]like DEVPPL on facebook[/url]!
Rasmus Lindström
Site Admin
 
Reputation: 18
Posts: 2830
Joined: Tue Aug 17, 2004 2:07 pm
Location: Sweden
Highscores: 1
Arcade winning challenges: 0
0

Loading

Postby Ayenem » Sat Nov 27, 2004 11: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
 
Reputation: 0
Posts: 11
Joined: Tue Oct 05, 2004 6:00 pm
Location: kent, wa
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Rasmus Lindström » Sat Nov 27, 2004 1:19 pm

Hope it will work.
[url=http://www.linkedin.com/profile/view?id=96243938]Meet me on LinkedIn[/url]
[img]http://www.devppl.com/images/facebook_icon_small.jpg[/img] Help DEVPPL grow, [url=http://www.facebook.com/pages/DEVPPL/140524279390050]like DEVPPL on facebook[/url]!
Rasmus Lindström
Site Admin
 
Reputation: 18
Posts: 2830
Joined: Tue Aug 17, 2004 2:07 pm
Location: Sweden
Highscores: 1
Arcade winning challenges: 0
0

Loading

Postby Malcolm » Sat Nov 27, 2004 2: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
Malcolm
 
Reputation: 0
Posts: 198
Joined: Thu Oct 07, 2004 10:53 pm
Location: Ontario, Canada
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Rasmus Lindström » Sat Nov 27, 2004 3: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.
[url=http://www.linkedin.com/profile/view?id=96243938]Meet me on LinkedIn[/url]
[img]http://www.devppl.com/images/facebook_icon_small.jpg[/img] Help DEVPPL grow, [url=http://www.facebook.com/pages/DEVPPL/140524279390050]like DEVPPL on facebook[/url]!
Rasmus Lindström
Site Admin
 
Reputation: 18
Posts: 2830
Joined: Tue Aug 17, 2004 2:07 pm
Location: Sweden
Highscores: 1
Arcade winning challenges: 0
0

Loading

Postby Ayenem » Mon Nov 29, 2004 9: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
 
Reputation: 0
Posts: 11
Joined: Tue Oct 05, 2004 6:00 pm
Location: kent, wa
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Rasmus Lindström » Mon Nov 29, 2004 9: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.
[url=http://www.linkedin.com/profile/view?id=96243938]Meet me on LinkedIn[/url]
[img]http://www.devppl.com/images/facebook_icon_small.jpg[/img] Help DEVPPL grow, [url=http://www.facebook.com/pages/DEVPPL/140524279390050]like DEVPPL on facebook[/url]!
Rasmus Lindström
Site Admin
 
Reputation: 18
Posts: 2830
Joined: Tue Aug 17, 2004 2:07 pm
Location: Sweden
Highscores: 1
Arcade winning challenges: 0
0

Loading

Postby Ayenem » Tue Nov 30, 2004 6: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
 
Reputation: 0
Posts: 11
Joined: Tue Oct 05, 2004 6:00 pm
Location: kent, wa
Highscores: 0
Arcade winning challenges: 0
^ Back to Top