[Help] Simple Coding

Status
Not open for further replies.

HotelCrazy

Member
Jan 14, 2011
86
6
Hey.

Can some help me code this in?
I'm trying to code a dj says into this black bar.

(Kinda a transparent background in the code.)

Thanks!

Screenies below! (To know what I'm talking about)

198n7k.jpg
The code for this is below:

HTML:
<div class="maincol">
    <div class="header">
      <div class="headertext1">Welcome..</div>
  </div>
    <div class="text">
      <p><iframe id="here" src="_pages/main.html" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe></p>
    </div>
</div>

Thanks if you helped :)

Hey.

Can some help me code this in?
I'm trying to code a dj says into this black bar.

(Kinda a transparent background in the code.)

Thanks!

Screenies below! (To know what I'm talking about)

198n7k.jpg
The code for this is below:

HTML:
<div class="maincol">
    <div class="header">
      <div class="headertext1">Welcome..</div>
  </div>
    <div class="text">
      <p><iframe id="here" src="_pages/main.html" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe></p>
    </div>
</div>

Thanks if you helped :)

Forgot to put in the link to DJ says,

If anyone could do it, Id be so thankful :)
 

Kristopher

Photographer
Dec 25, 2010
803
68
<?php include( "panel/_frontend/djSays.php" ); ?> Where it says welcome or after


Here:

<div class="maincol">
<div class="header">
<div class="headertext1"><?php include( "panel/_frontend/djSays.php" ); ?></div>

</div>
<div class="text">
<p><iframe id="here" src="_pages/main.html" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe></p>
</div>
</div>
 

Macheath

Member
Jul 17, 2011
77
39
If you're getting the DJ says from a database:
- Query database
- Set the string as a variable
- Call the variable using: echo $djsays;

If you're not then do the same thing, but without querying it, heck you probably don't even need the include.
 
Status
Not open for further replies.

Users who are viewing this thread

Top