- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
37 Posted Topics
Re: Is it debugging at the openform stage? | |
Re: Use javascript screen.width - gives you the screen width screen.height - gives you the screen height window.resizeTo(600,600); - resizes the window I hope that was quick enough for your needs, however this info took me 2 minutes to find using google. | |
Re: Set up a query, then in your report set the data to the query not the table. | |
Re: I think i just answered this in the post above this one, but just in case. [CODE] url=url+"?q="+str; url=url+"&q2="+str2; url=url+"&sid="+Math.random(); [/CODE] However, I would highly recommend you learn jQuery. You'll find ajax requests so much easier. | |
Re: Try [CODE] var comment = jQuery('textarea[name=reply_desc]').html(); alert(comment.val()); [/CODE] | |
Hi guys I'm making a golf handicap calculator, you have a couple of columns, for each hole - par, score, difference and adjusted difference. I need to total up each column, and this is my code to do it. It works but feels inefficient and clunky. Any thoughts on improving … | |
Re: You need to learn ajax. Instead of the submit button, submitting the form via the action the submit button calls a function. That function can have an ajax call in it to do the job of submitting the form, but that same function could do a host of other things, … | |
Re: How are you calling function update? | |
Re: I was in your position a while ago. This website has been a brilliant resource for helping me learn common or good practices for website building. HTHs [URL="http://sixrevisions.com/"]http://sixrevisions.com/[/URL] | |
Re: Could you post up your current code? Ajax stands for asynchronous javascript and XML, it's used for getting data from a page onto the current page. For what you want to do standard javascript or jquery should work no problem. | |
Re: I may have misunderstood your needs but i think this is what you are after. Wrap your html in a container div give it an id of container or something helpful. In CSS specify its height and overflow:hidden. That way if any element go below the height of the div … | |
Hi, I've got a "contact us" form on my website and naturally i'm trying to guard against sql injection/hacking The body of the text gets run through the below function, however this means i end up with How's it going = How's it going Can someone tell me which part … | |
Re: Looks a little like jquery or some other Javascript library is being used. Libraries like jquery make javascript so much easier to use. Instead of writing getElementById("createuserprofilecheckbox") in jquery you'd write $("#createuserprofilecheckbox") I'm guessing the above function may have been written for a different library, personally i'm only familiary with … | |
Hi all, I dabble in a bit of XNA from time to time. I'm creating a 2d top down tank game. My AI bot that controls the enemy tank, works like this simple pathfinding to target until in range, turn turret to target and fire. The problem I have is, … | |
Re: 1)Make button on form 2)Right click button - choose properties 3)In the properties box choose format 4)Find the box entitled hyperlink address 5)Insert web address Button will now link to the specified website. | |
Re: I usually find that when I float a load of images or list items, the containing div or list needs to have overflow:hidden added to the CSS. Floating disrupts the natural flow of the document, adding overflow hidden to the container allows the document to re-flow after you've disrupted it. … | |
Re: Try adding this to the start of your css [CODE]*{padding:0;margin:0;}[/CODE] Might help, if not post back Also this is a great tutorial on how to make rollover images appear. [URL="http://meyerweb.com/eric/css/edge/popups/demo.html"]http://meyerweb.com/eric/css/edge/popups/demo.html[/URL] | |
Re: Doesn't sound healthy does it? Can you whip the hard drive out and connect it to another computer. Then run chkdsk from that computer? That's how I found out my hard drive was snafu'd | |
Re: What sort of file are you deleting? | |
Re: I could be wrong as my php is not that strong, but your echo statement looks incorrect try <?php echo($price); ?> Also are you setting the value of $price? i.e. you're not sending a null value are you? | |
Re: i think the problem is you've saved your code in an html file. As it's php code, you need to save it as a php file not html. include('modules/forms/edit_user.php'); | |
Re: You use an id in to refer to one element and one element only, to refer to it in CSS you use # e.g. #leftcol{width:30%;} Class can refer to a bunch of elements, in CSS you refer to a class with . e.g. .evenRows{background:#ababab;} Webpages don't really have a defined … | |
Re: Different browsers have different defaults for margin and padding. I always start my css by defaulting all margins and padding to 0. [CODE]*{padding:0; margin:0;}[/CODE] Some people would shoot me for that and say you need to specify all the elements you are using like this [CODE]body,h1,h2,div etc etc{padding:0; margin:0;}[/CODE] So … | |
Re: Does your page members.php have some code that checks the session variable is set? If so can you post that code? | |
Re: There is no CSS solution to this problem Your answer lies in javascript This site should help you out [URL="http://css-tricks.com/select-cuts-off-options-in-ie-fix/"]http://css-tricks.com/select-cuts-off-options-in-ie-fix/[/URL] | |
Re: Unfortunately, textarea doesn't support maxlength. You can use javascript to limit the length Are you familiar with jQuery? | |
Re: When using jQuery for ajax I write something like this [CODE] $.post(url,{params},function(data){ $("#content").html(data); }); [/CODE] Give it a try, see how you get on. | |
Re: [CODE]url=url+"?q="+str; url=url+"&anothervariable"+var1; url=url+"&andanothervariable"+var2; url=url+"&sid="+Math.random();[/CODE] A bit like that. ? means you're going to start adding variable, then you use & to seperate them. | |
Re: [CODE]<select name="optone" size="1" multiple="mulitple" onchange="setOptions(document.myform.optone.options [document.myform.optone.selectedIndex].value);"> [/CODE] I've added multiple="multiple" to your code for the select box. This will allow you to use hold ctrl and select more than one option. However I'm not sure if the rest of your code is set up to handle this. Give it a … | |
Hi all, here' the code [CODE] $(document).ready(function(){ $("ul li ul").hide(); $("li:has(ul)").click(function(){ $this = $(this); if ($this.siblings().find('ul:visible').size()!=0) { $this.siblings().find('ul:visible').slideUp(1000, function(){ $this.find('ul:hidden').slideDown(500); }); } else { $this.find('ul:hidden').slideDown(500); } }); $("li:has(ul:hidden)").mousedown(function(){ $(this).css("background-color","#869094"); }).mouseup(function(){ $(this).css("background-color","#7793ae"); }); $("li > ul > li").mousedown(function(){ $(this).css("background-color","#a5ccef"); }).mouseup(function(){ $(this).css("background-color","#d9ebf1"); }); }); [/CODE] The problem is the li:has(ul:hidden) part - … | |
Re: Not sure about incorporating Dreamweaver, but when I started learning PHP I found [url]www.tizag.com[/url] invaluable. Also [url]www.w3schools.com[/url] is a great source for any web dev | |
![]() | Re: I think what you want to trim goes inside the brackets so something like trim(tableName.rows[1].cells....) |
Re: Are you trying to enter your CSS in the same page or an external page and then link to it? | |
Re: I doubt either would make a noticeable difference. Is your version of Vista 64bit? If not then IMO 3GB is ample. I upgraded from 2GB Kingston (apparently cheap) to 4GB Crucial Ballistix. There is a slight difference in games (Mostly GTA), but boot up time and general usage no improvement. … | |
Please help, I have copied some code to connect to a MSAccess database. However when I try to run it I get a Security Exception message. Weird thing is, in the IDE I can use database explorer to find, open and test the connection to the database. The database is … |
The End.