PDA

View Full Version : Radio Stats Design



Helpie
05-04-2007, 01:48 PM
www.habbocouncil.co.uk/radio_stats.php - How do i get this to show in the top of may layout as a marquee / www.habbocouncil.co.uk in the black bar at the top

Any help (+Rep)

Edited by Lµke (Forum Moderator): Thread Moved From Website Designing. Please post in the correct section next time, Thanks :).

Invent
05-04-2007, 01:50 PM
<marquee><? include("radio_stats.php"); ?></marquee>
Pretty simple?

Helpie
05-04-2007, 01:51 PM
<marquee><? include("radio_stats.php"); ?></marquee>
Pretty simple?
Not simple for a noob :), Thanks for your help

Invent
05-04-2007, 01:52 PM
..Np [:

timROGERS
05-04-2007, 01:52 PM
Replace the following:


<div id="djsays"><marquee behavior="alternate">
Dj Says:
</marquee>
</div>

with:


<div id="djsays"><marquee behavior="alternate">
<?php include("radio_stats.php"); ?>
</marquee>
</div>

Helpie
05-04-2007, 01:56 PM
Replace the following:


<div id="djsays"><marquee behavior="alternate">
Dj Says:
</marquee>
</div>with:


<div id="djsays"><marquee behavior="alternate">
<?php include("radio_stats.php"); ?>
</marquee>
</div>

This throws my layout out?

Invent
05-04-2007, 01:58 PM
Ah just realised. You can't use includes because it refreshes. Either use AJAX or iFrames.

Helpie
05-04-2007, 02:00 PM
Ah just realised. You can't use includes because it refreshes. Either use AJAX or iFrames.

Could you send me the code for iframe? With alll the radio in please :D

Invent
05-04-2007, 02:03 PM
<iframe src="radio_stats.php" width="98&#37;" height="16px" frameborder="0" name="stats"></iframe>


It would be better if you added the <marquee> to the actual radio_stats.php file.

Helpie
05-04-2007, 02:06 PM
<iframe src="radio_stats.php" width="98&#37;" height="16px" frameborder="0" name="stats"></iframe>
It would be better if you added the <marquee> to the actual radio_stats.php file.
Thanks ill try that now


EDIT: Ive added the iframe but is now showing the home page? shall i put the url of the radio_stats file?

:EDIT:EDIT Added the url of the file still showing home page? Any one can you help?

Helpie
05-04-2007, 02:30 PM
Cant edit sorry, But i have tried everything still don't work?

CJ-real
13-04-2007, 08:11 PM
Well if you had a marquee... then it would be included with the same design, just moving.

Instead you need to edit the PHP file, and seeing as it could be different for every single radio stats, you need to post it.

ScottDiamond
13-04-2007, 08:37 PM
You'd need the radio stats on the same line aswell, or else there would be about 4 differnet lines scrolling across the page.

phpme
16-04-2007, 03:36 AM
yeh <marquee><? include("radio_stats.php"); ?></marquee>

not workin? do <marquee><? include("http://www.yourdomain.com/radio_stats.php"); ?></marquee>

CJ-real
16-04-2007, 04:24 PM
Stop saying this. Like me and scott both mentioned, if you have a 4-line design of radio stats, it will muck up your layout as the whole thing moves across the screen.

<marquee>PHP HERE</marquee> in your radio_stats.php

Want to hide these adverts? Register an account for free!