-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
Try changing the function to: <script type="text/javascript"> function Display(num) { var text1 = document.getElementById('text1'); var text2 = document.getElementById('text2'); if (num == 1) { text1.style.display = "block"; text2.style.display = "none"; } else if (num == 2) { text1.style.display = "none"; text2.style.display = "block"; } } </script> Adam!
-
No problem. Seems fixed now...
-
Perhaps this is the problem: rows="163*,298*" I'm very rusty with frames but I believe it should be something more like: rows="200,*" (...200 is a rough guess as to what the size of the top frame should be) Adam
-
It's nice... though there is room for improvement. Loosing the back button is a little annoying, and so's the login failed type message pop up you have! Also are you aware at the minute posts don't seem to update in the messages box? Overall it's pretty decent! Adam
-
... Just checked it in IE7 and there's a scroll bar! IE rendering issue... I'd personally recommend not using frames!
-
Using FF3, 1280 x 1024, don't see a scroll bar. When browser window's reduced to about 800 x 600 one does appear though underneath the menu... What resolution are they using? Adam
-
Where's "CreateUserLink($code)" come from? Can you post the code from that function as well..
-
You don't have to replace it with JavaScript, simply add JavaScript validation as well. You should never rely on JavaScript as validation as it's client side and the user can simply disable it. You'd be best off reading a tutorial on this so you understand better. Millions available on Google, just the first result. Adam
-
Same here - in fact this is the most posts I've ever had on a forum. Picked up a lot when I started working my current job, and seen as I do work with PHP, I find it pretty easy to solve problems as you're already in the right mindset.
-
Why not try "Help" > "About Internet Explorer"?
-
javascript:document.getElementById(id_tb).style.display="none"; "javascript:" is for inline JavaScript. Also having the style.display = "" could be causing an error, use "block" instead. Try: function ShowHide(id_tb) { var tablebody = document.getElementById(id_tb) if (tablebody.style.display == "block"){ document.getElementById(id_tb).style.display="none"; }else{ document.getElementById(id_tb).style.display="block"; } }
-
I wasn't actually trying to find out what Neko-Network is, but more point out the fact that after a minute or so of browsing the site I still had no idea - and left without knowing, obviously never to go back. http://www.indextree.com/blog/web-design/top-ten-worst-design-mistakes.html - to be honest I'd have put frames on that list, and contrasting colours making it harder to read text.
-
If you just want the current month to be preselected, another dirty way... $months = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); foreach ($months as $key => $month) { $selected = (($key + 1) == date('n')) ? ' selected' : ''; print '<option value="'.($key + 1).'"'.$selected.'>'.$month.'</option>'; } Not tested but should work no probs!
-
It's not too bad, though I do have a few issues with it. First off it's completely JavaScript dependent. Then with JavaScript on, although the effects and pop ups may look pretty, they slow down the whole process quite considerably. There's no human validation like captcha images or email verification, so the whole thing's wide open to spamming! If you upload a file, then upload another with the same name, the old one is automatically over-written, this could cause some serious frustration! Also the links in the top right hand corner seem to vary on every page. Adam
-
..... that's what I meant.
-
Ohhh sorry, my mistake! Yeah check boxes would work. Store them in an array like: <input type="checkbox" name="cats[]" value="cat_id" /> cat_name Then for the PHP side of things, something like: foreach ($_POST['cats'] as $cat) { $insert = mysql_query("INSERT INTO CatItem (itemid, catid) VALUES('...', '{$cat}')"); } Obviously that's just a basic idea, you'll probably want to build on it, perhaps add some error handling as well?
-
Not a great deal. Page ranking doesn't take into consideration the age of a web page (as far as I'm aware).. and logically there's no reason why it would. The only way it may help is that search engines will already be regularly crawling your pages - but that's not a slow process to start with. Also when you do go live it may still be displaying web pages with "PAGE UNDER CONSTRUCTION" in the description / title that could easily put people off. Adam
-
Perhaps create a new table - "cat_products" (prod_id, cat_id), or something - with a row for each category a product belongs to? The SQL will be a bit more complex as you'll need to query multiple tables, but it's the best way. I'd advise against solutions such as separating the categories by a delimiter or creating 5 or so mostly empty fields (i.e. 'cat1', 'cat2', 'cat3', etc). Adam
-
Do you get any errors? Have you looked in the error console??
-
What exactly is the problem?? Perhaps skimming over this would get you more help in future. Adam
-
You may also want to look into any possible vulnerabilities your site has? Perhaps they are manipulating your code or even 'injecting' their own somewhere? Are your aware of XSS attacks, SQL injection, etc? Adam
-
I think he means you'd need to be certified by VISA, MC, etc - unless by clients you mean that you're selling them this software / solution of some form? I think generally you'd use a third-party company to process your card transactions to avoid this fuss, as they are already certified and can store the data securely. If you are wanting it to be done completely by yourself I imagine you're going to have to look into some kind of CGI application to connect to the banks servers / networks - I have very little clue as to how it works to be honest! Adam
-
Post your parser code..
-
Well you're obviously fairly new to web design so I'll go easy, but to be honest, it's pretty awful. What actually is neko network by the way? Use of such frames in my opinion are a big no-no! Bright blue links on a black background? Strains the eyes! The distorted animation underneath the welcome message is tacky. The HTML is broken and doesn't validate. Most links open into another window or to third-party sites/scripts - it's very unusable. Sorry but, I wouldn't stay on your site for more than a few seconds.
-
If you look in the PHP that generates your image, you should see a line similar to: header("Content-Type: image/png"); This is defining the content type as an image, half way through the file, which obviously the surrounding HTML is definitely not. You need to include the generated image externally, which you can do using the HTML <img> tag, like so: <img src="gen_img.php" alt="" /> Just place the PHP that generates the image within the "gen_img.php" file (or whatever you wish to call it). By the way this isn't a JavaScript problem... Adam