Jump to content

bpops

Members
  • Posts

    232
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bpops's Achievements

Member

Member (2/5)

0

Reputation

  1. Found another site that has one, though I think this one might be flash: https://shop.digg.com/
  2. I am interested in making a website that has a 'slideshow' akin to what you see on the main pages at http://www.gamespot.com or http://www.gog.com Essentially, it's a large div with ~5 different images that cycle. The user may also select which image to see by pressing small buttons at the bottom, or click the image to be directed to a particular page. I'm not even sure what this is called, let alone know where to find a tutorial. If anyone can direct me to a tutorial, or a free-to-use script that does this, thanks in advance!
  3. Thank you guys for the helpful replies. I'm going to take a look at the free spell-checker and online word lists tonight
  4. I'm looking for a free English dictionary that might be ready to go (or could be parsed) for entry into a MySQL database. This might be used, for example, to spell check entries on a website, or create a website like dictionary.com Thanks in advance!
  5. I'm posting this in the MySQL forums, because my guess is the cause of this lies in MySQL security, but perhaps you all can direct me to another cause. For the past several months, my site keeps getting hacked. I originally had an old PHPbb forum on it. I completely removed out of fear this was the cause. More recently, my host suspended my account saying that the mysql server was being overloaded (impossible with my small userbase). At this time, I had the latest version of phpbb. I totally removed it too out of fear this was the root. But today I'm hacked again! I know exactly what happens when I'm hacked, I get iframes put into my html code linking to known malware site, ffshrie. Now, how could someone possibly be changing my php files? Wouldn't they have to have ftp access? I have changed my password many times. Could this be done through MySQL somehow? Any help is appreciated!
  6. I hope I'm placing this topic in the right forum, but none of them seemed to apply very well to my question. I'm interested in making my site come up with all its sections and even a search tool when its the first result in Google. As an example of what I mean, Google 'Microsoft'. You'll see 8 sections listed below it, and a search bar. I had thought that this was done using site maps (http://www.sitemaps.org/protocol.php), but I've made one of these (and waited a couple of months), but it still does not work. Anyone know how to do this?
  7. Thanks, wildteen. I had played with that line-height a bit and noted changes, but I'm confused as to how the line-height of 2.5em is set exactly. If lineheight on <li> is 2.5em, and the padding on <a> is 0.5em, then wouldn't <a> be 2.0em tall? Then there's 0.5 em leftover... but then setting <li> to 2.0 makes the <a> larger than <li>. Is there a better explanation of this?
  8. Thanks for the reply dropfaith. The second margin declaration in ul#navigation is a remnant of an earlier code. Just ignore it, sorry about that. The other margin and padding lines you pointed to are not the problem as far as I can tell. The margin in ul#navigation li simply spaces the links out, and if the padding on the 'li a's can be changed to work, I don't know how to do it. If anyone else has any ideas, please let me know. It's made the more frustrating since the example site works, but I can't even get their code to work!
  9. I'm trying to create a 'simple' navigation bar similar to the at the top of the page here: http://www.monstersandcritics.com/ For some reason, however, when I attempt this, I get a padding that shows up on the top and bottom of the <a>'s. For example, and the 'selected' tab, which is white, (or above a tab when hovered over), gray is visible both at the top and bottom. http://www.b-pops.com/test/ I've tried everything I can think of, including copying the necessary code from the example site but I still get this padding issue. Any help is much appreciated. The code is below. HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Test</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <ul id="navigation"> <li><a href="">Link #1</a></li> <li><a href="">Link #2</a></li> <li><a href="">Link #3</a></li> <li class="selected"><a href="">Link #4</a></li> <li><a href="">Link #5</a></li> <li><a href="">Link #6</a></li> <li><a href="">Link #7</a></li> <li><a href="">Link #8</a></li> </ul> </div> </body> </html> CSS: html{ font-size:100%; } body { text-align: center; margin: 0 auto; margin-bottom: 10px; background: #fff; font-family: Arial, sans-serif; font-size: 0.8em; color: #3f3f3f; } a { color: #000; text-decoration: none; font-weight: bold; } a:hover{ text-decoration: underline; } img{ border: 0px; margin: 0; } #wrapper{ width: 994px; padding: 0; margin: 0 auto; position: relative; } ul#navigation{ clear: both; background: #e6e6e6; padding: 0px; margin: 20px 0 0 0; margin-bottom: 15px; border-top: 1px solid #666; list-style: none; text-align: center; font-family: Arial, sans-serif; } ul#navigation li{ display: inline; line-height: 2.5em; margin: 0 5px 0 5px; padding: 0px; } ul#navigation li a{ padding: 0.5em 1em 0.5em 1em; text-align: center; margin: 0px; font-weight: normal; color: #666; } ul#navigation li a:hover{ background: #333; color: #fff; } ul#navigation li.selected a{ background: #fff; border: 1px solid #666; border-top: 0; border-bottom: 1px solid #fff; color: #444; } ul#navigation li.selected a:hover{ background: #fff; color: #444; }
  10. Thanks neylitalo, checking it out now!
  11. Hi, I'm looking for some free to use songs for a website project of mine. Obviously I don't want to use anything copyrighted that will get me in trouble (errm.... again). Does anyone know of a site where someone offers free midi or mp3 of original compositions? Thanks!
  12. Ok, I've come up with a solution. It's a bit messy, and I have just one problem left. array_unique() will consolidate NULLS. For example, $a[] = 'one'; $a[] = ''; $a[] = 'two'; $a[] = 'two'; $a[] = ''; will result in [0] => 'one', [1] => '', [2] => 'two' when I actually want [0] => 'one', [1] => '', [2] => 'two', [3] => ''; Anyone have an idea on how to correct for this?
  13. haku, that would only work if there was only one value which was duplicated. But I want to know how many of each value is duplicated. Currently I'm working on using array_count_values() on a separate array that references the array of key's i'm interested in. I think it will end up working, it's just messy.
  14. I have a bit of a complicated problem. I have a multidimensional array such as this: $arr[0]['x'] = 'one'; $arr[0]['y'] = 'two'; $arr[0]['z'] = 'three'; $arr[1]['x'] = 'six'; ... Now, I want to take all of the $arr[..]['y'] elements that are equal and group them. I think I could use array_unique(), however I will lose the information of how many were the same. What I want to do is have one more element $arr[0]['num'] = 1; To tell me how many were with that value of 'y' to begin with. So far the only way I've come up to do this is to go through the entire array and for every element, go back to every previous element and check for a duplicate. If it is, add one to the 'num', and delete the current record. But this will be a very slow process. Hope that's not too confusing. Any ideas?
  15. Hi all, I'm a relative beginner in Flash and Papervision 3D, but So far I've been working with adding text to a plane, and then animating the plane. Everything works great so far. Now, what I want to do is have the plane fade away to completely transparent. I'm having trouble, because I can not figure out how to change the alpha of a plane (or any 3d object). Here's what I've done: - Create a text field - Create a movie clip, add the text field to the movieclip - Create a MovieMaterial, add the movieclip to it - Create the plane with the moviematerial So Now I want to tell the movie material to start fading at some point, but since It's already been added to the plane, I can't figure it out. Thanks for the help
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.