[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 11-26-2004, 02:48 PM   #1 (permalink)
New Member
 
smashin's Avatar
 
Join Date: Mar 2004
Location: Seattle
Posts: 19
36.00 NP$ (Donate)

smashin is an unknown quantity at this point


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!
__________________
:confused:
smashin is offline  
Old 11-26-2004, 06:29 PM   #2 (permalink)
Account Closed
 
Sergio965's Avatar
 
Join Date: Apr 2004
Location: ~root
Posts: 1,095
1,505.80 NP$ (Donate)

Sergio965 is a splendid one to beholdSergio965 is a splendid one to beholdSergio965 is a splendid one to beholdSergio965 is a splendid one to beholdSergio965 is a splendid one to beholdSergio965 is a splendid one to beholdSergio965 is a splendid one to behold


Maybe just get the php data in the script and embed it into your site or something?

Like this:

[code]
<html>
<header>
bla
</header>
<body>
Bla bla bla
[Position you want Shout Box]
<br><br>
[Insert PHP Data here starting with <?php (Or <?) and ending with ?> (Or ?php>) in the file]
<br><br>
</html>
[code]

I can probbaly do this for you if you want...well, not if it's on the right..where do you want to put it?

Like this?

Code:
Text Text Text Text
Text Text Text Text
Text Text Text Text
 --------------------
|                    |
|                    |
 --------------------

Or:
              _____
Text Text    |     |
Text Text    |     |
Text Text    |     |
Text Text    |_____|

In other words, horizantaly or vertically.
Thanks.

Last edited by sergio965; 11-26-2004 at 06:33 PM.
Sergio965 is offline  
Old 11-26-2004, 09:31 PM   #3 (permalink)
Senior Member
 
Join Date: Mar 2004
Posts: 1,404
2,705.50 NP$ (Donate)

primacomputer is a jewel in the roughprimacomputer is a jewel in the roughprimacomputer is a jewel in the rough


Quote:
Originally Posted by smashin
I'd rather not use iframe because only IE understands it.
This was a major issue in '99 or something. Mozilla and Opera have supported iframes for at least a couple years. Even Lynx supports iframes. If that’s your concern then don’t worry, be happy.

There are other reasons you might not want to use an iframe. In particular if you want the generated content to be indexed by search engines. If the script iframe in on your own server then you can either insert the code directly into your page, or even use an include to insert it. You should remove some of the tags like html, body, etc, but it will work even if you don’t.
primacomputer is offline  
Old 11-26-2004, 10:05 PM   #4 (permalink)
New Member
 
smashin's Avatar
 
Join Date: Mar 2004
Location: Seattle
Posts: 19
36.00 NP$ (Donate)

smashin is an unknown quantity at this point


Thanks for the feed back you two I appreciate it a lot!
So it sounds like maybe iframe isnt such a bad way to go as it was a couple years ago. I didnt even know that other browsers started supporting it- i guess I learned something today haha
Im not going to get around to this tonight, maybe over the weekend though. I'll check back in if I have more questions.
Thanks again.
__________________
:confused:
smashin is offline  
Old 11-27-2004, 02:45 AM   #5 (permalink)
NamePros Regular
 
CreativeLogic's Avatar
 
Join Date: Sep 2003
Posts: 894
138.00 NP$ (Donate)

CreativeLogic has a spectacular aura aboutCreativeLogic has a spectacular aura about


I frame / javascript are going to be your best bets unless you want to reload the whole page which I personally wouldn't recomend!
__________________
Online Time Tracking :)
CreativeLogic is offline  
Old 11-29-2004, 11:56 AM   #6 (permalink)
New Member
 
smashin's Avatar
 
Join Date: Mar 2004
Location: Seattle
Posts: 19
36.00 NP$ (Donate)

smashin is an unknown quantity at this point


I went with iframe and its working great so far. Thanks =}
__________________
:confused:
smashin is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 12:28 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85