| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| New Member | 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: |
| |
| | #2 (permalink) |
| Account Closed | 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.
Last edited by sergio965; 11-26-2004 at 06:33 PM. |
| |
| | #3 (permalink) | |
| Senior Member | Quote:
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. | |
| |
| | #4 (permalink) |
| New Member | 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: |
| |
| | #5 (permalink) |
| NamePros Regular | 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 :) |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |