
gamerzfuse
Members-
Posts
116 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
gamerzfuse's Achievements

Member (2/5)
0
Reputation
-
I'm using a Wordpress theme that was supposedly custom made and modded to my liking. I have a slight CSS issue though and the developer has gone missing. I do know my CSS, but all the changes I've made have yet to work on what appears to be a CSS Padding issue. Basically, www.craighooghiem.com/test shows a nice clean page, but loaded into Internet Explorer the left-hand navigation goes screwy. If you hover over the menu a couple times, you'll note that it slips back into place on what seems like a random occurrence every couple of times. The related CSS: /**** Main Menu ****/ #sidebar ul.navlist { display: block; clear: both; margin: 0; padding: 0; list-style-type: none; width: 268px; font-size: 16px; } #sidebar ul.navlist li { display: inline; line-height: 0px;/* fix the unwanted gap between li elements in FF */ } #sidebar ul.navlist li a { display: block; height: 30px; line-height: 30px; color: white; padding: 2px 2px 2px 24px; text-decoration: none; border-top: 1px solid #2e3a15; border-bottom: 1px solid #5a6b39; } #sidebar ul.navlist a:hover { color: #d4e2ba; background-color: #718e36; border-bottom: 1px solid #2e3a15; } #sidebar ul.navlist li a.noborder, #sidebar ul.navlist li a:hover.noborder { border-bottom: none; } #sidebar ul.navlist .current_page_item a, #sidebar ul.navlist .current_page_item a:hover { background: #718e36 url(images/menu_arrow_active.jpg) no-repeat center left; margin: 0; cursor: default; color: #d4e2ba; } And Possibly: /*links*/ #sidebar ul li a {color: #FFFF99;} #sidebar ul li a:hover { color: #FFFF99; border-bottom: 1px dotted #FFFF99; } #sidebar ul li img { border: 1px solid #302723; padding: 4px; background-color: #718e36; Margin: 0; } #sidebar ul li img a { border: none;/*remove border for linked images*/ } #sidebar ul li img a:hover {border: none;} #sidebar ul li img.noborder { border: none; padding: 0; background-color: transparent; Margin: 0; margin-left: 10px; } Thanks so much!
-
To be honest, I've never worked with arrays. I'll try and adapt that though.. it certainly looks functional. All the shorthand throws me off a bit, but I'll figure it out.
-
is_bool isn't really a good fit here as it only checks whether or not the value is a boolean, not if it's true or false. Also, if the OP's type is a string, it won't generate the desired result. To the OP, what is $type, and what's stored in it? $type = Car, SUV, Van, Truck or Special Basically I have a view.php page for all the vehicles, but Special is for trailer hitches, etc. I made a modified view.php file (spview.php) that only displays relevant information to the special items. This code is going to be my way of making sure that special links go to the special view.php page. I already setup a separate link to do so if you do it from the special category, but it's very makeshift: www.goodwillsusedcars.com/inventory.php (click the special tab and it changes to spinventory.php which has ViewUrl change to ViewUrl2, but it doesn't cover the fact that these special items come up under "All" also.
-
I tried what I thought would work, but it just messed things up and I seem to be unable to fit it in this statement. <tr onMouseover="this.style.backgroundColor='lightblue';" onMouseout="this.style.backgroundColor='transparent';" onclick="document.location='<?php echo $vehicles->ViewUrl() ?>'"; Where it says "<?php echo $vehicles->ViewUrl() ?>" I need an If.. Then statement asking for the variable "type", where it will use ViewUrl if the type is NOT Special, but if the type IS special, then it will use ViewUrl2. I tried, but it's failing all my ways. I'm sure I'm missing something obvious. I'm kinda looking for a quick answer and then I'll see how its done so I can adapt it to the other 20 places I need to perform similiar functions. Thanks in Advance!
-
If we all add something, he'll be done in a matter of weeks! <?php //rest of code here echo '<h1>Car Dealership Site</h1>'; echo '<table width="650"> <tr> <td width="600">Vehicle Name</td> <td width="50">Price</td> </tr><tr> <td width="600">VEHICLE NAME HERE</td> <td width="50">PRICE HERE</td> </tr> </table>'
-
Can you tell us the more specific application of this? If you're using it for a profile for myspace, etc then it's slightly different then if you're making a brand new template for something else. Using float: right and float: left you can make them float against each other. ie: float: left and then float: left again would place two divs floating to the left, side by side if you don't put a break between them float: left and then float: right would push each to opposite sides and leave space for whatever inbetween them.
-
Probably the best way to do this would be PHP (meaning not in the HTML forums) but also post under one of the project idea forums, rather than help. But, back to the point, you will need to make a php form that allows the user to upload an image, store it on the server and link to it in the database. Then, you would have to code your images section to call images from certain categories with a line of code that calls only images under the said category. If this sounds like what you're looking for, you'll need to code it in PHP and ask for more specific PHP help.
-
It's a little plain with the text, but personally my preferences are as follows: a) Get rid of the PNC animation, it looks old. b) Background should be more professional, less gimmicky c) Get rid of that Contact link and generate yourself a PHP contact page, mailto: links only work for half the people these days. Hope that helps.
-
Thanks all. Am looking into a redesign, which is why I asked. I'll let you know if I change anything, otherwise keep the criticism coming if you have any more
-
Definitely looking into pagination.. the worst part is that it's loading the full images and just sizing them down, not creating thumbnails. It's a work in progress Looking into the fact that you didn't see them, might just be a cache issue. EDIT: Not just my machine. Checked on 3 others. First two rows load fine, then there starts to be blank <div>s with nothing in them. Odd.
-
Took your advice and used <div> items. Only problem now is that I have some entries that are.. blank? http://www.goodwillsusedcars.com/vehiclesgrid.php (lots of images to load)
-
I am attempting to make a grid view of an inventory list we have, including images and some brief text beneath them. The problem is that I can't seem to figure out how to make the table go 3-across? Currently I have: ITEM ITEM ITEM ITEM ITEM ITEM I want: ITEM ITEM ITEM ITEM ITEM ITEM I was told it required pseudo-matrix width? Not a clue and googling that was very unrewarding. Thanks!
-
[SOLVED] Font Color Based on Value from Database
gamerzfuse replied to gamerzfuse's topic in PHP Coding Help
Unfortunately that doesn't work either. I closed the font tag and changed it to #000000 Right now I am getting a display of black font for all values. -
To put things simply, I want to change the font color of a value based on the value from the database. Available = 000 Held = 000 Sold = red <?php $vehstatus = $vehicles->status->ViewAttributes(); if ($vehstatus == "Sold"){$statuscolor="red";} if ($vehstatus == "Available"){$statuscolor="000000";} if ($vehstatus == "Held"){$statuscolor="000000";} ?> <tr onMouseover="this.style.backgroundColor='lightblue';" onMouseout="this.style.backgroundColor='transparent';" onclick="document.location='<?php echo $vehicles->ViewUrl() ?>'"; > <?php if ($vehicles->status->Visible) { // status ?> <td<?php echo $vehicles->status->CellAttributes() ?>> <div<?php echo $vehicles->status->ViewAttributes() ?>><font color="<?php echo $statuscolor ?>"><?php echo $vehicles->status->ListViewValue() ?></div> </td> <?php } ?> Any help would be much appreciated, I know it's not right (the if statement part)