johnathanamber

johnathanamber

Real Name: Johnathan Morlock

Oklahoma (United States)
Information Technology

Latest Contributions

  • CSS: min and max Width

    Hey everyone,

    I've really enjoyed posting here... so I figured I would post some more...

    I've got a template that I am working on.

    I am trying to give the center content a variable width based on the other objects around it.

    For instance I have a left, center and right columns.

    I want the center column to expand based on whether the left or right columns are enabled.

    But as it seems, when I change the max-width to something higher than what is available... then the object moves beneath the left and right columns. Or at least something to that same effect.

    Any ideas?

  • ZIP Radius Search sortation issue

    Hey everyone,

    So I've worked on getting a ZIP Radius Search working for one of my sites.

    BTW, the solution I've found came from (Thanks Doug Vanderweide)(BTW if you use this, please get Doug something on his Amazon Wish List.):
    http://www.dougv.com/blog/2009...

    Anyway, I've also downloaded the SQL from another site (actually he just notes it in this article):
    http://www.goondocks.com/blog/...

    So here is my code:

    <?php ?>
    <html>
    <head>

  • Can't figure out why things are valigned middle

    Hey everyone,

    I'm working on an auction site:
    harvestauction.com

    I am using Joomla 1.5.12.

    I've redesigned the template from the ground up and it is working great... except for the modules and content is showing up like it is valign="middle", except I didn't tell it to.

    Here is my default HTML for the template:

    <?php 
    defined('_JEXEC') or die;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  • Very Basic Search Engine

    Hey everyone,

    OK so I want a search engine. I've already created and used a PHP/MySQL search engine that works great.

    But I am not using MySQL in this case.

    I have a ton of HTML files in a folder that I want to search through.

    So, what would be the best way, least overhead as long as the quickest solution, to search 1000's of HTML files via a simple HTML form using PHP?

    God bless,
    Johnathan

  • Creating an XSPF playlist automatically

    Hey everyone,

    OK so as the topic suggests... I am working on automatically creating an XSPF playlist for an open source player.

    This is what I have thus far:

    index.htm

    <html>
    <head>
    <title>Click to launch the MP3 player</title>
    </head>
    <body>
    Press the button to launch the MP3 Player.<br />
    The player will scan the 'mp3' folder and sub-folders for MP3s to auto-create a playlist.
    <form name="create_playlist" method="post" action="playlist.php">
    <input type="submit" value="Create Playlist" />
    </form>
    </body>
    </html>

    playlist.php

    <?php