here's the url I'm referring to here:
skyflowergallery.com
The main layer is actually set at z-index: 1 and the navigation bar (top, right) is at z-index: 2. But the main layer has a Flash animation in it, which I guess layers right on top of everything. How do I get the Flash layer behind the...
Thanks to all. There are a lot of great thoughts in here and they are definitely going to be used in my workings on the site. I am doing away with the Flash navigation- i don't know what I was thinking. I'll let y'all pick the next version apart in the same way you've all done so...
instead of just $val1, use substr($val1,0,x) where x is how many characters you want to display, but do this for the actual value: <option value="<? echo $val1; ?>">
syntax: substr(string,start,length)
length is optional. for example, if you do substr("Hello World",6) it'll print out: World
never mind. my foreach statement was confusing me. it turns out that I just used a for() loop and referenced the real variable $category, instead of its alias $cat.
try assigning a pointer to your database connection:
$connection=mysql_connect("localhost","bill","pass");
mysql_select_db("products");
and then when you run your query, use the pointer:
$result=mysql_query("SELECT...",$connection);
$num_rows=mysql_num_rows($result);
etc....
you have to set up $line yourself...
example:
$result=mysql_query("SELECT * FROM sometable");
$line=mysql_fetch_array($result);
-or-
$line[]="row 1 text";
$line[]="row 2 text";
...
$line[]="row n text";
then when you hit the foreach($line as $c), the $c variable becomes the value of the...
i use this function sometimes. It allows me to embed the tag in the middle of the HTML code, rather than forcing me to do the redirection before the <head> tag:
function redirect($url,$str) { //redirects the page to $url and displays $str for 1 second.
if (isset($str)) {
echo $str...
try this code snippet: ($line must be an array)
<table>
<?
$color="#FFFFFF";
foreach ($line as $c)) {
if ($color=="#FFFFFF") { // Alternate background color for readability
$color="#CCCCCC";
} else {
$color="#FFFFFF";
}
echo "<tr bgcolor=$color>";
echo "<td>$c</td>";
echo...
my array is almost working as designed. the problem is the counter variables: $cat['piece_count'] and $cat['total_price']. They aren't incrementing appropriately, they're just sticking with their inital values... Any thoughts?
$category=array( array(
"id"=>-1,
"name"=>""...
hotfusion-
keywords- yeah. I realize a lot of things wrong with my programming. One major mistake was using dreamweaver's template feature. It created all kinds of problems (sometimes it even discarded my changes for no reason). Short of redoing the whole thing, I'm forced to use it for...
that link didn't work. But I think the site is good enough for the moment. A big change would take much time away from other things I need to do- and I can't be stressing over it.
I think I will work on the portfolio pages though. they kinda suck.
how does the home page look now? I put a...
That's been my struggle. I do great work for everyone other than myself (although, there's always room for criticism there)- from what I'm told and the feedback I get.
Anyone else have any ideas? Abandon the old site design and start afresh?
is the site design good enough to keep? or, should I try and come up with something else and re-template it (and fixing some of the under-the-hood things that have been mentioned)?
Well, I've been thinking about changing the left side navigation. Which route should I go? Make an HTML version that is similar to the flash bar- in blue; OR use the rounded rectangles like the right-hand side of the screen.
Now the misspellings, that's just embarrassing.
ok, i worked on the contact page. check out this link: contact us #2. This matches the feel of the Client Login homepage.
But what about white space? I'm trying to keep it from being cluttered, so I figured the best thing to do is to leave it blank.
conehead- to response #1, where do you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.